To restore a backup:
- Download the vCenter ISO file with the same build as the backup.
- Start the installer and complete Stage 1
- Connect to the vCenter Server Appliance with an SSH session. If SSH is disabled, log into the VAMI/5480 page and enable it under the "Access" submenu.
- Run this command:
restore.job.create --locationType SMB_or_NFS --location LOCATION_of_BACKUP --locationUser USER –-locationPassword
For NFS, use syntax like the following:
restore.job.create --locationType NFS --location <NFS IP or Host Name>/share/vchost/vCenter/sn_vcenter.example.com/S_6.7.0.32000_20190821-055908_ --locationUser nfsuser --locationPassword
Replace "sn_vcenter.doman.com" with your vCenter's FQDN and "nfsuser" with your appropriate NFS username.
- Enter the admin password for the SMB or NFS location where the backup file is located:
Example Output:
Enter locationPassword:
Response:
Messages:
1:
Restore job started.
Progress: 0
State: INPROGRESS
- The status can be verified with the restore.job.get command.
- Log into the VAMI/5480 page once more to confirm the fix and remediate if the restored vCenter is in linked mode with another.