virtamigrate

This command migrates IIS from the source computer to a container.

You can use this command to only synchronize roles and features between a source and a destination machine.

Administrator privileges are required.

Syntax

virtamigrate </A|/P|/F|/C> [<credentials>] [VAA] [/Q]

Options

Option

Description

/A

Run all migrations. Requires credentials and container target.

/P

Prepare staged migration for all migrations. Requires credentials and container target.

/F

Run Feature Sync only. This performs a feature sync only; no IIS data is migrated. Requires credentials.

/C

Copies the migration.config file to the Container\scripts directory. Requires a target container.

If you make any changes to the migration.config file, these changes will be implemented once virtamigrate /A is executed.

credentials

hostname username password

Only hostname is required if the VirtaMove Source Agent is in use.

/H hostname

The hostname or IP address of the source computer.

/U username

The user name of the Administrator account on the source computer.

/W password

The password of the Administrator account on the source computer.

VAA

The full path of the container.

/Q

Quiet mode.

Example Usage - Migrate All

virtamigrate /A credentials container

where credentials is the hostname username password

Example Usage - Feature Sync Only

This performs a feature sync only; no IIS data is migrated.

virtamigrate /F credentials

Example Usage - Copy migration.config File Only

This copies only the migration.config file to the container\scripts directory.

Example Usage - Staged Application Migration

You can use this command to perform a staged application migration (from a source machine to an intermediary machine and then to a final destination machine).