Skip to main content
All CollectionsKnowledge BaseEnterprise WorkloadsHow To - Enterprise Workloads
How to change the transport mode for VMware backups and restores
How to change the transport mode for VMware backups and restores
Updated over a month ago

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 from HOTADD to NBD

  1. Open the terminal and stop Agent Client Service.

    Agent Version 6.x.x: /etc/init.d/Phoenix stop

    ​Agent Version 7.x.x: service Druva-EnterpriseWorkloads stop

  2. Verify if any Druva or Phoenix related processes.

    Agent Version 6.x.x: ps -ef| grep -i Phoenix

    Agent Version 7.x.x: ps -ef | grep -i EnterpriseWorkloads

  3. If any process is still found running, kill the process with the following command:

    Kill -9 <process id>

  4. Take a backup of the Configuration File

    Agent Version 6.x.x: /etc/Phoenix/VMWARE/Phoenix.cfg

    Agent Version 7.x.x: /etc/Druva/EnterpriseWorkloads/vmware/VMwareConfig.yaml

  5. Edit Phoenix.cfg/VMwareConfig.yaml file using vi editor using below command

    Agent Version 6.x.x:

    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'

    Agent Version 7.x.x:

    vi VMwareConfig.yaml

    Type ‘ i ‘ to activate insert mode

    change the value of parameter from

    _vm_backup_tranport_mode:hotadd:nbdssl:nbd

    To

    _vm_backup_tranport_mode: nbd

  6. Type esc key followed by :wq to save and exit file.

  7. Then again Open the terminal and start Agent Client Service.

    Agent Version 6.x.x: /etc/init.d/Phoenix start

    Agent Version 7.x.x: service Druva-EnterpriseWorkloads start

  8. Initiate the backup or the restore job.

Change transport mode from NBD to HOTADD

  1. Open the terminal and stop Agent Client Service.

    Agent Version 6.x.x: /etc/init.d/Phoenix stop

    ​Agent Version 7.x.x: service Druva-EnterpriseWorkloads stop

  2. Verify if any Druva or Phoenix related processes.

    Agent Version 6.x.x: ps -ef| grep -i Phoenix

    Agent Version 7.x.x: ps -ef | grep -i EnterpriseWorkloads

  3. If any process is still found running, kill the process with the following command:

    Kill -9 <process id>

  4. Take a backup of the Configuration File

    Agent Version 6.x.x: /etc/Phoenix/VMWARE/Phoenix.cfg

    Agent Version 7.x.x: /etc/Druva/EnterpriseWorkloads/vmware/VMwareConfig.yaml

  5. Edit Phoenix.cfg/VMwareConfig.yaml file using vi editor using below command

    Agent Version 6.x.x:

    vi Phoenix.cfg

    Type ‘ i ‘ to activate insert mode

    Remove the following lines from the configuration file:

    #For Backup

    _VM_BACKUP_TRANSPORT_MODE = 'nbdssl:nbd'

    #For Restore

    _VM_RESTORE_TRANSPORT_MODE = 'nbdssl:nbd'

    Agent Version 7.x.x:

    vi VMwareConfig.yaml

    Type ‘ i ‘ to activate insert mode

    change the value of parameter from
    _vm_backup_tranport_mode: nbd
    To

    _vm_backup_tranport_mode:hotadd:nbdssl:nbd

  6. Type esc key followed by :wq to save and exit file.

  7. Then again Open the terminal and start Agent Client Service.

    Agent Version 6.x.x: /etc/init.d/Phoenix start

    Agent Version 7.x.x: service Druva-EnterpriseWorkloads start

  8. Initiate the backup or the restore job.

See also

Did this answer your question?