How to change the transport mode for VMware backups and restores
Overview
The default VMware backup and restore transport mode is HOTADD. This article describes how to change the transport mode when there are environmental changes
Procedure
- Change transport mode to NBD from HOTADD
- Log in to the VMWARE Backup proxy with default username root and password.
- Ensure there are no jobs running.
- Stop the Phoenix Agent service on the backup proxy using the command:
/etc/init.d/Phoenix stop
- Verify if any Phoenix processes are still running.
ps -ef | grep -i Phoenix
- If any process is still found running, kill the process with the following command:
Kill -9 <process id>
- Goto to the below path
cd /etc/Phoenix/VMWARE
- Edit Phoenix.cfg file using vi editor using below command:
vi Phoenix.cfg
Type ‘ i ‘ to activate insert mode
Add the following lines to the configuration file:
#For Backup
_VM_BACKUP_TRANSPORT_MODE = 'nbdssl:nbd'
#For Restore
_VM_RESTORE_TRANSPORT_MODE = 'nbdssl:nbd'
Type esc key followed by :wq to save and exit file. - Verify if above lines has added using below command
cat Phoenix.cfg
- Start the Phoenix Agent service on the backup proxy as follows:
/etc/init.d/Phoenix start
- Trigger the backup or restore
- Change transport mode to HOTADD from NBD
- Log in to the VMWARE Backup proxy with default username root and password.
- Ensure there are no jobs running.
- Stop the Phoenix Agent service on the backup proxy using the command:
/etc/init.d/Phoenix stop
- Verify if any Phoenix processes are still running.
ps -ef | grep -i Phoenix
- If any process is still found running, kill the process with the following command:
Kill -9 <process id>
- Goto to the below path
cd /etc/Phoenix/VMWARE
- Edit Phoenix.cfg file using vi editor using below command:
vi Phoenix.cfg
Type ‘ i ‘ to activate insert mode
Remove the below lines from configuration file:
#For Backup
_VM_BACKUP_TRANSPORT_MODE = 'nbdssl:nbd'
#For Restore
_VM_RESTORE_TRANSPORT_MODE = 'nbdssl:nbd'
Type esc key followed by :wq to save and exit file. - Verify if above lines has added using below command
cat Phoenix.cfg
- Start the Phoenix Agent service on the backup proxy as follows:
/etc/init.d/Phoenix start
- Trigger the backup or restore