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 Agent service on the backup proxy using the command:
service Phoenix stop
(For VMware backup proxy version prior to 7.0.0)
service Druva-EnterpriseWorkloads stop
(For VMware backup proxy version 7.0.0 and later) - 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
(For VMware backup proxy version prior to 7.0.0)
cd /etc/Druva/EnterpriseWorkloads/vmware
(For VMware backup proxy version 7.0.0 and later) - Edit Phoenix.cfg file using vi editor using below command:
vi Phoenix.cfg
(For VMware backup proxy version prior to 7.0.0)vi VMwareConfig.yaml
(For VMware backup proxy version 7.0.0 and later)
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
(For VMware backup proxy version prior to 7.0.0)
cat VMwareConfig.yaml
(For VMware backup proxy version 7.0.0 and later) - Start the Agent service on the backup proxy as follows:
service Phoenix start
(For VMware backup proxy version prior to 7.0.0)
service Druva-EnterpriseWorkloads start
(For VMware backup proxy version 7.0.0 and later) - 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 Agent service on the backup proxy using the command:
service Phoenix stop
(For VMware backup proxy version prior to 7.0.0)
service Druva-EnterpriseWorkloads stop
(For VMware backup proxy version 7.0.0 and later) - 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
(For VMware backup proxy version prior to 7.0.0)
cd /etc/Druva/EnterpriseWorkloads/vmware
(For VMware backup proxy version 7.0.0 and later) - Edit Phoenix.cfg file using vi editor using below command:
vi Phoenix.cfg
(For VMware backup proxy version prior to 7.0.0)vi VMwareConfig.yaml
(For VMware backup proxy version 7.0.0 and later)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
(For VMware backup proxy version prior to 7.0.0)
cat VMwareConfig.yaml
(For VMware backup proxy version 7.0.0 and later) - Start the Agent service on the backup proxy as follows:
service Phoenix start
(For VMware backup proxy version prior to 7.0.0)
service Druva-EnterpriseWorkloads start
(For VMware backup proxy version 7.0.0 and later) - Trigger the backup or restore