Backing up migrated virtual machines

When you migrate virtual machines to a different VMware datacenter or vCenter server, you can back up the virtual machines.

Before you begin

To back up migrated virtual machines, meet the following prerequisites:
  • The migrated virtual machine must be running in a VMware vSphere 6 environment.
  • Before you migrate the virtual machine, back up the virtual machine with Data Protection for VMware V7.1.3 or later. Verify that the backup completed without error.
  • On the virtual machine, verify that VMware Storage vMotion is installed.
The following environment migrations are supported:
  • Migrate from one vCenter to another vCenter. For example: vCenter A, datacenter A, and data mover A migrated to vCenter B, datacenter B, and data mover B.
  • Migrate from one datacenter to another datacenter within the same vCenter. For example: vCenter A, datacenter A, and data mover A migrated to vCenter A, datacenter C, and data mover C.

About this task

To migrate a virtual machine from one VMware datacenter to another datacenter within the same vCenter server, complete the following steps:

Procedure

  1. Start a data mover command-line session:
    • Windows operating systemsOpen a command prompt and change to the data mover installation directory. For example:
      cd "C:\Program Files\IBM\StorageProtect\tsm\baclient"
    • Linux operating systemsOpen a terminal window and change to the data mover installation directory. For example:
      cd /opt/tivoli/tsm/client/ba/bin
  2. Create a full VM backup of the migrated virtual machine.
    Store the backup on the original datacenter node from where the virtual machine was migrated.
    For example, if virtual machine VM_1 was migrated from VMware datacenter DC_A to datacenter DC_C, then back up VM_1 from data mover DM_A to datacenter DC_C directly. The following sample command is provided:
    dsmc backup vm VM_1 -vmbackuptype=fullvm -nodename=DC_C nodename 
    -password=DC_C nodename_password
  3. Deactivate the active backup of the migrated virtual machine on the original datacenter.
    Issue this command on the original datacenter node from where the virtual machine was migrated.
    For example, if virtual machine VM_1 was migrated from VMware datacenter DC_A to datacenter DC_C, then issue this command on datacenter node DC_A. The following sample command is provided:
    dsmc expire -objtype=vm VM_1 -nodename=DC_A nodename 
    -password=DC_A nodename_password