Product: cloudHQ Sync & Backup dashboard
Services: Amazon S3, Microsoft Azure Blob Storage
More help: Backup and sync with Azure Blob Storage: FAQ
  1. Introduction
  2. Use Cases
  3. Before you start
  4. Create the sync pair
    1. Open the wizard
    2. Choose one-way or two-way sync
    3. Choose the Amazon S3 bucket
    4. Choose the Azure container
    5. Check your selection and click OK
  5. Choose how often cloudHQ checks for changes
  6. See the initial transfer in progress
  7. Next Steps

Introduction

This note walks you through copying the data in an Amazon S3 bucket to Microsoft Azure Blob Storage. You do it with a sync pair in cloudHQ, and the same pair keeps the two in step afterwards.

You choose the direction. With a one-way sync, cloudHQ copies what is in the S3 bucket to an Azure container, and whatever you change in Azure stays there. With a two-way sync, a change made on one side appears on the other side too. Each object in the bucket turns into a blob in the container, and the folder structure stays the same.

Use Cases

  1. Your backups should not depend on one AWS account

    Your database dumps and exports go into an S3 bucket in the same AWS account that runs everything else. The copy in Azure needs a different login, so a leaked AWS key or a bad bucket policy can’t reach both copies.

  2. You want your data in a second cloud

    Your company has decided that important data must be kept with two providers. The sync pair copies the bucket to Azure once, then keeps copying anything new or changed.

  3. A team that works in Azure needs data that arrives in Amazon S3

    A partner or a tool drops files into an S3 bucket, and your colleagues work with Azure tools. The sync pair puts the files in their Azure container, and nobody copies them by hand.

Before you start

  1. Set up Amazon S3 first, then connect it to cloudHQ: How to prepare Amazon S3 for backup or sync.
  2. Set up your Azure storage account next and add it to cloudHQ: How to prepare Azure Blob Storage for backup or sync.
  3. Sign in to cloudHQ, then open the Cloud Accounts tab (https://www.cloudhq.net/services). Both Amazon S3 and Microsoft Azure Blob Storage need to show up in your cloud accounts list, and neither one should have an Authorization Error next to it.

Create the sync pair

  1. Open the wizard
    Open the Sync & Backup tab, then click the Add New Sync Pair button. A page named What Do You Want to Do? comes up. Click the Create One Sync Pair » button on it.

  2. Choose one-way or two-way sync
    The wizard opens in two-way sync. If data should go only from Amazon S3 to Azure, click the Switch to one-way sync button. The title then reads Backup / Migration Wizard, and the arrow between the two boxes points in a single direction. Leave the wizard as it is if you need changes to go both ways.

  3. Choose the Amazon S3 bucket
    Find the Amazon S3 icon in the Select Service list and click it. The icon moves to the first box. In Select Account, click the Select button next to your Amazon S3 account.

    A page then asks What would you like to sync or back up? Pick I’d like to sync an existing folder or bucket, then click the Next » button. In the folder tree, click the bucket, or open the bucket and click a folder inside it. The Selected: line shows what you picked. Click the Select » button to confirm it.

  4. Choose the Azure container
    Now the second box is active. Find the Microsoft Azure Blob Storage icon and click it. Look under Select Account and click the Select button next to your storage account.

    In a one-way sync, the page you get is titled Select or create a container and folder into which you want to store your backup. If the container is already there, leave I’d like to backup into an existing container or into a folder inside the container selected. If you need a new container, choose I’d like to create a new Microsoft Azure Blob Storage container. In a two-way sync the choices are I’d like to sync an existing folder or container and I’d like to create and sync a new container. After you choose, click the Next » button.

    When the container already exists, the folder tree shows the containers of your storage account. Click the container you want, or open it and click a folder inside it. The Selected: line shows your pick. Click the Select » button to accept it.

  5. Check your selection and click OK
    A window titled Please double-check your selection lists the sync pair that will be made, going from the Amazon S3 bucket to the Azure container. In a one-way sync, the -> arrow runs from the bucket to the container. Check the pair, then click the OK button. cloudHQ creates the pair.

Choose how often cloudHQ checks for changes

The Synchronization Options page opens once you click OK. Amazon S3 and Azure Blob Storage don’t notify cloudHQ when something changes, so cloudHQ has to check on a schedule. You’ll see this hint on the page: Synchronization of changes from Amazon S3 is not real-time. Please select schedule.

In the Full scan frequency list, choose how often cloudHQ should look. The shorter the time, the sooner changes arrive. Every scan goes through the whole bucket, so if your bucket is very large, a longer time works better.

Now start the sync. If this is the first sync pair of your cloudHQ account, the end of the page has a Start Sync button: click it. If your account already has pairs that sync, the page says Synchronization is already running in that place, and the new pair has started by itself.

See the initial transfer in progress

Open the Sync & Backup tab again (https://www.cloudhq.net/synch). While the first copy is running, the new pair displays this line: Catalog of data and initial data transfer is in progress. We will send you an email as soon as the initial transfer finishes. On that pair you’ll find these buttons: Run Full Scan, Pause, View Sync Events, Modify Options and Delete Sync Pair. A note on the pair says how often Amazon S3 is scanned.

You do not need to keep the browser open. Our servers do the copying, and an email reaches you once it’s finished.

Next Steps

  1. To watch your sync, read How to monitor sync, backup or migration.
  2. For details on folders, file names and access tiers in Azure, read the Backup and sync with Azure Blob Storage: FAQ.