FsPathMerge Syntax
Published : September 27, 2005
FsPathMerge –FS RestoredPath DestinationPath
FsPathMerge –FS RestoredPath DestinationPath -Y
FsPathMerge –D DestinationPath
FsPathMerge -?
Parameters
Parameter |
Description |
---|---|
RestoredPath |
The path to which the backup software restored the data |
DestinationPath |
The path to which the data should be restored |
-FS |
Merges the contents of RestoredPath into DestinationPath after data has been restored to a file server from tape |
-Y |
Deletes the original contents of the destination path as part of the merge operation. (Caution: If the destination path contains existing data, this option will delete that data) |
-D |
Deletes the contents of the destination path as a discrete operation |
-? |
Describes usage of the command |
Example
You are protecting folder C:\Sales on the file server FS01. You run DpmBackup on the DPM server to prepare the replica for backup. The backup shadow copy of C:\Sales is located at C:\Program Files\Microsoft Data Protection Manager\DPM\Volumes\ShadowCopy\FS01\C-8d2a01f3-4b01-11d9-b735-806e6f6e6963\ReplicaDir\Sales.
The backup shadow copy on the DPM server is backed up to tape. When you restore the Sales folder from tape to file server FS01, it creates the following path:
C:\Sales\Program Files\Microsoft Data Protection Manager\DPM\Volumes\ShadowCopy\FS01\C-8d2a01f3-4b01-11d9-b735-806e6f6e6963\Replicadir\Sales
To restore the correct path information, you run the following command:
FsPathMerge.exe –FS “C:\Sales\Program Files\Microsoft Data Protection Manager\DPM\Volumes\ShadowCopy\FS01\C-8d2a01f3-4b01-11d9-b735-806e6f6e6963\ReplicaDir\Sales” C:\Sales
To restore the correct path information and delete the original contents of C:\Sales, you run the following command:
FsPathMerge.exe –FS “C:\Sales\Program Files\Microsoft Data Protection Manager\DPM\Volumes\ShadowCopy\FS01\C-8d2a01f3-4b01-11d9-b735-806e6f6e6963\ReplicaDir\Sales” C:\Sales -Y