Sjuul
Contributor
Contributor

VCSA backup to IIS HTTPS failing

Hi all,

Create a WebDAV target on IIS 10 (Windows 2016) to receive back-ups. When running over HTTPS, back-ups are starting, but are failing at about the 1GB marker (somewhere in the range of 950 to 1,2GB).
Backups via HTTP are working fine though.

Below an excerpt of the vCenter backup.log file at the moment it's failing:

2022-01-03T10:43:40.413 [VCDBBackup:PID-48818] INFO: Finishing full database backup
2022-01-03T10:43:40.414 [VCDBBackup:PID-48818] INFO: Retrieving postgres server listening port
2022-01-03T10:43:40.414 [VCDBBackup:PID-48818] INFO: Executing command: netstat -plnt.
2022-01-03T10:43:40.549 [VCDBBackup:PID-48818] INFO: Canceling running pg_start_backup() process.
2022-01-03T10:43:40.551 [VCDBBackup:PID-48818] INFO: Executing command: ['/opt/vmware/vpostgres/current/bin/psql', '-U', 'postgres', '-p', '5432', '-At', '-c', "SELECT pg_cancel_backend(pid) FROM pg_stat_activity WHERE pid <> pg_backend_pid() and query ~ '^select\\ pg_xlogfile_name\\(pg_start_backup\\(.*\\)\\)\\;' "].
2022-01-03T10:43:40.629 [VCDBBackup:PID-48818] INFO: No pg_start_backup() process is running.
2022-01-03T10:43:40.631 [VCDBBackup:PID-48818] INFO: Checking whether Postgres online backup still in progress
2022-01-03T10:43:40.632 [VCDBBackup:PID-48818] INFO: Executing command: /opt/vmware/vpostgres/current/bin/psql -U postgres -p 5432 -t -c "select pg_is_in_backup();".
2022-01-03T10:43:40.726 [VCDBBackup:PID-48818] INFO: Postgres on-line backup already finished. Skip stopping backup operation
2022-01-03T10:43:40.728 [VCDBBackup:PID-48818] INFO: Successfully cleaned up for VCDB backup.
2022-01-03T10:43:58.295 [StatsMonitorDBBackup:PID-48819] INFO: Completed backup appliance stats monitor SQLite DB.
2022-01-03T10:44:09.19 [ConfigFilesBackup:PID-48825] ERROR: rc: 2, stderr: /usr/bin/tar: etc/krb5.lotus.conf: Warning: Cannot stat: No such file or directory
/usr/bin/tar: etc/vmware-vcha/vmware-vmon.service.bak: Warning: Cannot stat: No such file or directory
/usr/bin/tar: etc/vmware-vsan-health/silent.json: Warning: Cannot stat: No such file or directory
/usr/bin/tar: etc/vmware-vsm/logging.properties: Warning: Cannot stat: No such file or directory
/usr/bin/tar: etc/vmware-vsm/wrapper/wrapper.conf: Warning: Cannot stat: No such file or directory
/usr/bin/tar: etc/vmware/appliance/firewall.conf: Warning: Cannot stat: No such file or directory
/usr/bin/tar: etc/vmware/appliance/firewall/ccm-firewall.conf: Warning: Cannot stat: No such file or directory
/usr/bin/tar: -: Wrote only 2048 of 10240 bytes
/usr/bin/tar: Error is not recoverable: exiting now

2022-01-03T10:44:09.20 [ConfigFilesBackup:PID-48825] INFO: Skip to report the error.
2022-01-03T10:44:09.21 [ConfigFilesBackup:PID-48825] ERROR: Process returncode is 2, but expected exit codes are [0].
2022-01-03T10:44:09.21 [ConfigFilesBackup:PID-48825] ERROR: rc: 1, stderr: Traceback (most recent call last):
File "/usr/lib/applmgmt/backup_restore/py/vmware/appliance/backup_restore/plugins/../util/Calculate.py", line 60, in <module>
main(sys.argv[1], sys.argv[2], sys.argv[3])
File "/usr/lib/applmgmt/backup_restore/py/vmware/appliance/backup_restore/plugins/../util/Calculate.py", line 47, in main
stdout_obj.write(data)
BrokenPipeError: [Errno 32] Broken pipe

2022-01-03T10:44:09.21 [ConfigFilesBackup:PID-48825] INFO: Skip to report the error.
2022-01-03T10:44:09.22 [ConfigFilesBackup:PID-48825] ERROR: Process returncode is 1, but expected exit codes are [0].

Already tried the following:

The IIS log does not show any errors (e.g. 404/405's etc.) related to this issue.

Anyone's got any idea's on how to resolve this?

Regards,
Martien

0 Kudos
1 Reply
scalhoonapfc
Contributor
Contributor

I used the referenced article in your post to setup IIS for HTTPS backups from VCSA. Everything was going fine until we upgraded to 7.0.3e. I was having the same issue you were and setting the IIS configuration option 'enableNagling' = True fixed the issue for me.

0 Kudos