Backup to Yandex Object Storage via CloudBerry Desktop Backup

To set up backups in Object Storage via CloudBerry Desktop Backup:

  1. Create a bucket
  2. Create a service account
  3. Create a static access key
  4. Install CloudBerry Desktop Backup
  5. Configure CloudBerry Desktop Backup
  6. Test your backup

The free version of CloudBerry Desktop Backup allows you to create a maximum of 200 GB of backups.

1. Create a bucket

To create a bucket for backups:

  1. Go to the Yandex.Cloud management console and select the folder where you want to perform the operations.

  2. On the folder page, click Create resource and select Bucket.

  3. In the Name field, enter a name for the bucket, like backup.

    The name must meet the following requirements:

    • The length of the name must be from 3 to 63 characters.
    • The name may contain lowercase Latin letters, numbers, hyphens, and periods.
    • The first and last characters must be letters or numbers.
    • Characters to the right and left of the period must be letters or numbers.
    • The name must not look like an IP address (for example, 10.1.3.9).
  4. Specify the maximum size of the bucket in GB.

  5. Click Create bucket.

2. Create a service account

Create a service account with the editor role.

3. Create a static access key

Create static access keys. Save the ID and private key right away. You won't be able to access the private key parameters again after you close the window.

4. Install CloudBerry Desktop Backup

  1. Download and install CloudBerry Backup. To download it, enter your email address in the field and click Download
  2. Run CloudBerry Backup and select Use Home Edition (free). Click Next.
  3. Enter the key from the message or click I do not have activation code and enter your email address. Click Start FreeTrial.
  1. Download and install CloudBerry Backup. To download it, enter your email address in the field and click Download
  2. Run CloudBerry Backup and select Use Home Edition (free). Click Next.
  3. Enter your username and email address. The registration key will be sent to the specified address.
  4. Check your email and copy and paste the received key into the Enter registration key field.
  5. Click Finish.
  6. In the window that opens, click OK.
  1. Download and install CloudBerry Backup. To download it, select the version that suits your Linux distribution, enter your email address in the field and click Download
  2. Run CloudBerry Backup and select Use Home Edition (free). Click Next.
  3. Enter your username and email address. The registration key will be sent to the specified address.
  4. Check your email and copy and paste the received key into the Enter registration key field.
  5. Click Finish.
  6. In the window that opens, click OK.

5. Configure CloudBerry Backup

To configure CloudBerry Backup to work with Object Storage:

  1. Run CloudBerry Backup.

  2. Open the main menu by clicking the button with the app icon in the top left corner.

  3. Select Add New Account.

  4. Click Show more.

  5. In the list of providers that opens, select S3 compatible.

  6. Click S3 compatible. The storage parameters window opens.

    1. In the Display Name field, enter Yandex Cloud.
    2. In the Access Key field, specify the ID of the static access key.
    3. In the Secret Key field, specify the private key.
    4. In the Service point field, specify http://storage.yandexcloud.net/. The Bucket name field should display a list of your buckets.
    5. In the Bucket name field, select the bucket where your backups will be stored.
    6. Click OK. If everything is configured correctly, the Yandex Cloud storage will appear in the Registered accounts window. Close the window.
  7. Open the Home tab. The backup wizard opens.

  8. Choose Local or Cloud Backup and click Next.

  9. Select the Yandex Cloud storage and click Next.

  10. Enter the backup plan name: yc-backup-plan. Click Next.

  11. Select Simple Mode to create a simple non-encrypted copy and enable access to backups through any client apps. Click Next.

  12. Do not set any additional flags. Click Next.

  13. In the file tree, specify the directories and files that you want to back up. Click Next.

  14. Choose Backup all files in selected folders to make a copy of all files in the selected folders. Click Next.

  15. On the warning screen saying that you cannot encrypt your backups in the trial version, click Next.

  16. Do not change the file deletion settings. Click Next.

  17. Do not set any backup schedules. Click Next.

  18. Do not configure any additional actions. Click Next.

  19. If you want to get notifications about the progress of backups, select the I want to receive a notification email when plan completes option.

    If you only want to get notifications about failed backups, select the When the plan fails option. To get notifications about all events, select the In all cases option. Specify your email address in the Email field, name in the User name field, and the subject of the message from CloudBerry in the Email subject field. If this is the first time you are setting up notifications, you will receive a message asking you to confirm your email address. Follow the link in the message to enable notifications. Click Next.

  20. Check the backup plan and click Next.

  21. Click Finish.

  1. Run CloudBerry Backup.

  2. Click Backup files.

  3. Click +.

  4. Click S3 compatible. The storage parameters window opens.

    1. In the Display Name field, enter Yandex Cloud.
    2. In the Access Key field, specify the ID of the static access key.
    3. In the Secret Key field, specify the private key.
    4. In the Endpoint field, specify http://storage.yandexcloud.net/. The Bucket field should display a list of your buckets.
    5. In the Bucket field, select the bucket where your backups will be stored.
    6. Click OK. If everything is configured correctly, the Yandex Cloud storage will appear in the list.
  5. Select the Yandex Cloud storage and click Continue.

  6. Enter the backup plan name: yc-backup-plan. Click Continue.

  7. In the file tree, specify the directories and files that you want to back up. Click Continue.

  8. Leave the option set to Backup all files in selected folders in order to make a copy of all files in the selected folders. Click Continue.

  9. Encryption is not available in the free version. Click Continue.

  10. Set the duration of file storage and the number of copies. By default, the three most recent backups are stored simultaneously. Select the Use default option to use the default settings. Click Continue.

  11. By default, backups are made manually. If you need to set a backup schedule, select the Enable schedule option and set the schedule. Click Continue.

  12. If you want to get notifications about the progress of backups, select the I want to receive a notification email when plan completes option.

    If you only want to get notifications about failed backups, select the When the plan fails option. To get notifications about all events, select the In all cases option. Specify your email address in the Email field, name in the User name field, and the subject of the message from CloudBerry in the Email subject field. If this is the first time you are setting up notifications, you will receive a message asking you to confirm your email address. Follow the link in the message to enable notifications. Click Continue.

  13. Check the backup plan and click Done.

6. Test your backup

To test a backup:

  1. Open the Backup plans tab.
  2. Next to the yc-backup-plan name, click the arrow button to manually start a backup.
  3. Open the management console.
  4. Go to the folder containing the bucket where your backups are stored.
  5. Open the Object Storage service.
  6. Open the backup bucket and check whether all the necessary files have been copied.
  1. In the Backup plans section, select the yc-backup-plan.
  2. Click Start to manually start a backup.
  3. Open the management console.
  4. Go to the folder containing the bucket where your backups are stored.
  5. Open the Object Storage service.
  6. Open the backup bucket and check whether all the necessary files have been copied.