This topic contains syntax for the cpmdex command.
cpmdex -a <archive_path> -m <datastore_path> -t <transfer_path>
Options | Description |
---|---|
-a <archive_path> | Required. The absolute file path to the directory containing the archived snapshot. |
-m <datastore_path> | Required. The absolute file path to the
directory where the snapshot should be restored.
The end of this path should match the value passed to the Dgraph process when it is started. |
-t <transfer_path> | The file path to a directory to which the
snapshot should be moved.
This option uses a move operation, instead of a copy, to restore the files to the data store. You may want to use this option if the backup has already been copied from the archive to the local file system and you want to save considerable I/O bandwidth. |
-h | The help for this command. |
cpmdex -a c:\backup\2012-01-20 -m c:\apps\myapp\my_data_files