To work around this issue when you do not want to upgrade, replace these vCenter Server files:
vpxdRestore.py vpxdRestart.pycis-config.pyvCenter Server for Windows
To replace these files on vCenter Server for Windows:
- Download the 2143799-Backup_Restore.zip file attached to this article.
- Extract these files to the vCenter Server:
vpxdRestore.py
vpxdRestart.py
cis-config.py - Back up the current cis-config.py file on the vCenter Server in this directory:
C:\Program Files\VMware\vCenter Server\bin\
- Copy these files vpxdRestore.py , vpxdRestart.py and cis-config.py to the appropriate directories below:
Copy vpxdRestart.py into C:\Program Files\VMware\vCenter Server\visl-integration\usr\sbin\vpxdRestart.py
Copy vpxdRestore.py into C:\Program Files\VMware\vCenter Server\python-modules\vpxdRestore.py
Copy cis-config.py into C:\Program Files\VMware\vCenter Server\bin\cis-config.py
- Backup the vCenter Server.
Note: VMware recommends not to perform any Fault Tolerance operation for any virtual machine managed by the vCenter Server during the backup window. After the restore, turn on FT on any virtual machine, which had FT enabled earlier.
vCenter Server Appliance:
Replace the following files on the vCenter Server Appliance:
- Download the 2143799-Backup_Restore.zip file attached to this article.
- Extract these files for the to your workstation:
vpxdRestore.py
vpxdRestart.py
restore-script
- Connect to the vCenter Server Applaince using an SSH session.
- Provide the root user name and password when prompted.
- Run this command to enable the Bash shell:
shell.set --enable True
- Run this command to access the Bash shell:
shell
- Backup the current restore-script file stored in the vCenter Server Appliance using the below command:
mv /usr/sbin/restore-script /usr/sbin/restore-script.bkp
- Using an SCP client, upload the vpxdRestore.py , vpxdRestart.py and restore-script files to the this directory:
/usr/sbin
- Run these commands to change permissions on the files:
chmod 755 /usr/sbin/vpxdRestore.py
chmod 755 /usr/sbin/vpxdRestart.py
chmod 755 /usr/sbin/restore-script
- Backupthe vCenter Server
Note: VMware recommends not to perform any Fault Tolerance operation for any virtual machine managed by the vCenter Server during the backup window. After the restore, turn on FT on any virtual machine, which had FT enabled earlier.