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 week 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

  1. Change transport mode to NBD from HOTADD

    1. Log in to the VMWARE Backup proxy with default username root and password.

    2. Ensure there are no jobs running.

    3. Stop the Phoenix Agent service on the backup proxy using the command:

      /etc/init.d/Phoenix stop
    4. Verify if any Phoenix processes are still running.

      ps -ef | grep -i Phoenix
    5. If any process is still found running, kill the process with the following command:

      Kill -9 <process id>
    6. Goto to the below path

      cd /etc/Phoenix/VMWARE 
    7. 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.
    8. Verify if above lines has added using below command

      cat Phoenix.cfg
    9. Start the Phoenix Agent service on the backup proxy as follows:

      /etc/init.d/Phoenix start
    10. Trigger the backup or restore

  2. Change transport mode to HOTADD from NBD

    1. Log in to the VMWARE Backup proxy with default username root and password.

    2. Ensure there are no jobs running.

    3. Stop the Phoenix Agent service on the backup proxy using the command:

      /etc/init.d/Phoenix stop
    4. Verify if any Phoenix processes are still running.

      ps -ef | grep -i Phoenix
    5. If any process is still found running, kill the process with the following command:

      Kill -9 <process id>
    6. Goto to the below path

      cd /etc/Phoenix/VMWARE 
    7. 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.
    8. Verify if above lines has added using below command

      cat Phoenix.cfg
    9. Start the Phoenix Agent service on the backup proxy as follows:

      /etc/init.d/Phoenix start
    10. Trigger the backup or restore

See also

Did this answer your question?