Training
Module
Export large amounts of data from Azure by using Azure Import/Export - Training
Learn how and when to use Azure Import/Export to copy large amounts of data from Azure
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article provides step-by-step instructions on how to use the Azure Import/Export service to securely import large amounts of data to Azure Blob storage. To import data into Azure Blobs, the service requires you to ship encrypted disk drives containing your data to an Azure datacenter.
In this tutorial, you learn how to:
Before you create an import job to transfer data into Azure Blob Storage, carefully review and complete the following list of prerequisites for this service. You must:
WaImportExportV1
. For example, C:\WaImportExportV1
.This step generates a journal file. The journal file stores basic information such as drive serial number, encryption key, and storage account details.
Perform the following steps to prepare the drives.
Connect your disk drives to the Windows system via SATA connectors.
Create a single NTFS volume on each drive. Assign a drive letter to the volume. Don't use mountpoints.
Enable BitLocker encryption on the NTFS volume. If using a Windows Server system, use the instructions in How to enable BitLocker on Windows Server 2012 R2.
Copy data to encrypted volume. Use drag and drop or Robocopy or any such copy tool. A journal (.jrn) file is created in the same folder where you run the tool.
If the drive is locked and you need to unlock the drive, the steps to unlock may be different depending on your use case.
If you have added data to a pre-encrypted drive (WAImportExport tool wasn't used for encryption), use the BitLocker key (a numerical password that you specify) in the popup to unlock the drive.
If you have added data to a drive that was encrypted by WAImportExport tool, use the following command to unlock the drive:
WAImportExport Unlock /bk:<BitLocker key (base 64 string) copied from journal (*.jrn*) file>
Open a PowerShell or command-line window with administrative privileges. To change directory to the unzipped folder, run the following command:
cd C:\WaImportExportV1
To get the BitLocker key of the drive, run the following command:
manage-bde -protectors -get <DriveLetter>:
To prepare the disk, run the following command. Depending on the data size, disk preparation may take several hours to days.
./WAImportExport.exe PrepImport /j:<journal file name> /id:session<session number> /t:<Drive letter> /bk:<BitLocker key> /srcdir:<Drive letter>:\ /dstdir:<Container name>/ /blobtype:<BlockBlob or PageBlob> /skipwrite
A journal file is created in the same folder where you ran the tool. Two other files are also created - an .xml file (folder where you run the tool) and a drive-manifest.xml file (folder where data resides).
The parameters used are described in the following table:
Option | Description |
---|---|
/j: | The name of the journal file, with the .jrn extension. A journal file is generated per drive. We recommend that you use the disk serial number as the journal file name. |
/id: | The session ID. Use a unique session number for each instance of the command. |
/t: | The drive letter of the disk to be shipped. For example, drive D . |
/bk: | The BitLocker key for the drive. Its numerical password from output of manage-bde -protectors -get D: |
/srcdir: | The drive letter of the disk to be shipped followed by :\ . For example, D:\ . |
/dstdir: | The name of the destination container in Azure Storage. |
/blobtype: | This option specifies the type of blobs you want to import the data to. For block blobs, the blob type is BlockBlob and for page blobs, it's PageBlob . |
/skipwrite: | Specifies that there's no new data required to be copied and existing data on the disk is to be prepared. |
/enablecontentmd5: | The option when enabled, ensures that MD5 is computed and set as Content-md5 property on each blob. Use this option only if you want to use the Content-md5 field after the data is uploaded to Azure. This option doesn't affect the data integrity check (that occurs by default). The setting does increase the time taken to upload data to cloud. |
Note
Repeat the previous step for each disk that needs to be shipped.
A journal file with the provided name is created for every run of the command line.
Together with the journal file, a <Journal file name>_DriveInfo_<Drive serial ID>.xml
file is also created in the same folder where the tool resides. The .xml file is used in place of the journal file when creating a job if the journal file is too large.
Important
Do the following steps to order an import job in Azure Import/Export job via the portal.
Use your Microsoft Azure credentials to sign in at this URL: https://portal.azure.com.
Select + Create a resource, and search for Azure Data Box. Select Azure Data Box.
Select Create.
To get started with the import order, select the following options:
Choose the Select button for Import/Export Job.
In Basics:
Select Next: Job Details > to proceed.
In Job Details:
Before you go further, make sure you're using the latest WAImportExport tool. The tool is used to read the journal file(s) that you upload. You can use the download link to update the tool.
Change the destination Azure region for the job if needed.
Select one or more storage accounts to use for the job. You can create a new storage account if needed.
Under Drive information, use the Copy button to upload each journal file that you created during the preceding Step 1: Prepare the drives. When you upload a journal file, the Drive ID is displayed.
If waimportexport.exe version1
was used, upload one file for each drive that you prepared.
If the journal file is larger than 2 MB, then you can use the <Journal file name>_DriveInfo_<Drive serial ID>.xml
, which was created along with the journal file.
In Return shipping:
Select a shipping carrier from the drop-down list for Carrier. The location of the Microsoft datacenter for the selected region determines which carriers are available.
Enter a Carrier account number. The account number for a valid carrier account is required.
In the Return address area, select the + Add Address button, and add the address to ship to.
On the Add Address blade, you can add an address or use an existing one. When you complete the address fields, select Add shipping address.
In the Notification area, enter email addresses for the people you want to notify of the job's progress.
Tip
Instead of specifying an email address for a single user, provide a group email to ensure that you receive notifications even if an admin leaves.
Select Review + Create to proceed.
In Review + Create:
After the job is created, you'll see the following message.
You can select Go to resource to open the Overview of the job.
Skip this step and go to the next step if you want to use the Microsoft managed key to protect your BitLocker keys for the drives. To configure your own key to protect the BitLocker key, follow the instructions in Configure customer-managed keys with Azure Key Vault for Azure Import/Export in the Azure portal.
FedEx, UPS, or DHL can be used to ship the package to Azure datacenter. If you want to use a carrier other than FedEx/DHL, contact Azure Data Box Operations team at adbops@microsoft.com
After you ship the disks, return to the job in the Azure portal and fill in the tracking information.
After you provide tracking details, the job status changes to Shipping, and the job can't be canceled. You can only cancel a job while it's in Creating state.
Important
If the tracking number is not updated within 2 weeks of creating the job, the job expires.
To complete the tracking information for a job that you created in the portal, do these steps:
Open the job in the Azure portal/.
On the Overview pane, scroll down to Tracking information and complete the entries:
You can track the job progress on the Overview pane. For a description of each job state, go to View your job status.
Track the job to completion, then verify that the upload was successful and all data is present.
Review the Data copy details of the completed job to locate the logs for each drive included in the job:
For more information, see Review copy logs from imports and exports.
After you verify the data transfers, you can delete your on-premises data. Delete your on-premises data only after you verify that the upload was successful.
Note
If any path and file name exceeds 256 characters, and long paths aren't enabled on the client, the data upload will fail. To avoid this kind of failure, enable long paths on your Windows client.
Training
Module
Export large amounts of data from Azure by using Azure Import/Export - Training
Learn how and when to use Azure Import/Export to copy large amounts of data from Azure