Skip to content

Commit

Permalink
fixing CR Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
RenaShahMSFT committed Dec 19, 2016
1 parent ce7bf53 commit fbcc295
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 17 deletions.
4 changes: 2 additions & 2 deletions articles/storage/storage-import-export-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ You can use this service in scenarios such as:
* Backup: Take backups of your on-premises data to store in Azure blob storage.
* Data recovery: Recover large amount of data stored in blob storage and have it delivered to your on-premises location.

## Pre-requisites
In this section, we have listed the pre-requisites required to use this service. Please review them carefully before shipping your drives.
## Prerequisites
In this section, we have listed the prerequisites required to use this service. Please review them carefully before shipping your drives.

### Storage account
You must have an existing Azure subscription and one or more storage accounts to use the Import/Export service. Each job may be used to transfer data to or from only one storage account. In other words, a single import/export job cannot span across multiple storage accounts. For information on creating a new storage account, see [How to Create a Storage Account](storage-create-storage-account.md#create-a-storage-account).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,24 @@ translation.priority.mt:
- zh-cn
- zh-tw
---
# Quick Reference for Frequently Used Commands for Import Jobs
# 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](storage-import-export-tool-preparing-hard-drives-import-v1.md).

## Prepare the Disks when data already copied to the Disks
## 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
## 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 Two Directories to a Hard Drive
## 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:
Expand All @@ -56,12 +56,12 @@ WAImportExport.exe PrepImport /j:FirstDrive.jrn /id:movies /logdir:c:\logs /sk:8
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
## 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
```

## See Also
## See also
[Sample Workflow to Prepare Hard Drives for an Import Job](storage-import-export-tool-sample-preparing-hard-drives-import-job-workflow-v1.md)
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ Now you are ready to run the Azure Import/Export tool to prepare the two hard dr

- The key for the storage account `mystorageaccount` is `8ImTigJhIwvL9VEIQKB/zbqcXbxrIHbBjLIfOt0tyR98TxtFvUM/7T0KVNR6KRkJrh26u5I8hTxTLM2O1aDVqg==`.

## Preparing disk for import when data is pre-loaded

If the data to be imported is already present on the disk, use the flag /skipwrite. Value of /t and /srcdir both should point to the disk being prepared for import. If not all the data on the disk needs to go to the same destination virtual directory or root of the storage account, run the same command for each directory separately keeping the value of /id same across all runs.

>[!NOTE]
Expand All @@ -128,29 +130,29 @@ Now you are ready to run the Azure Import/Export tool to prepare the two hard dr
For the first drive, run the Azure Import/Export tool twice to copy the two source directories:

```
First copy session for first drive
## First copy session for first drive
WAImportExport.exe PrepImport /j:FirstDrive.jrn /id:Video1 /logdir:c:\logs /sk:8ImTigJhIwvL9VEIQKB/zbqcXbxrIHbBjLIfOt0tyR98TxtFvUM/7T0KVNR6KRkJrh26u5I8hTxTLM2O1aDVqg== /t:x /format /encrypt /srcdir:H:\Video1 /dstdir:video/ /MetadataFile:c:\WAImportExport\SampleMetadata.txt
```

```
Second copy session for first drive
## Second copy session for first drive
WAImportExport.exe PrepImport /j:FirstDrive.jrn /id:Photo /srcdir:H:\Photo /dstdir:photo/ /MetadataFile:c:\WAImportExport\SampleMetadata.txt
```

For the second drive, run the Azure Import/Export tool three times, once each for the source directories and once for the standalone Blu-Ray™ image file):

```
First copy session
## First copy session
WAImportExport.exe PrepImport /j:SecondDrive.jrn /id:Video2 /logdir:c:\logs /sk:8ImTigJhIwvL9VEIQKB/zbqcXbxrIHbBjLIfOt0tyR98TxtFvUM/7T0KVNR6KRkJrh26u5I8hTxTLM2O1aDVqg== /t:y /format /encrypt /srcdir:H:\Video2 /dstdir:video/ /MetadataFile:c:\WAImportExport\SampleMetadata.txt
```

```
Second copy session
## Second copy session
WAImportExport.exe PrepImport /j:SecondDrive.jrn /id:Music /srcdir:\\bigshare\john\music /dstdir:music/ /MetadataFile:c:\WAImportExport\SampleMetadata.txt
```

```
Third copy session
## Third copy session
WAImportExport.exe PrepImport /j:SecondDrive.jrn /id:BlueRayIso /srcfile:K:\Temp\BlueRay.ISO /dstblob:favorite/BlueRay.ISO /MetadataFile:c:\WAImportExport\SampleMetadata.txt /PropertyFile:c:\WAImportExport\SampleProperties.txt
```

Expand Down
8 changes: 4 additions & 4 deletions articles/storage/storage-import-export-tool-setup-v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The Microsoft Azure Import/Export tool is the drive preparation and repair tool
- After you receive the drives from a completed export job, you can use this tool to repair any files that were corrupted or missing on the drives.

## Prerequisites
If you are preparing drives for an import job, you will need to meet the following prerequisites:
If you are preparing drives for an import job, you will need to meet the following prerequisites:

- You must have an active Azure subscription.

Expand All @@ -42,17 +42,17 @@ The Microsoft Azure Import/Export tool is the drive preparation and repair tool

- BitLocker must be enabled on the copy machine.

- You will need one or more drive that contains data to be imported or empty 3.5-inch SATA hard drives connected to the copy machine.
- You will need one or more drives that contains data to be imported or empty 3.5-inch SATA hard drives connected to the copy machine.

- The files you plan to import must be accessible from the copy machine, whether they are on a network share or a local hard drive.

If you are attempting to repair an import that has partially failed, you will need:
If you are attempting to repair an import that has partially failed, you will need:

- The copy log files

- The storage account key

If you are attempting to repair an export that has partially failed, you will need:
If you are attempting to repair an export that has partially failed, you will need:

- The copy log files

Expand Down

0 comments on commit fbcc295

Please sign in to comment.