title | description | author | services | ms.service | ms.topic | ms.date | ms.author | ms.component |
---|---|---|---|---|---|---|---|---|
Quick reference for Azure Import/Export Tool import job commands - v1 | Microsoft Docs |
Azure Import/Export Tool command reference for frequently used import job commands. This refers to v1 of the Import/Export Tool. |
muralikk |
storage |
storage |
article |
01/15/2017 |
muralikk |
common |
This section provides a quick reference for some frequently used commands. For detailed usage, see Preparing Hard Drives for an Import Job.
The following command prepares a hard drive when data has already been copied to it, but has not 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
The following command copies a single source directory to a hard drive that has not 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/
To copy two source directories to a drive, use the following commands:
The first command specifies the log directory, storage account key, target drive letter, format/encrypt
requirements, and 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/
The following command copies a single large file to a hard drive that was prepared in a previous copy session:
WAImportExport.exe PrepImport /j:FirstDrive.jrn /id:dvd /srcfile:d:\dvd\favoritemovie.vhd /dstblob:dvd/favoritemovie.vhd