Skip to main content
SnapCenter Plug-in for VMware vSphere 4.5
A newer release of this product is available.

Migrate Windows-based SnapCenter VMware backup metadata

Contributors

You use the SnapCenter Windows PowerShell cmdlets to migrate SnapCenter VM-consistent backup metadata and SnapCenter application-consistent for virtualized data backup metadata to the SnapCenter Plug-in for VMware vSphere virtual appliance.

Steps
  1. Back up the MySQL database and then copy and move that backup to a different location to make sure it does not get deleted due to the retention policy.

  2. Log on to the VMware vSphere web client and verify that no jobs are running.

  3. Log on to the SnapCenter GUI using the SnapCenter Admin username.

    Do not use any other username to log in, even if that username has all permissions, because it might cause a migration error.

  4. In the Windows SnapCenter GUI left navigation pane, click Settings, then click the Credential tab, and then click Add to add credentials for the virtual appliance.

  5. Create the name of the Run As credential to be used in the `invoke-SCVOVAMigration `cmdlet.

    Note You must select Linux for the Authentication field.

    This step adds the credentials that SnapCenter Server uses to access the virtual appliance during the migration.

  6. Open a Windows PowerShell window and run the following cmdlets:

    Open-SmConnection

    invoke-SCVOVAMigration -SourceSCVHost <old-SCV-host-IP> -DestinationSCVOVAHost <new-appliance-IP> -OVACredential <appliance-credentials> -ByPassValidationCheck -Overwrite -ContinueMigrationOnStorageError -ScheduleOffsetTime <time-offset>

    For an overview of the migration workflow, see Migration workflow

Important The optional -Overwrite parameter enables faster migration for large environments. This parameter overwrites data in the MySQL database on the SnapCenter Plug-in for VMware vSphere host.
Do not use the -Overwrite parameter more than once. If your migration was a partial migration, using the -Overwrite parameter again might overwrite existing migrated data.
If you run invoke-SCVOVAMigration more than once without the -Overwrite parameter, previously migrated data will be duplicated.
Note Use the ScheduleOffsetTime parameter if the source SnapCenter host and the destination SnapCenter VMware virtual appliance host are in different time zones. The value can be a positive or negative time offset to adjust scheduled backup run times. Specify the time difference in the format hh: mm:ss; for example, 06:00:00, or -06:00:00 for a negative value.