Symptoms:
The limit for the number of backups to retain can be checked on the following screen:
2025/01/01 00:01 <DIR> S_8.0.3.00000_20250101-000113_
2025/01/02 00:01 <DIR> S_8.0.3.00000_20250102-000116_
2025/01/03 00:01 <DIR> S_8.0.3.00000_20250103-000111_
2025/01/04 00:01 <DIR> S_8.0.3.00000_20250104-000111_
2025/01/05 00:01 <DIR> S_8.0.3.00000_20250105-000114_
...
The command results may vary depending on your configuration, version, and other factors.
YYYY-MM-DDTHH:mm:SS.sss [0] [MainProcess:PID-####] [Scheduler::ExecArchiveList:Scheduler.py:119] ERROR: Failed to issue the Archive.list request. Exception: {messages : [LocalizableMessage(id='vapi.method.invoke.exception', default_message="Error in method invocation 'UnboundLocalError' object has no attribute 'errcode'", args=["'UnboundLocalError' object has no attribute 'errcode'"], params=None, localized=None)], data : None, error_type : INTERNAL_SERVER_ERROR}
VMware vCenter Server 7.x
VMware vCenter Server 8.x
The FTP Server contains non-ASCII characters in the backup directory.
The backup deletion job retrieves a list of directories on the remote server to find old backups. If this list includes file names or directories that can not be decoded with UTF-8, the deletion job may fail with an UnboundLocalError.
There are two possible workarounds:
Option 1: Remove the file or directory that contains non-ASCII characters in its name.
Option 2: Change the backup directory to one that does not contain any files or directories with non-ASCII characters.
Backup deletion is executed daily by cron at 12:00 AM (midnight). After performing either Option 1 or Option 2, please wait until cron runs and verify whether the old backup directories have been successfully deleted.
This article addresses the issue of backup deletion failure; however, you may also encounter an issue where backups cannot be created successfully. For details on backup failure, please refer to vCenter Server's file based backup to FTP server failed due to "Internal error. See logs for details. https://***/appliance/support-bundle".