使用 Azure 导入/导出服务将数据传输到 Azure 存储Use the Azure Import/Export service to transfer data to Azure Storage

本文分步介绍如何使用 Azure 导入/导出服务将磁盘驱动器寄送到 Azure 数据中心,从而安全地将大量数据传输到 Azure Blob 存储和 Azure 文件。In this article, we provide step-by-step instructions on using Azure Import/Export service to securely transfer large amounts of data to Azure Blob storage and Azure Files by shipping disk drives to an Azure data center. 此外,还可以使用此服务将数据从 Azure 存储传输到硬盘驱动器,然后再寄送到本地站点。This service can also be used to transfer data from Azure storage to hard disk drives and ship to your on-premise sites. 可将单个内部 SATA 磁盘驱动器中的数据导入 Azure Blob 存储或 Azure 文件。Data from a single internal SATA disk drive can be imported either to Azure Blob storage or Azure Files.

Important

此服务仅接受内部 SATA HDD 或 SSD。This service only accepts internal SATA HDDs or SSDs only. 不支持任何其他设备。No other device is supported. 请勿发送外部 HDD、NAS 设备等,因为可能会将其返回(若可能)或丢弃。Do not send external HDDs, NAS devices, etc., as they will be returned if possible, or otherwise discarded.

如果将磁盘上的数据导入 Azure 存储,请执行以下步骤。Follow the below steps if the data on the disk is to be imported into Azure Storage.

步骤 1:使用 WAImportExport 工具准备驱动器,并生成日志文件。Step 1: Prepare the drive/s using WAImportExport tool and generate journal file/s.

  1. 标识要导入 Azure 存储的数据。Identify the data to be imported into Azure Storage. 可以导入本地服务器或网络共享中的目录和独立文件。You can import directories and standalone files on a local server or a network share.

  2. 根据数据的总大小,采购所需数目的 2.5 英寸 SSD 或者 2.5/3.5 英寸 SATA II 或 III 硬盘驱动器。Depending on total size of the data, procure the required number of 2.5 inch SSD or 2.5" or 3.5" SATA II or III hard disk drives.

  3. 直接使用 SATA 或通过外部 USB 适配器将硬盘驱动器附加到 Windows 计算机。Attach the hard drives directly using SATA or with external USB adaptors to a windows machine.

  4. 在每个硬盘驱动器上创建一个 NTFS 卷,并向该卷分配一个驱动器号。Create a single NTFS volume on each hard drive and assign a drive letter to the volume. 没有装入点。No mountpoints.

  5. 若要在 Windows 计算机上启用加密,请启用 NTFS 卷上的 bit locker 加密。To enable encryption on the windows machine, enable bit locker encryption on the NTFS volume. 请使用 https://technet.microsoft.com/library/cc731549(v=ws.10).aspx 中的说明。Use the instructions on https://technet.microsoft.com/library/cc731549(v=ws.10).aspx.

  6. 使用复制粘贴或拖放操作,或使用 RoboCopy 或任何类似的工具将数据完全复制到磁盘上这些加密的 NTFS 卷。Completely copy data to these encrypted single NTFS volumes on disks using copy & paste or drag & drop or Robocopy or any such tool.

  7. https://www.microsoft.com/en-us/download/details.aspx?id=42659 下载 WAImportExport V1Download WAImportExport V1 from https://www.microsoft.com/en-us/download/details.aspx?id=42659

  8. 解压缩到默认文件夹 waimportexportv1。Unzip to the default folder waimportexportv1. 例如,C:\WaImportExportV1For example, C:\WaImportExportV1

  9. 以管理员身份运行并打开 PowerShell 或命令行,并将目录更改为解压缩的文件夹。Run as Administrator and open a PowerShell or Command line and change directory to the unzipped folder. 例如,cd C:\WaImportExportV1For example, cd C:\WaImportExportV1

  10. 将以下命令行复制到文本编辑器并进行编辑,以创建命令行:Copy the following command line to a text editor and edit it to create a command line:

    ./WAImportExport.exe PrepImport /j:JournalTest.jrn /id:session#1 /sk:***== /t:D /bk:*** /srcdir:D:\ /dstdir:ContainerName/ /skipwrite 
    

    下表介绍了这些命令行选项:These command line options are described in the following table:

    选项Option 说明Description
    /j:/j: 带有 .jrn 扩展名的日志文件的名称。The name of the journal file, with the .jrn extension. 会为每个驱动器生成一个日志文件。A journal file is generated per drive. 建议使用磁盘序列号作为日志文件名。Using the disk serial number as the journal file name is recommended.
    /sk:/sk: Azure 存储帐户密钥。The Azure Storage account key.
    /t:/t: 要寄送的磁盘的驱动器号。The drive letter of the disk to be shipped. 例如,驱动器 DFor example, drive D.
    /bk:/bk: 驱动器的 BitLocker 密钥。The BitLocker key for the drive. 其数字密码来自 manage-bde -protectors -get D: 的输出Its numerical password from output of manage-bde -protectors -get D:
    /srcdir:/srcdir: 要寄送的磁盘的驱动器号后跟 :\The drive letter of the disk to be shipped followed by :\. 例如,D:\For example, D:\.
    /dstdir:/dstdir: Azure 存储中的目标容器的名称The name of the destination container in Azure Storage
    /skipwrite:/skipwrite: 此选项指定没有需要复制的新数据以及要准备磁盘上的现有数据The option that specifies that there is no new data required to be copied and existing data on the disk is to be prepared
  11. 为每个需要寄送的磁盘重复步骤 10。Repeat step 10 for each of disk that needs to be shipped.

  12. 每次运行命令行时,都会创建使用 /j: 参数提供名称的日志文件。A journal file with name provided with /j: parameter is created for every run of the command line.

步骤 2:在 Azure 门户中创建导入作业。Step 2: Create an Import Job on Azure Portal.

  1. 登录 https://portal.azure.cn/ ,在“更多服务”->“存储”->“导入/导出作业”下,单击“创建导入/导出作业” 。Log on to https://portal.azure.cn/ and under More services -> STORAGE -> "Import/export jobs" Click Create Import/export Job.

  2. 在“基本”部分中,选择“导入 Azure”,输入作业名称字符串,选择订阅,输入或选择资源组。In Basics section, select "Import into Azure", enter a string for job name, select a subscription, enter or select a resource group. 输入导入作业的描述性名称。Enter a descriptive name for the import job. 请注意,输入的名称只能包含小写字母、数字、连字符和下划线,必须以字母开头并且不得包含空格。Note that the name you enter may contain only lowercase letters, numbers, hyphens, and underscores, must start with a letter, and may not contain spaces. 在作业进行中以及作业完成后,使用所选名称来跟踪作业。You use the name you choose to track your jobs while they are in progress and once they are completed.

  3. 在“作业详细信息”部分中,上传在驱动器准备步骤中获取的驱动器日志文件。In Job details section, upload the drive journal files that you obtained during the drive preparation step. 如果使用了 waimportexport.exe version1,需要为已准备好的每个驱动器上传一个文件。If waimportexport.exe version1 was used, you need to upload one file for each drive that you have prepared. 在“导入目标”存储帐户部分中,选择要将数据导入哪个存储帐户。Select the storage account that the data will be imported into in the "Import destination" Storage account section. “放置位置”根据选定存储帐户所属的区域自动进行填充。The Drop-Off location is automatically populated based on the region of the storage account selected.

    创建导入作业 - 步骤 3

  4. 在“回寄信息”部分中,从下拉列表中选择快递商,并输入已通过此快递商创建的有效快递商帐号。In Return shipping info section, select the carrier from the drop-down list and enter a valid carrier account number that you have created with that carrier. 当导入作业完成后,我们使用此帐户寄回驱动器。We use this account to ship the drives back to you once your import job is complete. 输入完整、有效的联系人姓名、电话号码、电子邮件地址、街道地址、城市、邮政编码、州/省/自治区/直辖市和国家/地区。Provide a complete and valid contact name, phone, email, street address, city, zip, state/proviince and country/region.

  5. 在“摘要”部分中,输入 Azure 数据中心寄送地址是为了将磁盘寄送到 Azure 数据中心。In the Summary section, Azure DataCenter shipping address is provided to be used for shipping disks to Azure DC. 请确保寄送标签上标明了作业名称和完整地址。Ensure that the job name and the full address are mentioned on the shipping label.

  6. 单击“摘要页”上的“确定”,完成“创建导入作业”。Click OK on the Summary Page to complete Import job creation.

步骤 3:将驱动器寄送到步骤 2 中提供的 Azure 数据中心寄送地址。Step 3: Ship the drive/s to the Azure Datacenter shipping address provided in Step 2.

可以使用 FedEx 或中国邮政将包裹寄送到 Azure DC。FedEx or the China Postal Service can be used to ship the package to Azure DC.

步骤 4:使用货物的跟踪号更新在步骤 2 中创建的作业。Step 4: Update the job created in Step2 with tracking number of the shipment.

寄送磁盘后,返回到 Azure 门户上的“导入/导出” 页,通过以下步骤更新跟踪号:a) 转到并单击导入作业;b) 单击“驱动器寄送后,更新作业状态和跟踪信息” 。After shipping the disks, return to the Import/Export page on the Azure portal to update the tracking number using the steps below, a) Navigate and click on the import job b) Click on Update job status and tracking info once drives are shipped. c) 选中“标记为‘已寄送’”复选框;d) 输入“快递商”和“跟踪号码”。c) Select the check box "Mark as shipped" d) Provide the Carrier and Tracking number. 如果在创建作业后的 2 周内未更新跟踪号,该作业便会过期。If the tracking number is not updated within 2 weeks of creating the job, the job will expire. 可以在门户仪表板上跟踪作业进度。The job progress can be tracked on the portal dashboard. 若要了解上一部分中每个作业状态的含义,请 查看作业状态See what each job state in the previous section means by Viewing your job status.

应该在什么时候使用 Azure 导入/导出服务?When should I use the Azure Import/Export service?

如果通过网络上传或下载数据速度太慢,或者获取额外的网络带宽因成本过高而受到限制,则可考虑使用 Azure 导入/导出服务。Consider using Azure Import/Export service when uploading or downloading data over the network is too slow, or getting additional network bandwidth is cost-prohibitive.

下面这样的场景可以使用此服务:You can use this service in scenarios such as:

  • 将数据迁移到云:将大量数据快速且经济高效地转移到 Azure。Migrating data to the cloud: Move large amounts of data to Azure quickly and cost effectively.
  • 内容分发:将数据快速发送到客户站点。Content distribution: Quickly send data to your customer sites.
  • 备份:将本地数据备份后存储在 Azure 存储中。Backup: Take backups of your on-premises data to store in Azure Storage.
  • 数据恢复:恢复存储在存储中的大量数据,然后将其递送到本地位置。Data recovery: Recover large amount of data stored in storage and have it delivered to your on-premises location.

先决条件Prerequisites

本部分列出了使用此服务需要满足的先决条件。In this section, we list the prerequisites required to use this service. 在寄送驱动器之前仔细查看这些先决条件。Review them carefully before shipping your drives.

存储帐户Storage account

必须拥有 Azure 订阅以及一个或多个存储帐户才能使用导入/导出服务。You must have an existing Azure subscription and one or more storage accounts to use the Import/Export service. Azure 导入/导出仅支持经典、Blob 存储帐户和常规用途 v1 存储帐户。Azure Import/Export only supports classic, Blob Storage accounts and General Purpose v1 storage accounts. 每个作业只能用于将数据传入/传出一个存储帐户。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.

Important

Azure 导入导出服务不支持已启用虚拟网络服务终结点功能的存储帐户。The Azure Import Export service does not support storage accounts where the Virtual Network Service Endpoints feature has been enabled.

数据类型Data types

可使用 Azure 导入/导出服务将数据复制到“块”Blob、“页”Blob 或文件中。 You can use Azure Import/Export service to copy data to Block blobs, Page blobs, or Files. 与之相反,只能使用此服务从 Azure 存储中导出块 blob、页 blob 或追加 blob。Conversely, you can only export Block blobs, Page blobs or Append blobs from Azure storage using this service. 该服务仅支持将 Azure 文件导入到 Azure 存储。The service supports only import of Azure Files into Azure storage. 当前暂不支持导出 Azure 文件。Exporting Azure Files is not currently supported.

作业Job

要开始从存储进行导入或导出的过程,首先要创建一个“作业”。To begin the process of importing to or exporting from storage, you first create a job. 作业可以是“导入作业”或“导出作业”:A job can be an import job or an export job:

  • 需要将本地数据传输到 Azure 存储帐户时,可创建导入作业。Create an import job when you want to transfer data you have on-premises to your Azure storage account.

  • 若要将当前在存储帐户中存储的数据传输到寄送给我们的硬盘,请创建导出作业。Create an export job when you want to transfer data currently stored in your storage account to hard drives that are shipped to us. 创建作业时,需通知导入/导出服务:要将一个或多个硬盘驱动器运送到 Azure 数据中心。When you create a job, you notify the Import/Export service that you will be shipping one or more hard drives to an Azure data center.

  • 对于导入作业,需要寄送包含数据的硬盘驱动器。For an import job, you will be shipping hard drives containing your data.

  • 对于导出作业,需要寄送空硬盘驱动器。For an export job, you will be shipping empty hard drives.

  • 每个作业最多可以寄送 10 个硬盘驱动器。You can ship up to 10 hard disk drives per job.

可以使用 Azure 门户或 Azure 存储导入/导出 REST API 创建导入或导出作业。You can create an import or export job using the Azure portal or the Azure Storage Import/Export REST API.

Note

自 2018 年 2 月 28 日起将不再支持 RDFE API。The RDFE APIs will not be supported February 28, 2018 onwards. 若要继续使用此服务,请迁移到 ARM 导入/导出 REST APITo continue using the service, migrate to the ARM Import/Export REST APIs.

WAImportExport 工具WAImportExport tool

创建 导入 作业的第一步是准备需要通过寄送进行数据导入的驱动器。The first step in creating an import job is to prepare your drives that will be shipped for import. 要准备驱动器,必须将其连接到本地服务器,然后在本地服务器上运行 WAImportExport 工具。To prepare your drives, you must connect it to a local server and run the WAImportExport Tool on the local server. 使用此 WAImportExport 工具可以方便地将数据复制到驱动器、使用 BitLocker 加密驱动器上的数据,以及生成驱动器日志文件。This WAImportExport tool facilitates copying your data to the drive, encrypting the data on the drive with BitLocker, and generating the drive journal files.

日志文件存储有关作业和驱动器的基本信息,例如驱动器序列号和存储帐户名称。The journal files store basic information about your job and drive such as drive serial number and storage account name. 此日志文件不存储在该驱动器上。This journal file is not stored on the drive. 它在导入作业创建期间使用。It is used during import job creation. 本文后面提供了有关作业创建过程的分步详细信息。Step-by-step details about job creation are provided later in this article.

WAImportExport 工具仅兼容 64 位 Windows 操作系统。The WAImportExport tool is only compatible with 64-bit Windows operating system. 请参阅 操作系统 部分以了解受支持的特定 OS 版本。See the Operating System section for specific OS versions supported.

下载最新版本的 WAImportExport 工具Download the latest version of the WAImportExport tool. 有关使用 WAImportExport 工具的详细信息,请参阅使用 WAImportExport 工具For more details about using the WAImportExport Tool, see the Using the WAImportExport Tool.

Note

以前的版本: 可以下载 WAImportExpot V1 版本的工具,并参考 WAImportExpot V1 使用指南Previous Version: You can download WAImportExpot V1 version of the tool and refer to WAImportExpot V1 usage guide. WAImportExpot V1 版本的工具支持在已将数据预先写入磁盘的情况下准备磁盘 。WAImportExpot V1 version of the tool does provide support for preparing disks when data is already pre-written to the disk. 如果唯一可用的密钥是 SAS 密钥,则也需要 WAImportExpot V1 工具。If the only key available is SAS-Key, you need to use WAImportExpot V1 tool .

硬盘驱动器Hard disk drives

只支持将 2.5 英寸 SSD 或者 2.5/3.5 英寸 SATA II 或 III 内部 HDD 用于导入/导出服务。Only 2.5 inch SSD or 2.5" or 3.5" SATA II or III internal HDD are supported for use with the Import/Export service. 单个导入/导出作业最多可以有 10 个 HDD/SSD,并且每个 HDD/SSD 可以为任意大小。A single import/export job can have a maximum of 10 HDD/SSDs and each individual HDD/SSD can be of any size. 大量驱动器可在多个作业中分布,且对可创建的作业数量没有限制。Large number of drives can be spread across multiple jobs and there is no limits on the number of jobs that can be created.

对于导入作业,仅处理驱动器上的第一个数据卷。For import jobs, only the first data volume on the drive is processed. 该数据卷必须使用 NTFS 进行格式化。The data volume must be formatted with NTFS.

Important

此服务不支持内置 USB 适配器附带的外部硬盘驱动器。External hard disk drives that come with a built-in USB adaptor are not supported by this service. 此外,不能使用外部 HDD 包装内的磁盘;请勿寄送外部 HDD。Also, the disk inside the casing of an external HDD cannot be used; do not send external HDDs.

以下是用于将数据复制到内部 HDD 的外部 USB 适配器列表。Following is a list of external USB adaptors used to copy data to internal HDDs. Anker 68UPSATAA-02BU Anker 68UPSHHDS-BU Startech SATADOCK22UE Orico 6628SUS3-C-BK(6628 系列)Thermaltake BlacX Hot-Swap SATA External Hard Drive Docking Station(USB 2.0 和 eSATA)Anker 68UPSATAA-02BU Anker 68UPSHHDS-BU Startech SATADOCK22UE Orico 6628SUS3-C-BK (6628 Series) Thermaltake BlacX Hot-Swap SATA External Hard Drive Docking Station (USB 2.0 & eSATA)

EncryptionEncryption

必须使用 BitLocker 驱动器加密对驱动器上的数据进行加密。The data on the drive must be encrypted using BitLocker Drive Encryption. 此加密会在运送过程中保护数据。This encryption protects your data while it is in transit.

对于导入作业,可以通过两种方式进行加密。For import jobs, there are two ways to perform the encryption. 第一种方式是在运行 WAImportExport 工具准备驱动器时,使用数据集 CSV 文件指定该选项。The first way is to specify the option when using dataset CSV file while running the WAImportExport tool during drive preparation. 第二种方式是在准备驱动器期间,在驱动器上手动启用 BitLocker 加密并在运行 WAImportExport 工具命令行时,在驱动集 CSV 文件中指定加密密钥。The second way is to enable BitLocker encryption manually on the drive and specify the encryption key in the driveset CSV when running WAImportExport tool command line during drive preparation.

对于导出作业,在将你的数据复制到驱动器以后,此服务会使用 BitLocker 加密驱动器,此后再将驱动器寄回给你。For export jobs, after your data is copied to the drives, the service will encrypt the drive using BitLocker before shipping it back to you. 加密密钥是通过 Azure 门户提供的。The encryption key is provided to you via the Azure portal.

操作系统Operating System

在将驱动器寄送到 Azure 之前,可以使用下述 64 位操作系统之一通过 WAImportExport 工具准备硬盘驱动器:You can use one of the following 64-bit Operating Systems to prepare the hard drive using the WAImportExport Tool before shipping the drive to Azure:

Windows 7 Enterprise、Windows 7 Ultimate、Windows 8 Pro、Windows 8 Enterprise、Windows 8.1 Pro、Windows 8.1 Enterprise、Windows 10、Windows Server 2008 R2、Windows Server 2012、Windows Server 2012 R2。Windows 7 Enterprise, Windows 7 Ultimate, Windows 8 Pro, Windows 8 Enterprise, Windows 8.1 Pro, Windows 8.1 Enterprise, Windows 10, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2. 所有这些操作系统都支持 BitLocker 驱动器加密。All of these operating systems support BitLocker Drive Encryption.

位置Locations

Azure 导入/导出服务支持将数据复制到所有公共 Azure 存储帐户,以及从后者进行复制。The Azure Import/Export service supports copying data to and from all Public Azure storage accounts. 可以将硬盘驱动器寄送到列出的其中一个位置。You can ship hard disk drives to one of the listed locations. 如果存储帐户所在的公共 Azure 位置没有在这里指定,则使用 Azure 门户或导入/导出 REST API 创建作业时,会提供备用的寄送位置。If your storage account is in a public Azure location which is not specified here, an alternate shipping location will be provided when you are creating the job using the Azure portal or the Import/Export REST API.

支持的寄送位置:Supported shipping locations:

  • 中国东部China East
  • 中国北部China North

装运Shipping

将驱动器寄送到数据中心:Shipping drives to the data center:

创建导入或导出作业时,会向你提供某个受支持位置的寄送地址,以便你寄送自己的驱动器。When creating an import or export job, you will be provided a shipping address of one of the supported locations to ship your drives. 提供的寄送地址取决于存储帐户的位置,但可能不同于存储帐户位置。The shipping address provided depends on the location of your storage account, but may not be the same as your storage account location.

可以通过 FedEx 或中国邮政等快递商将驱动器寄送到寄送地址。You can use carriers like FedEx or the China Postal Service to ship your drives to the shipping address.

从数据中心寄送驱动器:Shipping drives from the data center:

创建导入或导出作业时,必须提供回寄地址,以便 21Vainet 在作业完成后使用该地址寄回驱动器。When creating an import or export job, you must provide a return address for 21Vainet to use when shipping the drives back after your job is complete. 请确保提供有效的回寄地址,以免延误对驱动器的处理。Please make sure you provide a valid return address to avoid delays in processing.

该承运人商应提供相应的跟踪号来维护监护链。The carrier should have appropriate tracking in order to maintain chain of custody. 此外,还必须提供有效的中国邮政服务帐号,以便我们寄回驱动器。You must also provide a valid China Postal Service account number to be used by us for shipping the drives back. 如果已经有了一个快递商帐户号码,请确保其有效。If you already have a carrier account number, please verify that it is valid.

寄送包裹时,必须遵循 Azure 服务条款中的条款。In shipping your packages, you must follow the terms at Azure Service Terms.

Important

请注意,发运的物理介质可能需要穿越国界。Note that the physical media that you are shipping may need to cross international borders. 应当负责确保物理介质和数据是遵照适用的法律导入和/或导出的。You are responsible for ensuring that your physical media and data are imported and/or exported in accordance with the applicable laws. 在寄送物理介质之前,请咨询顾问以验证介质和数据是否可以合法地寄送到所确定的数据中心。Before shipping the physical media, check with your advisers to verify that your media and data can legally be shipped to the identified data center. 这有助于确保它可以及时到达 Microsoft。This helps to ensure that it reaches Microsoft in a timely manner. 例如,任何跨国界的包裹都需要附上商业发票(除非在欧盟内跨越国界)。For instance, any package that crosses international borders needs a commercial invoice to be accompanied with the package (except if crossing borders within European Union). 可从快递商网站打印填写好的商业发票的副本。You could print out a filled copy of the commercial invoice from carrier website. 比如,商业发票可以是 FedEx 商业发票Example of commercial invoice is FedEx Commercial Invoice. 请确保 Microsoft 未被指定为导出者。Make sure that Microsoft has not been indicated as the exporter.

Azure 导入/导出服务是如何工作的?How does the Azure Import/Export service work?

可以使用 Azure 导入/导出服务在本地站点和 Azure 存储之间传输数据,只需创建作业,然后将硬盘驱动器寄送到 Azure 数据中心即可。You can transfer data between your on-premises site and Azure storage using the Azure Import/Export service by creating jobs and shipping hard disk drives to an Azure data center. 寄送的每个硬盘驱动器都与单个作业相关联。Each hard disk drive you ship is associated with a single job. 每个作业都与单个存储帐户相关联。Each job is associated with a single storage account. 请仔细查看先决条件部分,以了解此服务的具体情况,例如支持的数据类型、磁盘类型、位置和寄送方式。Review the pre-requisites section carefully to learn about the specifics of this service such as supported data types, disk types, locations, and shipping.

此部分介绍作业导入和导出操作中涉及的高级别步骤。In this section, high level steps involved in import and export of jobs are described. 随后,将提供分步说明,指导如何创建导入和导出作业。Later, step-by-step instructions to create an import and export job is provided.

关于导入作业Inside an import job

概括而言,导入作业包括以下步骤:At a high level, an import job involves the following steps:

  • 确定要导入的数据,以及所需驱动器数目。Determine the data to be imported, and the number of drives you need.

  • 确定 Azure 存储中用于存储数据的目标 Blob 或文件位置。Identify the destination blob or file location for your data in Azure storage.

  • 使用 WAImportExport 工具将数据复制到一个或多个硬盘驱动器,并使用 BitLocker 进行加密。Use the WAImportExport Tool to copy your data to one or more hard disk drives and encrypt them with BitLocker.

  • 使用 Azure 门户或导入/导出 REST API 在目标存储帐户中创建导入作业。Create an import job in your target storage account using the Azure portal or the Import/Export REST API. 如果使用 Azure 门户,请上传驱动器日记文件。If using the Azure portal, upload the drive journal files.

  • 请提供回寄地址以及快递商帐户号码,以便我们将驱动器寄回给你。Provide the return address and carrier account number to be used for shipping the drives back to you.

  • 将硬盘驱动器寄送到在创建作业时获得的寄送地址。Ship the hard disk drives to the shipping address provided during job creation.

  • 在导入作业详细信息中更新快递跟踪号码,并提交导入作业。Update the delivery tracking number in the import job details and submit the import job.

  • Azure 数据中心在收到驱动器后会对其进行处理。Drives are received and processed at the Azure data center.

  • 该中心会使用快递商帐户将驱动器寄送到在导入作业中提供的回寄地址。Drives are shipped using your carrier account to the return address provided in the import job.

    图 1:导入作业流

关于导出作业Inside an export job

Important

该服务仅支持导出 Azure Blob,不支持导出 Azure 文件。The service only support export of Azure Blobs and does not support export of Azure Files..

概括而言,导出作业包括以下步骤:At a high level, an export job involves the following steps:

  • 确定要导出的数据,以及所需驱动器数目。Determine the data to be exported and the number of drives you need.

  • 确定数据在 Blob 存储中的源 Blob 或容器路径。Identify the source blobs or container paths of your data in Blob storage.

  • 使用 Azure 门户或导入/导出 REST API 在源存储帐户中创建导出作业。Create an export job in your source storage account using the Azure portal or the Import/Export REST API.

  • 指定数据在导出作业中的源 Blob 或容器路径。Specify the source blobs or container paths of your data in the export job.

  • 请提供回寄地址以及快递商帐户号码,以便我们将驱动器寄回给你。Provide the return address and carrier account number for to be used for shipping the drives back to you.

  • 将硬盘驱动器寄送到在创建作业时获得的寄送地址。Ship the hard disk drives to the shipping address provided during job creation.

  • 在导出作业详细信息中更新快递跟踪号码,并提交导出作业。Update the delivery tracking number in the export job details and submit the export job.

  • Azure 数据中心在收到驱动器后会对其进行处理。The drives are received and processed at the Azure data center.

  • 驱动器使用 BitLocker 加密;密钥通过 Azure 门户提供。The drives are encrypted with BitLocker; the keys are available via the Azure portal.

  • 该中心会使用快递商帐户将驱动器寄送到在导入作业中提供的回寄地址。The drives are shipped using your carrier account to the return address provided in the import job.

    图 2:导出作业流

查看作业和驱动器状态Viewing your job and drive status

可以从 Azure 门户跟踪导入或导出作业的状态。You can track the status of your import or export jobs from the Azure portal. 单击“导入/导出” 选项卡。随即页面上显示作业列表。Click the Import/Export tab. A list of your jobs appears on the page.

查看作业状态

会看到以下作业状态之一,具体取决于驱动器处于哪个处理阶段。You see one of the following job statuses depending on where your drive is in the process.

作业状态Job Status 说明Description
CreatingCreating 创建一个作业后,其状态设置为 Creating。After a job is created, its state is set to Creating. 当作业处于 Creating 状态时,导入/导出服务假设驱动器尚未寄送到数据中心。While the job is in the Creating state, the Import/Export service assumes the drives have not been shipped to the data center. 作业可保持 Creating 状态最多两周,之后服务会自动将其删除。A job may remain in the Creating state for up to two weeks, after which it is automatically deleted by the service.
装运Shipping 寄出包裹后,应在 Azure 门户中更新跟踪信息。After you ship your package, you should update the tracking information in the Azure portal. 这会将作业转为“Shipping”状态。This will turn the job into "Shipping". 作业会保持 Shipping 状态最多两周。The job will remain in the Shipping state for up to two weeks.
ReceivedReceived 数据中心中收到所有驱动器后,作业状态会设置为 Received。After all drives have been received at the data center, the job state will be set to the Received.
转移Transferring 至少已开始处理一个驱动器后,作业状态会设置为 Transferring。Once at least one drive has begun processing, the job state will be set to the Transferring. 有关详细信息,请参阅下面的“驱动器状态”部分。See the Drive States section below for detailed information.
打包Packaging 处理完所有驱动器后,作业会进入 Packaging 状态,直到将驱动器寄回给你。After all drives have completed processing, the job will be placed in the Packaging state until the drives are shipped back to you.
已完成Completed 将所有驱动器寄回给客户后,如果完成作业时未出现错误,则会将该作业设置为 Completed 状态。After all drives have been shipped back to the customer, if the job has completed without errors, then the job will be set to the Completed state. 作业在保持 Completed 状态 90 天后自动删除。The job will be automatically deleted after 90 days in the Completed state.
已关闭Closed 将所有驱动器寄回给客户后,如果在处理作业期间出现过错误,则会将该作业设置为 Closed 状态。After all drives have been shipped back to the customer, if there have been any errors during the processing of the job, then the job will be set to the Closed state. 作业在保持 Closed 状态 90 天后自动删除。The job will be automatically deleted after 90 days in the Closed state.

下表描述了单个驱动器在导入或导出作业中转换时的生命周期。The table below describes the life cycle of an individual drive as it transitions through an import or export job. 现在,作业中每个驱动器的当前状态都会在 Azure 门户中显示。The current state of each drive in a job is now visible from the Azure portal. 下表描述了每个驱动器在作业中可能经历的每种状态。The following table describes each state that each drive in a job may pass through.

驱动器状态Drive State 说明Description
SpecifiedSpecified 对于导入作业,在 Azure 门户中创建作业时,驱动器的初始状态为 Specified。For an import job, when the job is created from the Azure portal, the initial state for a drive is the Specified state. 对于导出作业,由于在创建该作业时未指定驱动器,因此驱动器的初始状态为 Received。For an export job, since no drive is specified when the job is created, the initial drive state is the Received state.
ReceivedReceived 导入/导出服务操作员为导入作业处理从货运公司收到的驱动器后,驱动器转换为 Received 状态。The drive transitions to the Received state when the Import/Export service operator has processed the drives that were received from the shipping company for an import job. 对于导出作业,初始驱动器状态为 Received。For an export job, the initial drive state is the Received state.
NeverReceivedNeverReceived 当作业的包裹已送达但包裹不包含驱动器时,驱动器会转换为 NeverReceived 状态。The drive will move to the NeverReceived state when the package for a job arrives but the package doesn't contain the drive. 如果在服务收到发货信息后的两周内包裹未送达数据中心,驱动器也会转换为此状态。A drive can also move into this state if it has been two weeks since the service received the shipping information, but the package has not yet arrived at the data center.
转移Transferring 服务开始将数据从驱动器传输到 Azure 存储时,驱动器会转为 Transferring 状态。A drive will move to the Transferring state when the service begins to transfer data from the drive to Azure Storage.
已完成Completed 服务成功传输所有数据且未出错时,驱动器会转换为 Completed 状态。A drive will move to the Completed state when the service has successfully transferred all the data with no errors.
CompletedMoreInfoCompletedMoreInfo 如果服务在从驱动器中复制数据或将数据复制到驱动器时遇到一些问题,驱动器会转为 CompletedMoreInfo 状态。A drive will move to the CompletedMoreInfo state when the service has encountered some issues while copying data either from or to the drive. 信息可以包含有关覆盖 Blob 的错误、警告或信息性消息。The information can include errors, warnings, or informational messages about overwriting blobs.
ShippedBackShippedBack 驱动器从数据中心寄送到回邮地址后,驱动器会转换为 ShippedBack 状态。The drive will move to the ShippedBack state when it has been shipped from the data center back to the return address.

Azure 门户中的此映像会显示示例作业的驱动器状态:This image from the Azure portal displays the drive state of an example job:

查看驱动器状态

下表描述了驱动器故障状态以及针对每种状态采取的措施。The following table describes the drive failure states and the actions taken for each state.

驱动器状态Drive State 事件Event 解决方法/后续步骤Resolution / Next step
NeverReceivedNeverReceived 标记为 NeverReceived 的驱动器(因为在作业寄送过程中未收到)通过另一次寄送送达。A drive that is marked as NeverReceived (because it was not received as part of the job's shipment) arrives in another shipment. 运营团队将驱动器状态转为 Received。The operations team will move the drive to the Received state.
不适用N/A 不属于任何作业的驱动器会作为其他作业的一部分送至数据中心。A drive that is not part of any job arrives at the data center as part of another job. 完成与原始包裹关联的作业后,驱动器会标记为额外驱动器并寄回给客户。The drive will be marked as an extra drive and will be returned to the customer when the job associated with the original package is completed.

处理作业的时间Time to process job

处理导入/导出作业的时间各不相同,取决于很多因素,例如寄送时间、数据中心的加载、要复制的数据的作业类型和大小,以及作业中的磁盘数量。The amount of time it takes to process an import/export job varies based on a number of factors such as shipping time, the load at the DataCenter, the job type and size of the data being copied, and number of disks in a job. 导入/导出服务没有 SLA,但在收到磁盘之后,服务力求在 7 到 10 天内完成复制。Import/Export service does not have an SLA but the service strives to complete the copy in 7 to 10 days after the disks are received. 除了在 Azure 门户上发布的状态以外,REST API 还可用于跟踪作业进度。In addition to the status posted on Azure Portal, REST APIs can be used to track the job progress. 作业操作 API 调用的列表中的完成百分比参数提供了复制进度的百分比。The percent complete parameter in the List Jobs operation API call provides the percentage copy progress.

定价Pricing

驱动器处理费用Drive handling fee

在导入或导出作业的过程中,处理每个驱动器都需要支付驱动器处理费用。There is a drive handling fee for each drive processed as part of your import or export job. 请参阅有关 Azure 导入/导出定价的详细信息。See the details on the Azure Import/Export Pricing.

寄送费用Shipping costs

将驱动器寄送到 Azure 时,需要向快递商支付寄送费用。When you ship drives to Azure, you pay the shipping cost to the shipping carrier. 当 Microsoft 将驱动器寄回给你时,寄送费用由你在创建作业时提供的快递商帐户支付。When Microsoft returns the drives to you, the shipping cost is charged to the carrier account which you provided at the time of job creation.

事务费用Transaction costs

将数据导入 Azure 存储时,除标准存储事务成本外没有任何事务成本。There are no transaction costs in addition to standard storage transaction costs when importing data into Azure Storage. 将数据从 Blob 存储导出时,需支付标准的传出费用。The standard egress charges are applicable when data is exported from Blob storage. 有关事务费用的更多详细信息,请参阅 数据传输定价For more details on transaction costs, see Data transfer pricing.

如何使用内部 SATA HDD 和 SSD 将数据导入 Azure 文件存储?How to import data into Azure File Storage using internal SATA HDDs and SSDs?

如果将磁盘上的数据导入 Azure 文件 存储,请执行以下步骤。Follow the below steps if the data on the disk is to be imported into Azure File Storage. 使用 Azure 导入/导出服务导入数据时,第一步是通过 WAImportExport 工具准备驱动器。The first step when importing data using the Azure Import/Export service is to prepare your drives using the WAImportExport tool. 按照以下步骤准备驱动器。Follow the steps below to prepare your drives.

  1. 标识要导入 Azure 文件存储的数据。Identify the data to be imported into Azure File Storage. 导入的数据可以是本地服务器或网络共享中的目录和独立文件。This could be directories and standalone files on the local server or a network share.

  2. 根据数据总大小确定所需驱动器数目。Determine the number of drives you will need depending on total size of the data. 采购所需数目的 2.5 英寸 SSD 或者 2.5/3.5 英寸 SATA II 或 III 硬盘驱动器。Procure the required number of 2.5 inch SSD or 2.5" or 3.5" SATA II or III hard disk drives.

  3. 确定要复制到每个磁盘驱动器的目录和/或独立文件。Determine the directories and/or standalone files that will be copied to each hard disk drive.

  4. 为数据集和驱动器集创建 CSV 文件。Create the CSV files for dataset and driveset.

    以下是导入数据作为 Azure 文件的数据集 CSV 文件示例:Below is a sample dataset CSV file example for importing data as Azure Files:

    BasePath,DstItemPathOrPrefix,ItemType,Disposition,MetadataFile,PropertiesFile
    "F:\50M_original\100M_1.csv.txt","fileshare/100M_1.csv.txt",file,rename,"None",None
    "F:\50M_original\","fileshare/",file,rename,"None",None 
    

    在上面的示例中,100M_1.csv.txt 将复制到“fileshare”的根目录中。In the above example, 100M_1.csv.txt will be copied to the root of the "fileshare". 如果“Fileshare”不存在,将创建一个。If the "Fileshare" does not exist, one will be created. 50M_original 下的所有文件和文件夹以递归方式复制到 fileshare。All files and folders under 50M_original will be recursively copied to fileshare. 文件夹结构保持不变。Folder structure will be maintained.

驱动器集 CSV 文件Driveset CSV File

驱动器集标志的值是一个 CSV 文件,其中包含要将驱动器号映射到的磁盘的列表,以便工具可以正确选择要准备的磁盘列表。The value of the driveset flag is a CSV file which contains the list of disks to which the drive letters are mapped in order for the tool to correctly pick the list of disks to be prepared.

下面是驱动器集 CSV 文件的示例:Below is the example of driveset CSV file:

DriveLetter,FormatOption,SilentOrPromptOnFormat,Encryption,ExistingBitLockerKey
G,AlreadyFormatted,SilentMode,AlreadyEncrypted,060456-014509-132033-080300-252615-584177-672089-411631 |
H,Format,SilentMode,Encrypt,

在上面的示例中,假设附加了两个磁盘,并创建了盘符为 G:\ 和 H:\ 的基本 NTFS 卷。In the above example, it is assumed that two disks are attached and basic NTFS volumes with volume-letter G:\ and H:\ have been created. 工具会格式化并加密托管 H:\ 的磁盘,但不会格式化或加密托管卷 G:\ 的磁盘。The tool will format and encrypt the disk which hosts H:\ and will not format or encrypt the disk hosting volume G:.

  1. 使用 WAImportExport 工具将数据复制到一个或多个硬盘驱动器。Use the WAImportExport Tool to copy your data to one or more hard drives.

  2. 可以通过在驱动器集 CSV 中的 Encryption 字段内指定“Encrypt”,在硬盘驱动器上启用 BitLocker 加密。You can specify "Encrypt" on Encryption field in drivset CSV to enable BitLocker encryption on the hard disk drive. 也可以手动在硬盘驱动器上启用 BitLocker 加密,并在运行工具时,在驱动器集 CSV 文件中指定“AlreadyEncrypted”并提供密钥。Alternatively, you could also enable BitLocker encryption manually on the hard disk drive and specify "AlreadyEncrypted" and supply the key in the driveset CSV while running the tool.

  3. 完成磁盘准备操作以后,请勿修改硬盘驱动器上的数据,也勿修改日志文件。Do not modify the data on the hard disk drives or the journal file after completing disk preparation.

Important

准备的每个硬盘驱动器都会生成一个日记文件。Each hard disk drive you prepare will result in a journal file. 使用 Azure 门户创建导入作业时,必须上传属于该导入作业的驱动器的所有日记文件。When you are creating the import job using the Azure portal, you must upload all the journal files of the drives which are part of that import job. 不带日志文件的驱动器得不到处理。Drives without journal files will not be processed.

下面是使用 WAImportExport 工具进行硬盘驱动器准备的命令和示例。Below are the commands and examples for preparing the hard disk drive using WAImportExport tool.

在第一个复制会话中使用新复制会话复制目录和/或文件的 WAImportExport 工具 PrepImport 命令:WAImportExport tool PrepImport command for the first copy session to copy directories and/or files with a new copy session:

WAImportExport.exe PrepImport /j:<JournalFile> /id:<SessionId> [/logdir:<LogDirectory>] [/sk:<StorageAccountKey>] [/silentmode] [/InitialDriveSet:<driveset.csv>] DataSet:<dataset.csv>

导入示例 1 Import example 1

WAImportExport.exe PrepImport /j:JournalTest.jrn /id:session#1  /sk:************* /InitialDriveSet:driveset-1.csv /DataSet:dataset-1.csv /logdir:F:\logs

若要 添加更多驱动器,可以创建一个新的驱动器集文件并运行以下命令。In order to add more drives, one can create a new driveset file and run the command as below. 如果后续复制会话中的磁盘驱动器与 InitialDriveset .csv 中指定的不同,请指定一个新的驱动器集 CSV 文件并将其作为值提供给“AdditionalDriveSet”参数。For subsequent copy sessions to the different disk drives than specified in InitialDriveset .csv file, specify a new driveset CSV file and provide it as a value to the parameter "AdditionalDriveSet". 使用同一日记文件 名称并提供新的会话 ID 。Use the same journal file name and provide a new session ID. AdditionalDriveset CSV 文件的格式与 InitialDriveSet 的格式相同。The format of AdditionalDriveset CSV file is same as InitialDriveSet format.

WAImportExport.exe PrepImport /j:<JournalFile> /id:<SessionId> /AdditionalDriveSet:<driveset.csv>

导入示例 2 Import example 2

WAImportExport.exe PrepImport /j:JournalTest.jrn /id:session#3  /AdditionalDriveSet:driveset-2.csv

为了向同一驱动器集添加其他数据,可以为后续复制会话调用 WAImportExport 工具 PrepImport 命令以复制其他文件/目录:在后续复制会话中将数据复制到 InitialDriveset.csv 文件中指定的同一组硬盘驱动器时,请指定同一日志文件名称并提供新的会话 ID;不需要提供存储帐户密钥。In order to add additional data to the same driveset, WAImportExport tool PrepImport command can be called for subsequent copy sessions to copy additional files/directory: For subsequent copy sessions to the same hard disk drives specified in InitialDriveset .csv file, specify the same journal file name and provide a new session ID; there is no need to provide the storage account key.

WAImportExport PrepImport /j:<JournalFile> /id:<SessionId> /j:<JournalFile> /id:<SessionId> [/logdir:<LogDirectory>] DataSet:<dataset.csv>

导入示例 3 Import example 3

WAImportExport.exe PrepImport /j:JournalTest.jrn /id:session#2  /DataSet:dataset-2.csv

另请参阅为导入作业准备硬盘驱动器的示例工作流,以获取更详细的分步说明。Also, refer to the Sample workflow to prepare hard drives for an import job for more detailed step-by-step instructions.

创建导出作业Create an export job

创建导出作业的目的是通知导入/导出服务:用户要将一个或多个空驱动器寄送到数据中心;这样数据中心就可以将数据从用户的存储帐户导出到驱动器,并将驱动器寄送给用户。Create an export job to notify the Import/Export service that you'll be shipping one or more empty drives to the data center so that data can be exported from your storage account to the drives and the drives then shipped to you.

准备驱动器Prepare your drives

对驱动器进行准备以便完成导出作业时,建议执行以下预检查:Following pre-checks are recommended for preparing your drives for an export job:

  1. 使用 WAImportExport 工具的 PreviewExport 命令检查所需的磁盘数。Check the number of disks required using the WAImportExport tool's PreviewExport command. 有关详细信息,请参阅预览导出作业的驱动器使用情况For more information, see Previewing Drive Usage for an Export Job. 它可以根据要使用的驱动器大小,帮助你预览所选 Blob 的驱动器使用情况。It helps you preview drive usage for the blobs you selected, based on the size of the drives you are going to use.
  2. 请检查你是否可以读取/写入需要寄送的用于导出作业的硬盘驱动器。Check that you can read/write to the hard drive that will be shipped for the export job.

创建导出作业Create the export job

  1. 若要创建导出作业,请在 Azure 门户上依次转到“更多服务”->“存储”->“导入/导出作业”。To create an export job, navigate to More services -> STORAGE -> "Import/export jobs" on the Azure portal. 单击“创建导入/导出作业” 。Click Create Import/export Job.

  2. 在“第 1 步:基本信息”中,选择“从 Azure 导出”,输入作业名称字符串,选择订阅,输入或选择资源组。In Step 1 Basics, select "Export from Azure", enter a string for job name, select a subscription, enter or select a resource group. 输入导入作业的描述性名称。Enter a descriptive name for the import job. 请注意,输入的名称只能包含小写字母、数字、连字符和下划线,必须以字母开头并且不得包含空格。Note that the name you enter may contain only lowercase letters, numbers, hyphens, and underscores, must start with a letter, and may not contain spaces. 在作业进行中以及作业完成后,将使用所选名称来跟踪作业。You will use the name you choose to track your jobs while they are in progress and once they are completed. 输入此导出作业的负责人的联系信息。provide contact information for the person responsible for this export job.

  3. 在“第 2 步:作业详细信息”中,从存储帐户部分中选择要导出其中数据的存储帐户。In Step 2 Job details, select the storage account that the data will be exported from in the Storage account section. “放置位置”将根据选定存储帐户所属的区域自动进行填充。The Drop-Off location will be automatically populated based on the region of the storage account selected. 指定要从存储帐户导出到空驱动器的 blob 数据。Specify which blob data you wish to export from your storage account to your blank drive or drives. 可以选择导出该存储帐户中的所有 Blob 数据,也可以指定要导出的 Blob 或 Blob 组。You can choose to export all blob data in the storage account, or you can specify which blobs or sets of blobs to export.

    若要指定要导出的 Blob,请使用“等于”选择器,并指定该 Blob 的相对路径,以容器名称开头 。To specify a blob to export, use the Equal To selector, and specify the relative path to the blob, beginning with the container name. 使用 $root 指定根容器。Use $root to specify the root container.

    若要指定以某一前缀开头的所有 Blob,请使用“开头为”选择器,并指定前缀,以正斜杠“/”开头 。To specify all blobs starting with a prefix, use the Starts With selector, and specify the prefix, beginning with a forward slash '/'. 该前缀可以是容器名称的前缀、完整容器名称或者后跟 Blob 名称前缀的完整容器名称。The prefix may be the prefix of the container name, the complete container name, or the complete container name followed by the prefix of the blob name.

    下表显示有效 Blob 路径的示例:The following table shows examples of valid blob paths:

    选择器Selector Blob 路径Blob Path 说明Description
    开头为Starts With / 导出存储帐户中的所有 BlobExports all blobs in the storage account
    开头为Starts With /$root//$root/ 导出根容器中的所有 BlobExports all blobs in the root container
    开头为Starts With /book/book 导出任何容器中以前缀 book 开头的所有 BlobExports all blobs in any container that begins with prefix book
    开头为Starts With /music//music/ 导出容器 music 中的所有 BlobExports all blobs in container music
    开头为Starts With /music/love/music/love 导出容器 music 中以前缀 love 开头的所有 BlobExports all blobs in container music that begin with prefix love
    等于Equal To $root/logo.bmp$root/logo.bmp 导出根容器中的 Blob logo.bmp Exports blob logo.bmp in the root container
    等于Equal To videos/story.mp4videos/story.mp4 导出容器 videos 中的 Blob story.mp4 Exports blob story.mp4 in container videos

    必须以有效格式提供 Blob 路径,以免在处理过程中出现错误,如以下屏幕快照所示。You must provide the blob paths in valid formats to avoid errors during processing, as shown in this screenshot.

    创建导出作业 - 步骤 3

  4. 在“第 3 步:回寄信息”中,从下拉列表中选择快递商,并输入已通过此快递商创建的有效快递商帐号。In Step 3 Return shipping info, select the carrier from the drop down list and enter a valid carrier account number that you have created with that carrier. 当导入作业完成后,我们会使用此帐户寄回驱动器。We will use this account to ship the drives back to you once your import job is complete. 输入完整、有效的联系人姓名、电话号码、电子邮件地址、街道地址、城市、邮政编码、州/省/自治区/直辖市和国家/地区。Provide a complete and valid contact name, phone, email, street address, city, zip, state/proviince and country/region..

    1. 在“摘要页”中,输入 Azure 数据中心寄送地址是为了将磁盘寄送到 Azure DC。In the Summary Page, Azure DataCenter shipping address is provided to be used for shipping disks to Azure DC. 请确保寄送标签上标明了作业名称和完整地址。Ensure that the job name and the full address are mentioned on the shipping label.
  5. 单击“摘要页”上的“确定”,完成“创建导入作业”Click OK on the Summary Page to complete Import job creation

  6. 寄送磁盘后,返回到 Azure 门户上的“导入/导出” 页,再执行以下操作:a) 转到并单击导入作业;b) 单击“驱动器寄送后,更新作业状态和跟踪信息” ;After shipping the disks, return to the Import/Export page on the Azure portal, a) Navigate and click on the import job b) Click on Update job status and tracking info once drives are shipped. c) 选中“标记为‘已寄送’”复选框;d) 输入“快递商”和“跟踪号码”。c) Select the check box "Mark as shipped" d) Provide the Carrier and Tracking number.

    如果在创建作业后的 2 周内未更新跟踪号,该作业便会过期。If the tracking number is not updated within 2 weeks of creating the job, the job will expire.

  7. 可以在门户仪表板上跟踪作业进度。You can track your job progress on the portal dashboard. 若要了解上一部分中每个作业状态的含义,请 查看作业状态See what each job state in the previous section means by Viewing your job status.

    Note

    如果在复制到硬盘时要导出的 Blob 正在使用中,Azure 导入/导出服务将生成该 Blob 的快照,并复制快照。If the blob to be exported is in use at the time of copying to hard drive, Azure Import/Export service will take a snapshot of the blob and copy the snapshot.

  8. 收到包含已导出数据的驱动器以后,即可查看和复制该服务为驱动器生成的 BitLocker 密钥。After you receive the drives with your exported data, you can view and copy the BitLocker keys generated by the service for your drive. 在 Azure 门户中,转到导出作业,再单击“导入/导出”选项卡。从列表中选择导出作业,再单击“BitLocker 密钥”选项。Navigate to export job in the Azure portal and click the Import/Export tab. Select your export job from the list, and click the BitLocker Keys option. BitLocker 密钥随即出现,如下所示:The BitLocker keys appear as shown below:

    查看导出作业的 BitLocker 密钥

请查看下面的“常见问题”部分,因为该部分介绍了客户在使用此服务时遇到的最常见问题。Please go through the FAQ section below as it covers the most common questions customers encounter when using this service.

常见问题Frequently asked questions

能否使用 Azure 导入/导出服务复制 Azure 文件存储?Can I copy Azure File storage using the Azure Import/Export service?

可以,Azure 导入/导出服务支持导入到 Azure 文件存储。Yes, the Azure Import/Export service supports import to Azure File Storage. 目前它不支持导出 Azure 文件。It does not support export of Azure Files at this time.

Azure 导入/导出服务是否适用于 CSP 订阅?Is the Azure Import/Export service available for CSP subscriptions?

Azure 导入/导出服务支持 CSP 订阅。Azure Import/Export service does support CSP subscriptions.

能否跳过导入作业的驱动器准备步骤?能否在不复制的情况下准备驱动器?Can I skip the drive preparation step for an import job or can I prepare a drive without copying?

任何需要寄送到数据中心进行数据导入的驱动器都必须使用 WAImportExport 工具进行准备。Any drive that you want to ship for importing data must be prepared using the Azure WAImportExport tool. 必须使用 WAImportExport 工具将数据复制到驱动器。You must use the WAImportExport tool to copy data to the drive.

在创建导出作业时我是否需要执行任何磁盘准备操作?Do I need to perform any disk preparation when creating an export job?

不需要,但建议执行一些预先检查。No, but some pre-checks are recommended. 使用 WAImportExport 工具的 PreviewExport 命令检查所需的磁盘数。Check the number of disks required using the WAImportExport tool's PreviewExport command. 有关详细信息,请参阅预览导出作业的驱动器使用情况For more information, see Previewing Drive Usage for an Export Job. 它可以根据要使用的驱动器大小,帮助你预览所选 Blob 的驱动器使用情况。It helps you preview drive usage for the blobs you selected, based on the size of the drives you are going to use. 此外,请检查你是否可以读取和写入需要寄送的用于导出作业的硬盘驱动器。Also check that you can read from and write to the hard drive that will be shipped for the export job.

如果我无意中发送了不符合支持的要求的 HDD,会发生什么情况?What happens if I accidentally send an HDD which does not conform to the supported requirements?

Azure 数据中心会将不符合支持要求的驱动器返还给你。The Azure data center will return the drive that does not conform to the supported requirements to you. 如果包裹中只有某些驱动器满足支持要求,则会处理这些驱动器,而不符合支持要求的驱动器则会返还给你。If only some of the drives in the package meet the support requirements, those drives will be processed, and the drives that do not meet the requirements will be returned to you.

是否可以取消我的作业?Can I cancel my job?

可以取消状态为“创建”或“装运”的作业。You can cancel a job when its status is Creating or Shipping.

在 Azure 门户中可以查看多长时间的已完成作业的状态?How long can I view the status of completed jobs in the Azure portal?

可以查看最长 90 天的已完成作业的状态。You can view the status for completed jobs for up to 90 days. 已完成作业在 90 天后被删除。Completed jobs will be deleted after 90 days.

如果我想要导入或导出超过 10 个驱动器,我应该做什么?If I want to import or export more than 10 drives, what should I do?

对于导入/导出服务,一个导入或导出作业在单个作业中只能引用 10 个驱动器。One import or export job can reference only 10 drives in a single job for the Import/Export service. 如果想要装运超过 10 个驱动器,可以创建多个作业。If you want to ship more than 10 drives, you can create multiple jobs. 与同一作业关联的驱动器必须放在同一个包裹中一起寄送。Drives that are associated with the same job must be shipped together in the same package.

该服务是否会在返还驱动器之前将其格式化?Does the service format the drives before returning them?

否。No. 所有驱动器都使用 BitLocker 加密。All drives are encrypted with BitLocker.

是否可为导入/导出作业从 21Vianet 购买驱动器?Can I purchase drives for import/export jobs from 21Vianet?

否。No. 对于导入和导出作业,需要装运自己的驱动器。You will need to ship your own drives for both import and export jobs.

如何才能访问此服务导入的数据?** How can I access data that is imported by this service**

以 Azure 存储帐户名义存储的数据可以通过 Azure 门户访问,也可以使用存储资源管理器这一独立工具进行访问。The data under your Azure storage account can be accessed via the Azure Portal or using a standalone tool called Storage Explorer. https://docs.azure.cn/vs-azure-tools-storage-manage-with-storage-explorerhttps://docs.azure.cn/vs-azure-tools-storage-manage-with-storage-explorer

导入作业完成后,数据在存储帐户中看起来是什么样的?是否会保留目录层次结构? After the import job completes, what will my data look like in the storage account? Will my directory hierarchy be preserved?

为导入作业准备硬盘驱动器时,目标由数据集 CSV 文件中的 DstBlobPathOrPrefix 字段指定。When preparing a hard drive for an import job, the destination is specified by the DstBlobPathOrPrefix field in the dataset CSV. 该目标是存储帐户中的目标容器,可以将硬盘驱动器中的数据复制到其中。This is the destination container in the storage account to which data from the hard drive is copied. 在该目标容器中,为硬盘驱动器中的文件夹创建虚拟目录,为文件创建 Blob。Within this destination container, virtual directories are created for folders from the hard drive and blobs are created for files.

如果驱动器的文件已存在于我的存储帐户中,该服务是否会覆盖我的存储帐户中的现有 Blob 或文件?If the drive has files that already exist in my storage account, will the service overwrite existing blobs or files in my storage account?

准备驱动器时,可以使用数据集 CSV 文件中名为 /Disposition:<rename|no-overwrite|overwrite> 的字段指定是否应覆盖或忽略目标文件。When preparing the drive, you can specify whether the destination files should be overwritten or ignored using the field in dataset CSV file called Disposition:<rename|no-overwrite|overwrite>. 默认情况下,该服务会将新文件重命名,而不是覆盖现有 Blob 或文件。By default, the service will rename the new files rather than overwrite existing blobs or files.

WAImportExport 工具是否与 32 位操作系统兼容?Is the WAImportExport tool compatible with 32-bit operating systems? 否。No. WAImportExport 工具仅与 64 位 Windows 操作系统兼容。The WAImportExport tool is only compatible with 64-bit Windows operating systems. 有关受支持的 OS 版本的完整列表,请参阅 先决条件 中的“操作系统”部分。Please refer to the Operating Systems section in the pre-requisites for a complete list of supported OS versions.

是否应该在包裹中添加除硬盘驱动器之外的其他东西?Should I include anything other than the hard disk drive in my package?

请仅发运硬盘驱动器。Please ship only your hard drives. 不要包括电源线或 USB 电缆之类的物品。Do not include items like power supply cables or USB cables.

是否必须通过 FedEx 或中国邮政寄送驱动器?Do I have to ship my drives using FedEx or China Postal Service?

可以通过任何知名的快递商(例如 FedEx 或中国邮政)将驱动器寄送到数据中心。You can ship drives to the data center using any known carrier like FedEx or China Postal Service. 但是,如果要求我们将驱动器从数据中心寄回给你,你必须提供可用地址。However, for shipping the drives back to you from the data center, you must provide a available address.

跨国寄送驱动器是否存在限制?Are there any restrictions with shipping my drive internationally?

请注意,发运的物理介质可能需要穿越国界。Please note that the physical media that you are shipping may need to cross international borders. 应当负责确保物理介质和数据是遵照适用的法律导入和/或导出的。You are responsible for ensuring that your physical media and data are imported and/or exported in accordance with the applicable laws. 在发运物理介质之前,请咨询顾问以验证介质和数据是否可以合法地发运到所确定的数据中心。Before shipping the physical media, check with your advisors to verify that your media and data can legally be shipped to the identified data center. 这有助于确保它可以及时到达 21Vianet。This will help to ensure that it reaches 21Vianet in a timely manner.

创建作业时,寄送地址是一个不同于存储帐户位置的位置。我该怎样做? When creating a job, the shipping address is a location that is different from my storage account location. What should I do?

某些存储帐户位置映射到备用寄送位置。Some storage account locations are mapped to alternate shipping locations. 此前可用的寄送位置也可临时映射到备用位置。Previously available shipping locations can also be temporarily mapped to alternate locations. 在寄送驱动器之前,请始终查看你在创建作业的过程中提供的寄送地址。Always check the shipping address provided during job creation before shipping your drives.

寄送驱动器时,快递商要求提供数据中心的联系人地址和电话号码。我该提供哪些内容? When shipping my drive, the carrier asks for the data center contact address and phone number. What should I provide?

电话号码和数据中心地址是在创建作业过程中提供的。The phone number and DC address is provided as part of job creation.

能否使用 Azure 导入/导出服务将 PST 邮箱和 SharePoint 数据复制到 O365?Can I use the Azure Import/Export service to copy PST mailboxes and SharePoint data to O365?

请参阅将 PST 文件或 SharePoint 数据导入到 Office 365Please refer to Import PST files or SharePoint data to Office 365.

能否使用 Azure 导入/导出服务将我的备份脱机复制到 Azure 备份服务?Can I use the Azure Import/Export service to copy my backups offline to the Azure Backup Service?

请参阅 Azure 备份中的脱机备份工作流Please refer to Offline Backup workflow in Azure Backup.

一次装运的最大 HDD数量是多少?What is the maximum number of HDD for in one shipment?

一次寄送中可以有任何数量 HDD,并且如果磁盘属于多个作业,建议:a) 使用对应的作业名称标记磁盘。Any number of HDDs can be in one shipment and if the disks belong to multiple jobs it is recommended to a) Have the disks labeled with the corresponding job names. b) 使用后缀为 -1、-2 等的跟踪号码更新作业。b) Update the jobs with a tracking number suffixed with -1, -2 etc.

磁盘导入/导出支持的块 Blob 和页 Blob 的最大大小是多少?What is the Maximum Block Blob and Page Blob Size supported by Disk Import/Export?

最大块 Blob 大小约为 4.768 TB 或 5,000,000 MB。Max Block Blob size is approximately 4.768TB or 5,000,000 MB. 最大页 Blob 大小为 1 TB。Max Page Blob size is 1TB.

磁盘导入/导出是否支持 AES 256 加密?Does Disk Import/Export support AES 256 encryption?

默认情况下,Azure 导入/导出服务使用 AES 128 BitLocker 加密进行加密,但在复制数据前,可以使用 BitLocker 进行手动加密,从而将加密提升为 AES 256。Azure Import/Export service by default encrypts with AES 128 bitlocker encryption but this can be increased to AES 256 by manually encrypting with bitlocker before data is copied.

如果使用的是 WAImportExport V1,下面展示了示例命令If using WAImportExport V1, below is a sample command

WAImportExport PrepImport /sk:<StorageAccountKey> /csas:<ContainerSas> /t: <TargetDriveLetter> [/format] [/silentmode] [/encrypt] [/bk:<BitLockerKey>] [/logdir:<LogDirectory>] /j:<JournalFile> /id:<SessionId> /srcdir:<SourceDirectory> /dstdir:<DestinationBlobVirtualDirectory> [/Disposition:<Disposition>] [/BlobType:<BlockBlob|PageBlob>] [/PropertyFile:<PropertyFile>] [/MetadataFile:<MetadataFile>] 

如果使用的是 WAImportExport 工具,请指定“AlreadyEncrypted”,并在驱动集 CSV 中提供密钥。If using WAImportExport Tool specify "AlreadyEncrypted" and supply the key in the driveset CSV.

DriveLetter,FormatOption,SilentOrPromptOnFormat,Encryption,ExistingBitLockerKey
G,AlreadyFormatted,SilentMode,AlreadyEncrypted,060456-014509-132033-080300-252615-584177-672089-411631 |

后续步骤Next steps