Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 2.7 KB

storage-import-export-tool-quick-reference-v1.md

File metadata and controls

53 lines (40 loc) · 2.7 KB
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

Quick reference for frequently used commands for import jobs

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

Prepare a hard drive when data has already been copied to the hard drive

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

Copy a single directory to a hard drive

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/  

Copy two directories to a hard drive

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/  

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

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  

Next steps