Quick reference for frequently used commands for import jobs

This section provides a quick references for some frequently used commands. For detailed usage, see Preparing Hard Drives for an Import Job.

Prepare the disks when data already copied to the disks

Here is a sample command to prepare a disks when data already copied to the hard drive that hasn't been yet been encrypted with BitLocker:

  WAImportExport.exe PrepImport /j:9WM35C2V.jrn /id:session#1 /sk:VkGbrUqBWLYJ6zg1m29VOTrxpBgdNOlp+kp0C9MEdx3GELxmBw4hK94f7KysbbeKLDksg7VoN1W/a5UuM2zNgQ== /t:d /encrypt /srcdir:d:\movies\drama /dstdir:movies/drama/ /skipwrite

Copy a single directory to a hard drive

Here is a sample command to copy a single source directory to a hard drive that hasn't been yet been encrypted with BitLocker:

WAImportExport.exe PrepImport /j:FirstDrive.jrn /id:movies /logdir:c:\logs /sk:8ImTigJhIwvL9VEIQKB/zbqcXbxrIHbBjLIfOt0tyR98TxtFvUM/7T0KVNR6KRkJrh26u5I8hTxTLM2O1aDVqg== /t:x /format /encrypt /srcdir:d:\Movies /dstdir:entertainment/movies/  

Copy wwo directories to a hard drive

To copy two source directories to a drive, you will need two commands.

The first command specifies the log directory, storage account key, target drive letter and format/encrypt requirements, in addition to the common parameters:

WAImportExport.exe PrepImport /j:FirstDrive.jrn /id:movies /logdir:c:\logs /sk:8ImTigJhIwvL9VEIQKB/zbqcXbxrIHbBjLIfOt0tyR98TxtFvUM/7T0KVNR6KRkJrh26u5I8hTxTLM2O1aDVqg== /t:x /format /encrypt /srcdir:d:\Movies /dstdir:entertainment/movies/  

The second command specifies the journal file, a new session ID, and the source and destination locations:

WAImportExport.exe PrepImport /j:FirstDrive.jrn /id:music /srcdir:d:\Music /dstdir:entertainment/music/  

Copy a large file to a hard drive in a second copy session

Here is a sample command that copies a single large file to a drive that has been prepared in a previous copy session:

WAImportExport.exe PrepImport /j:FirstDrive.jrn /id:dvd /srcfile:d:\dvd\favoritemovie.vhd /dstblob:dvd/favoritemovie.vhd  

Next steps