Cloud Migration via rclone

Move your data from other cloud storage providers easily to IDrive e2 object storage using rclone. Transfer large unstructured data including media files, backup folders, etc., to IDrive e2 object storage.

If your data is large, then IDrive e2 offers a cloud server with unlimited bandwidth to migrate from your current cloud storage provider to IDrive e2 free of cost.

Once you get the server access details from IDrive e2, follow the below rclone document for cloud migration.

Use rclone to move data to IDrive® e2 object storage

To move data to IDrive e2 cloud storage,

  1. Install rclone. You can install rclone either for all users on a system or for a single user.
  2. Configure object storage to use the Amazon S3 Compatibility API. You will also need to test your connection to Object Storage.
  3. Configure your source. This means you export your source path as an environment variable and depends on the source you are using.
  4. Transfer the data and verify the transfer.

Install rclone

You can install rclone either for all users on a system or for a single user.

System-wide rclone installation

You require administrative privileges to install rclone across your system.

  1. On IDrive e2 Linux 7, install rclone by using yum:
  2. On other Linux distributions, use the installation script provided by rclone. Download and run that script to install the latest version of rclone system-wide:
rclone installation for individual use

If you do not have administrative privileges or do not want to install rclone system-wide, you can download the latest binary and use it directly.

Use the following string of commands to download rclone, create a /bin directory in your home folder, and add it to your PATH environment variable:

Note: PATH is reset when you log out unless you put it to your .bashrc

Configure rclone for object storage

To configure rclone for IDrive e2 object storage, you must use the Amazon S3 Compatibility API. First, you need to obtain proper credentials and the API endpoint and then set the correct environment variables. Here are the instructions:

Obtain security credentials and API endpoint

Access Keys can be generated from the Access Keys tab of the IDrive e2 account.

To create a S3 Access Key,

  1. Sign in to the IDrive e2 account.
  2. Click on the Access Keys tab.
  3. Click Create Access Key.
  4. Enter a name for the access key and select a region from the list of enabled regions in the dropdown list.
  5. Select the access permission for the access key.
  6. Select the buckets to be accessed using the access key.
  7. Click Create Access Key. An Access Key ID and Secret Access Key will be generated. Download/copy to save the details.
    Access Key roles and rights cannot be edited. To edit access roles or access rights to buckets, delete the Access Key and create a new one.


rclone configuration

After you have your secret key, access key, API endpoint, configure rclone by setting these values in the rclone configuration file.

To set the values,

  1. Use the following commond to display the rclone config file path:
  2. Add the following configuration for source and destination (IDrive e2) to the rclone config file:

IMPORTANT NOTE: If default encryption is enabled on IDrive e2 for the bucket, you may receive MD5 errors when uploading. As long as you are using the default encryption key (default behavior when enabled), your rclone config can add the following line: server_side_encryption = aws:kms

Move your data to IDrive® e2 cloud storage

Once the environment variables are set, follow the steps below to move your data to IDrive e2

  1. Use the following command to verify that rclone recognizes the configuration:

    The expected output:

  2. Create a target bucket in IDrive e2 wherein the data will be copied
  3. Run the following command to copy data to IDrive e2. Replace source-bucket with source bucket name and target-bucket with the target bucket created in IDrive e2

Other approaches and tools for migration

Migrating data from other cloud providers to IDrive e2 cloud object storage platform is quite easy. The storage is S3 compatible hence you can use it with your existing tool or process without any additional software.

Methods

You can select from any of the following alternative options for data migration:

  • Self-hosted Cloud Migration by connecting your current cloud provider to IDrive e2 via a tool that is hosted by your organization.
  • Source Data Migration by moving data directly to e2 storage from the source, without involving your current cloud provider.

Supported migration tools

This section provides a list of common migration tools that can be used with IDrive e2.

Cloud hosted tools Self hosted tools
Flexify.io AWS CLI
Couchdrop Datadobi DobiMigrate
Cloudflyer NetApp CloudSync
CloudFuze Nodeum
Cloudsfer Scality Zenko
S3cmd