×
Community Blog How to Use Alibaba Cloud Object Storage Service with QNAP

How to Use Alibaba Cloud Object Storage Service with QNAP

Backing up data on Alibaba Cloud OSS with Hybrid Backup Sync from QNAP can help you secure your data on-premises, as well in offsite locations.

By Wojciech Marusiak, Solution Architect

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 reliability of 99.999999999%. RESTful APIs allow storage and access to OSS anywhere on the Internet.

The 3-2-1 Backup Strategy

The 3-2-1 backup strategy means you should:

  1. Have at least three copies of your data.
  2. Store the copies on two different media.
  3. Keep one backup copy offsite.

For the Home users such a strategy could be difficult to achieve. Alibaba Cloud Object Storage Service with Hybrid Backup Sync from QNAP could help you secure your data not only on-premises but as well in offsite location.

Configure OSS on your QNAP

In order to sync your backups to OSS we need to perform three tasks: create OSS bucket, create RAM User and configure QNAP Hybrid Backup Sync.

OSS bucket creation

  1. Login to Alibaba Cloud
  2. Navigate to Object Storage Service (OSS) product.
  3. Click Create Bucket

    1

  4. Provide Bucket Name, choose Region, Storage Class and Access Control List.

    2

  5. Take note of your OSS Endpoint. It will be needed later on to configure as backup destination. In my case it is oss-eu-central-1.aliyuncs.com.

    3

Create RAM User

  1. In Console navigate to Resource Access Management (RAM).
  2. Choose Users.

    4

  3. Click Create User.

    5

  4. Provide Logon Name and choose Programmatic Access to create AccessKeyID and AccessKeySecret. Click OK.

    6

  5. Save the user AccessKeyID and AccessKeySecret. We will use it later to connect to OSS from QNAP Hybrid Backup Sync.

    7

  6. Once the user is created we must grant him permission to use OSS. In this scenario we will use Alibaba Cloud System Policy called AliyunOSSFullAccess
  7. In the section Grants click Grant Permission.

    8

  8. In the Principal section enter your username and choose appropriate OSS Policy. Click OK to confirm.

    9

  9. Permission assignment was successful.

    10

QNAP Hybrid Backup Sync

Once the Alibaba Cloud part is finished we need to create Hybrid Backup Sync Storage Space and Job.

  1. Login to QNAP NAS and open Hybrid Backup Sync.

    11

  2. In the Jobs section choose Create Sync Job. Choose desired Sync Job type. For this article I will use One-Way Sync with the cloud.

    12

  3. Direction selected is local to cloud. This means that selected data from QNAP will be synced to the cloud. As Alibaba Cloud is natively supported in QNAP select Alibaba Cloud icon.

    13

  4. Enter display name, AccessKeyID and AccessKeySecret. Click Next.

    14

  5. Enter Job Name, choose local folder to be synced with OSS and choose OSS bucket name.

    15

  6. You can choose advanced settings and adjust schedule to your requirements.

    16

  7. Finish the wizard by clicking Apply.
  8. By clicking on the job name you can verify if sync to OSS is working.

    17


To learn more about storing and backing up data on Alibaba Cloud Object Storage Service, visit https://www.alibabacloud.com/product/oss
3 1 1
Share on

Wojciech

1 posts | 3 followers

You may also like

Comments

Raja_KT March 2, 2019 at 4:15 am

Interesting one for multi-cloud .

5481351443416183 March 16, 2019 at 1:32 am

Thank you, saved me hours of head scratching.

vincentsiu May 20, 2022 at 10:24 am

Thank you Wojciech! I got inspiration from you, and I took a step forward. I backup my OSS on Alibaba Express Connect via an internal endpoint. This is my article at https://www.alibabacloud.com/blog/back-up-from-alibaba-cloud-oss-to-your-synology-nas-internally_598906

Wojciech

1 posts | 3 followers

Related Products