VMware Cloud Community
jward256
Contributor
Contributor

vCenter 7 Backup Fail

I have been battling an issue with backups for a couple weeks now. Backups run, some files get uploaded to the ftp server, then the backup fails. Backups had been running fine and suddenly stopped. I have not been able to identify a change that coincides with the failures.

Backups had been running to an sftp server. Yesterday I installed the 7.0.2 update to vCenter, dumped the original backup folder, and changed the backup method to ftp to simplify things. What appears to be the key line in the backup.log file is:

[Proc::UpdateExceptionStatus:Proc.py:383] ERROR: Full backup not allowed during VM snapshot. 

Looking at VCDB.py it would appear that the script thinks that there is an active snapshot on vCenter. I have confirmed that there is not a snapshot. 

Ideas?

 

6 Replies
CLS78
Contributor
Contributor

The same issue is happening in 1 of my environments since 25 March 2021.  I'm using NFS protocol for the VAMI scheduled backup.  The vCSA version is 7.0.1.0300 build number 17491101 (update 1d).

The error message in the backup.log is:

"Error: Encounter error during backup VCDB....File "/usr/lib/applmgmt/backup_restore/py/vmware/appliance/backup_restore/components/VCDB.py, line 1937, BackupVCDB raise Exception('Full backup not allowed during VM snapshot')"

I have confirmed there is no snapshot either.  

However, I have another vSphere environment with same version/build number and same VAMI scheduled backup settings that is running with no issues.

Ideas?

Reply
0 Kudos
CLS78
Contributor
Contributor

Here was the fix action for the issue:

Please check whether the snapshot marker file exists, and if so, rename it. This can sometimes be left on the system in case of backup failure.

# mv /etc/vmware/backupMarker.txt /etc/vmware/backupMarker.txt-BAK

The file was empty on my vCSA so I removed it.

 

jward256
Contributor
Contributor

Thank you so much, that did it!

Reply
0 Kudos
GuiMendonca
Contributor
Contributor

You are a life saver! Thanks a lot!

Reply
0 Kudos
anyMOTION
Contributor
Contributor

IT WORKED!!

THANK YOU ❤️

Reply
0 Kudos
Sitz
Contributor
Contributor

This works for me too!

Thank you so much.

Reply
0 Kudos