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/vcf-sos.log:
INFO [vcf_sos] [commandutils.py::execute_cmd_locally::228::restore-f3d9####-####-####-####-########3770] b'Restoring file /home/vcf/feature.properties\n'
INFO [vcf_sos] [commandutils.py::execute_cmd_locally::228::restore-f3d9####-####-####-####-########3770] b'sending incremental file list\n'
INFO [vcf_sos] [commandutils.py::execute_cmd_locally::228::restore-f3d9####-####-####-####-########3770] b'\n'
INFO [vcf_sos] [commandutils.py::execute_cmd_locally::228::restore-f3d9####-####-####-####-########3770] b'sent 19 bytes received 12 bytes 62.00 bytes/sec\n'
INFO [vcf_sos] [commandutils.py::execute_cmd_locally::228::restore-f3d9####-####-####-####-########3770] b'total size is 0 speedup is 0.00\n'
ERROR [vcf_sos] [commandutils.py::execute_cmd_locally::235::restore-f3d9####-####-####-####-########3770] b'rsync: [sender] change_dir "/var/log/vmware/vcf/sddc-support/backup-yyyy-mm-dd-09-03-12-5816/vcf-backup-####-#######-########-######-yyyy-mm-dd-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.sh