File-based backups performed via the vCenter Server Appliance Management Interface (VAMI) fail at approximately 15%.
The following error is observed in the /var/log/vmware/applmgmt/backup.log file:
YYYY-MM-DDT HH:MM:SS [ComponentScriptsBackup:PID-######] [Log::run:Log.py:64] ERROR: msg = 'A general system error occurred: mkdir /storage/lifecycle/vmware-wcp/backup/archives/.########-####-####-####-############: permission denied'
YYYY-MM-DDT HH:MM:SS [ComponentScriptsBackup:PID-######] [Log::run:Log.py:64] ERROR: reason = 'mkdir /storage/lifecycle/vmware-wcp/backup/archives/.########-####-####-####-############: permission denied'
vCenter Server 9.x
The issue occurs because the account used for the backup process (e.g., <USER NAME>) does not have write permissions on the directory /storage/lifecycle/vmware-wcp/backup/archives. When the Workload Control Plane (WCP) backup script attempts to create a temporary subdirectory for archiving, the operation is denied by the filesystem.
Please follow the below steps to resolve the issue:
root account.ls -ld /storage/lifecycle/vmware-wcp/backup/archiveschmod o+w /storage/lifecycle/vmware-wcp/backup/archivesEnsure that permission changes align with the organizational security policy. This directory is used locally by the appliance to stage WCP component data before it is streamed to the remote backup target.