There was an error creating BackupUnable to create backup: A failure occurred while creating the backup on the primary
/opt/vmware/appliance/bin/create-backup.sh, the operation fails with the following error:"Another Backup Creation is in Progress. Please retry later"
VMware Cloud Director 10.x
This error happens when a previous backup failed or got stuck, leaving the backup.lock file in the /tmp directory. Because this file wasn't automatically removed, it now prevents new backups from initializing.
1. Take non-memory snapshot of all the VCD cells from vCenter.
2. Navigate to the /tmp directory:
cd /tmp
3. Verify the presence of the lock file using the below command:
ls -l backup.lock
4. Remove the stale lock file using the below command:
rm -rf backup.lock
3. Reinitiate the VCD backup from the VAMI page by following the steps mentioned in Backup of VCD DB.
Reference articles which cover similar backup failure issues:
Japanese Version: VMware Cloud Director アプライアンスからバックアップを作成中に Error:"There was an error creating Backup, Unable to create backup"が発生する