File-based backup with FTP protocol fails with error "Failed to dispatch full database files"
search cancel

File-based backup with FTP protocol fails with error "Failed to dispatch full database files"

book

Article ID: 435604

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

A file-based backup with FTP protocol fails.

In the /var/log/vmware/applmgmt/backup.log file, you see errors similar to the following:

[VCDBBackup:PID-#####] [Proc::GetProcsStatus:Proc.py:327] ERROR: rc: 2, stderr: /usr/bin/tar: -: Cannot write: Broken pipe
/usr/bin/tar: Error is not recoverable: exiting now

[VCDBBackup:PID-#####] [Proc::GetProcsStatus:Proc.py:332] INFO: Skip to report the error.
[VCDBBackup:PID-#####] [Proc::GetProcsStatus:Proc.py:345] ERROR: Process returncode is 2, but expected exit codes are [0, 1].
[VCDBBackup:PID-#####] [Proc::GetProcsStatus:Proc.py:327] 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 59, 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 46, in main
    stdout_obj.write(data)
BrokenPipeError: [Errno 32] Broken pipe

[VCDBBackup:PID-#####] [Proc::GetProcsStatus:Proc.py:332] INFO: Skip to report the error.
[VCDBBackup:PID-#####] [Proc::GetProcsStatus:Proc.py:345] ERROR: Process returncode is 1, but expected exit codes are [0].
[VCDBBackup:PID-#####] [Proc::GetProcsStatus:Proc.py:361] ERROR: rc: 55, stderr: b'curl: (55) Send failure: Connection reset by peer\n'
[VCDBBackup:PID-#####] [Proc::UpdateExceptionStatus:Proc.py:383] ERROR: Checksum not generated at /dev/shm/backupRestoreSumFile-########-######-########-########
[VCDBBackup:PID-#####] [VCDB::BackupVCDB:VCDB.py:2054] ERROR: Failed to backup VCDB.
Traceback (most recent call last):
  File "/usr/lib/applmgmt/backup_restore/py/vmware/appliance/backup_restore/components/VCDB.py", line 1999, in BackupVCDB
    args.dispatch, full_db_file)
  File "/usr/lib/applmgmt/backup_restore/py/vmware/appliance/backup_restore/components/VCDB.py", line 1258, in _full_database_backup
    status)
util.Common.BackupRestoreError: Failed to dispatch full database files.
Underlying process status. rc: 55
stdout:
stderr: b'curl: (55) Send failure: Connection reset by peer\n'

 

 

Environment

VMware vCenter Server 7.0
VMware vCenter Server 8.0
VMware vCenter Server 9.0

Cause

Broken Pipe and Connection reset by peer mean the target FTP server has terminated the session. The loss of connection is causing this issue.

Resolution

Investigate why the connection was terminated on the FTP server side. It may be due to insufficient disk space.

Additional Information

vCenter Server Appliance File-Based Backup fails with "Broken pipe" and "No space left on device" errors