Using Migrate-Datasource
Aggiornamento: aprile 2010
Si applica a: System Center Data Protection Manager 2010
Migrate-Datasource is a command-line script that lets you continue protecting a data source (file, folder, volume, or share) to the same replica volume even after it has been migrated to a different volume on the same protected computer. You have to run the Migrate-Datasource script even if you have not changed the drive letters of the volume because DPM recognizes volumes by the GUID and not the drive letter.
Importante
If you have secondary DPM protection configured, you must run the Migrate-Datasource script on the secondary server also.
Nota
Migrate-Datasource is used to migrate protected computer volumes while MigrateDatasourceDataFromDPM is used to migrate DPM volumes.
The possible reasons for moving DPM-protected data sources across volumes include the following:
The disk is corrupt.
Organization policy demands that disks be replaced at certain time intervals.
Syntax
Migrate-Datasource.ps1 [-DPMServerName] <string> [-Option [auto or manual]] [-PSName] <string>
Parameter | Description |
---|---|
DPMServerName |
Name of the DPM server from which you want to migrate data. |
Option |
Indicates whether DPM should perform an automatic or manual migration. |
PSName |
Name of the protected computer to which the data source is being migrated. |
Things to Remember
Migrate-Datasource is used only for migration of file system data sources, such as volumes. For other data sources, follow the instructions in the alerts.
DPM does not support migration from a volume on a drive (for example, D:\) to a mounted volume (for example, E:\<mountpoint>, where mountpoint is a location on which the volume has been mounted).
For auto-migration of mounted volumes, the volume on the new computer should have the same mount point name as the volume on the previously protected computer. DPM does not allow you to migrate to a drive.
For migration of mounted volumes (where the old volume is protected by using a mount point):
If the protected volume has multiple mount points, at least one mount point of the volume on the new computer should have the same mount point path as before.
Old volume: C:\mnt
new volume: C:\mnt (may have drive letter and other mount points)If the volume also has a drive letter, only the drive letter is visible while you select the new volume for migration. This should be selected manually.
You should migrate volumes only if you have reformatted them or if the volume GUID associated with the volume has changed.
Nota
After migration, you cannot perform original location recovery for the recovery points created before the migration. Recovery fails with the message Couldn't find the selected volume. You can, however, recover to an alternate location.