Alibaba Cloud Object Storage Service

This guide provides information on how to set up Alibaba Cloud Object Storage Service (OSS) as a storage for your backups in Cloudback.

About Alibaba Cloud Object Storage Service

Alibaba Cloud Object Storage Service (OSS) is an encrypted, secure, cost-effective, and easy-to-use object storage service that enables you to store, back up, and archive large amounts of data in the cloud, with a guaranteed durability of 99.9999999999% (12 9’s). RESTful APIs allow storage and access to OSS anywhere on the Internet. You can elastically scale the capacity and processing capability and choose from a variety of storage types to optimize the storage cost.

Set up Alibaba Cloud OSS Storage in Cloudback

To set up Alibaba Cloud Object Storage Service (OSS) as a storage for your backups, follow the steps below.

Create a new Alibaba storage

  • Navigate to the Storages page by clicking on the Storages link in the left-side navigation pane

  • Click on the + New storage button:

Add new storage
  • Type a storage name in the Storage name field. Use a name that will help you identify this storage in the future

  • Select Alibaba from a Storage Provider dropdown:

Alibaba Cloud Storage settings

Set up storage settings

Choose the settings for the storage:

  • Deduplication type - enable or disable data deduplication. For more details, please refer to the Deduplication documentation

  • Archive type - enable or disable archive password protection. For more details, please refer to the Password-Protected Backups documentation

  • Archive name pattern - configure the archive name pattern, which is used to generate the name of the backup archive. For more details, please refer to the Archive Name Pattern documentation

Create Alibaba Cloud OSS Bucket

Follow the Step 1 on the New Storage page to create a new Alibaba Cloud OSS Bucket.

To integrate Alibaba Cloud OSS with Cloudback, you need to create a new bucket in the Alibaba Cloud OSS console. If you already have a bucket, you can skip this step. For more details about creating a bucket, please refer to the Alibaba Cloud documentation. Alternatively, you can follow the link on the Step 1 field on the New Storage page.

Grant Cloudback access to the bucket

On the Step 2, you need to grant Cloudback access to the bucket. Cloudback needs access to the bucket to store backups of your repositories.

To grant Cloudback access to the bucket, you need to create a new RAM user and assign the necessary permissions to the user. Follow the steps below to create a new RAM user and grant the necessary permissions:

  • Copy Cloudback RAM account ID from Step 2

  • Grant Cloudback access to the bucket:

    • On the Buckets page, click the name of your bucket to configure bucket policies

    • In the left-side navigation pane, click Files, then click Authorize

    • On the GUI tab, click Authorize

    • In the Authorize panel, add the RAM user ID to the Other accounts field, set Any Operation in the Authorized Operation field, and click OK

You can learn more about granting access to the bucket in the Alibaba Cloud documentation.

Authorize Cloudback account

Save Bucket Domain Name in storage settings

The Step 3 requires you to save the bucket domain name in the storage settings.

To have access to the bucket, Cloudback needs to know the bucket domain name. Type your Bucket Domain Name to the Step 3 field on the New Storage dialog

  • Sample input: your-bucket-name.oss-me-east-1.aliyuncs.com

Save storage

Click on Save button to save the new storage. You can also use a Test button to check if the storage is configured correctly. After saving the storage, you can use it for storing backups of your repositories.

All storage settings can be changed later in the Storages page. To edit the storage settings, click on the Edit button next to the storage you want to edit.

Change the storage for a repository

You can change the storage for a particular repository in the Repository Details page. Also, you can assign it to multiple repositories through the Bulk Operations.

Learn more

Last updated

Was this helpful?