This recipe will explain the purpose of the Migrate-Datasource.ps1
(PowerShell) script and how to use it. It is important to keep in mind that the Migrate-Datasource.ps1
script only applies to the file server workload.
In the scenario where the protected data source has been migrated to another volume, the DPM protection will fail due to the new GUID information of the volume where the data source resides. By using the Migrate-Datasource.ps1
script, you will be able to continue protecting a data source (file, folder, volume, or share) to the same replica volume.
Note
Even if you keep the same drive letters for the volume, you still need to run the Migrate-Datasource.ps1
script since DPM identifies the volumes by the GUID.
There are two important options for the PowerShell script:
Auto
Manual
The auto option will search the production server for changes and make the necessary updates in the DPMDB so that it is able to continue to protect the data source...