If SDDC Manager is upgraded from 5.x to 9.0.x, restoring from file-based backup fails, because the restore-configuration.sh scripts attempts to recover the feature.properties file from a relative path, rather than the absolute path.
The following error appears in /var/log/vmware/vcf/sddc-support.log:
2025-09-08T09:04:17.227+0000 INFO [vcf_sos] [commandutils.py::execute_cmd_locally::228::restore-f3d9dd76-b690-48d9-9a08-279535a73770] b'Restoring file /home/vcf/feature.properties\n'2025-09-08T09:04:17.236+0000 INFO [vcf_sos] [commandutils.py::execute_cmd_locally::228::restore-f3d9dd76-b690-48d9-9a08-279535a73770] b'sending incremental file list\n'2025-09-08T09:04:17.358+0000 INFO [vcf_sos] [commandutils.py::execute_cmd_locally::228::restore-f3d9dd76-b690-48d9-9a08-279535a73770] b'\n'2025-09-08T09:04:17.359+0000 INFO [vcf_sos] [commandutils.py::execute_cmd_locally::228::restore-f3d9dd76-b690-48d9-9a08-279535a73770] b'sent 19 bytes received 12 bytes 62.00 bytes/sec\n'2025-09-08T09:04:17.359+0000 INFO [vcf_sos] [commandutils.py::execute_cmd_locally::228::restore-f3d9dd76-b690-48d9-9a08-279535a73770] b'total size is 0 speedup is 0.00\n'2025-09-08T09:04:17.362+0000 ERROR [vcf_sos] [commandutils.py::execute_cmd_locally::235::restore-f3d9dd76-b690-48d9-9a08-279535a73770] b'rsync: [sender] change_dir "/var/log/vmware/vcf/sddc-support/backup-2025-09-08-09-03-12-5816/vcf-backup-####-#######-########-######-2025-09-08-08-34-17/configuration/home/vcf" failed: No such file or directory (2)\n'
SDDC-Manager 9.0.x
Workaround:
sed -i.bak -e 's|\[ ! -e "\$file" \]|[ ! -e "$base_directory$file" ]|' -e 's|\[ ! -d "\$dir" \]|[ ! -d "$base_directory$dir" ]|' /opt/vmware/sddc-support/scripts/restore-configuration.shPR# 3578906