[Yandex Cloud documentation](../../index.md) > [Yandex Object Storage](../index.md) > [Tutorials](index.md) > Backups > Backing up to Object Storage with CloudBerry Desktop Backup

# Backup to Yandex Object Storage using MSP360 Backup (CloudBerry Desktop Backup)

You can use Yandex Object Storage to backup and restore data using [MSP360 Backup](https://www.msp360.com/msp360-free-backup/).

MSP360 Backup (formerly CloudBerry Desktop Backup) is designed to back up and restore data, including in cloud storages. The free version of MSP360 Backup allows you to create a maximum of 200 GB of backups.

To set up backup in Object Storage using MSP360 Backup:
1. [Get your cloud ready](#prepare-cloud).
1. [Set up a service account](#prepare-service-account).
1. [Create a bucket](#create-bucket).
1. [Install MSP360 Backup](#install-cloudberry).
1. [Configure MSP360 Backup](#configure-cloudberry).
1. [Test backup](#test-backup).

If you no longer need the resources you created, [delete them](#clear-out).

## Get your cloud ready {#prepare-cloud}

Sign up for Yandex Cloud and create a [billing account](../../billing/concepts/billing-account.md):
1. Navigate to the [management console](https://console.yandex.cloud) and log in to Yandex Cloud or create a new account.
1. On the **[Yandex Cloud Billing](https://center.yandex.cloud/billing/accounts)** page, make sure you have a billing account linked and it has the `ACTIVE` or `TRIAL_ACTIVE` [status](../../billing/concepts/billing-account-statuses.md). If you do not have a billing account, [create one](../../billing/quickstart/index.md) and [link](../../billing/operations/pin-cloud.md) a cloud to it.

If you have an active billing account, you can create or select a [folder](../../resource-manager/concepts/resources-hierarchy.md#folder) for your infrastructure on the [cloud page](https://console.yandex.cloud/cloud).

[Learn more about clouds and folders here](../../resource-manager/concepts/resources-hierarchy.md).

### Required paid resources {#paid-resources}

The cost of backup using MSP360 Backup includes:
* Fee for data storage.
* Fee for data operations.
* Fee for outbound traffic from Yandex Cloud to the web.

To learn more, see the [Yandex Object Storage pricing plans](../pricing.md#prices).

## Set up a service account {#prepare-service-account}

In Object Storage, you back up data under a [service account](../../iam/concepts/users/service-accounts.md). If you do not have a service account, [create](../../iam/operations/sa/create.md) one.

To create a service account:
1. [Assign](../../iam/operations/sa/assign-role-for-sa.md) the `editor` [role](../../iam/roles-reference.md#editor) to the service account.
1. [Create](../../iam/operations/authentication/manage-access-keys.md#create-access-key) a static access key. Save the [ID and the secret key](../../iam/concepts/authorization/access-key.md#access-key-format) right away. After you close the window, the secret key will no longer be available.


## Create a bucket {#create-bucket}

{% list tabs group=instructions %}

- Management console {#console}

  1. Go to the Yandex Cloud [management console](https://console.yandex.cloud) and select the [folder](../../resource-manager/concepts/resources-hierarchy.md#folder) where you will perform the operations.
  1. On the folder page, click ![plus](../../_assets/console-icons/plus.svg) **Create resource** and select **Bucket**.
  1. In the ** Name** field, enter a name for the [bucket](../concepts/bucket.md) consistent with the [naming conventions](../concepts/bucket.md#naming).
  1. In the **Read objects**, **Read object list**, and **Read settings** fields, select `With authorization`.
  1. Specify the maximum size of the bucket in GB.
  1. Click **Create bucket**.

{% endlist %}

## Install MSP360 Backup {#install-cloudberry}

{% list tabs group=operating_system %}

- Windows {#windows}

  1. Optionally, [install](https://dotnet.microsoft.com/en-us/download) Microsoft .NET Framework.
  1. [Install](https://www.msp360.com/cloudberry-backup/download/cbbbm/) MSP360 Backup Desktop Edition. To download MSP360 Backup, enter the required details and click **Download**.
  1. Run MSP360 Backup and select **Use Home Edition (free)**. Click **Next**.
  1. Click **Start Free Trial**.

- Linux/macOS {#linux-macos}

  1. Install MSP360 Backup. Select the OS to download:
       * [macOS](https://www.msp360.com/cloudberry-backup/download/cbbmac/)
       * [Ubuntu, Debian](https://www.msp360.com/cloudberry-backup/download/cbbub1214/)
       * [SUSE, Red Hat, Fedora, CentOS](https://www.msp360.com/cloudberry-backup/download/cbbrh6/)
       
       Enter the required details and click **Download**.
  1. Run MSP360 Backup and select **Use Home Edition (free)**. Click **Next**.
  1. Enter your email address and click **Finish**.
  1. In the window that opens, click **OK**.

{% endlist %}

## Configure MSP360 Backup {#configure-cloudberry}

{% list tabs group=operating_system %}

- Windows {#windows}

  1. Run MSP360 Backup.
  1. To open the main menu, click the MSP360 Backup logo in the upper left corner.
  1. Select **Add Storage Account**.
  1. From the list of providers, select **S3 Compatible**.
  1. In the window that opens, enter the storage properties:
      * **Display Name**: `Yandex Cloud`.
      * **Access Key**: ID of the static access key.
      * **Secret Key**: Private key.
      * **Service point**: `http://storage.yandexcloud.net/` The **Bucket name** field should display a list of your buckets.
      * **Bucket name**: Bucket where you will keep your backups.

      Click **OK**. If the configuration is correct, the `Yandex Cloud` storage will appear in the **Storaged accounts** window. Close the window.
  1. Click **Home**.
  1. Select **Local to Cloud**. In the window that opens, click **Next**.
  1. Select the **Yandex Cloud** storage and click **Next**.
  1. Enter `cloud-backup-plan` as the backup plan name and click **Next**.
  1. Leave the default options and click **Next**.
  1. In the file tree, specify the directories and files that you want to back up. Click **Next**.
  1. To retain copies of all files in the selected folders, click **Backup all files in selected folders**. Click **Next**.
  1. On the screen warning you that you cannot compress and encrypt your backups in the free version, click **Next**.
  1. To check your backups for integrity, leave the **Enable Full Consistency Check** option enabled. Click **Next**.
  1. By default, backup is manual. If you need to set a backup schedule, select **Enable schedule**. Click **Next**.
  1. Set the file storage duration. By default, backups are stored permanently. Click **Next**.
  1. On the **Pre / Post Actions** (actions before and after the backup) screen, leave the default settings and click **Next**.
  1. To get notified about the results of copying, enable **I want to receive a notification email** and specify the cases:
      * **When the backup plan fails or finished with warnings**.
      * **In all cases**.

      Enter the email address, recipient name, and email subject. Click **Next**. In the window prompting you to confirm your email for receiving notifications, click **Ok**. Check your mailbox. In the message you received, click the link to confirm your email address. 
  1. Check the backup plan and click **Next**.
  1. Click **Finish**.

- Linux/macOS {#linux-macos}

  1. Run MSP360 Backup.
  1. Click **Backup files**.
  1. Click **+** and select **S3 Compatible**. 
  1. In the window that opens, enter the storage properties:
     * **Display Name**: `Yandex Cloud`.
     * **Access Key**: ID of the static access key.
     * **Secret Key**: Private key.
     * **Endpoint**: `http://storage.yandexcloud.net/` The **Bucket** field will display a list of your buckets.
     * **Bucket**: Bucket where you will keep your backups.
     * **Advanced settings**. Leave the default values.

     Click **OK**. If the configuration is correct, the `Yandex Cloud` storage will appear in the **Backup plan: cloud storage** window.
  1. Select the **Yandex Cloud** storage and click **Continue**.
  1. Enter the backup plan name: `cloud-backup-plan`. Click **Continue**.
  1. In the file tree, specify the directories and files you want to back up. Click **Continue**.
  1. To add all files from the selected directories to the backup, opt for the **Backup all files in selected folders** setting. Click **Continue**.
  1. On the screen warning you that you cannot compress and encrypt your backups in the free version, click **Continue**.
  1. To check your backups for integrity, leave the **Enable Full Consistency Check** option enabled. Click **Continue**.
  1. By default, you make backups manually. If you need to set a backup schedule, select **Enable schedule**. Click **Continue**.
  1. Set the file storage duration. By default, backup storage is not limited in time. Click **Continue**.
  1. To get notified about the backup results, enable **I want to receive a notification email when plan completes** and specify the cases:
      * **In all cases**.
      * **When plan fails**: When the plan fails fatally or completes with warnings.

      Enter the email address, recipient name, and email subject. If you need a detailed report, select **Generate detailed report**. Click **Next**. Check your mailbox. In the message you received, click the link to confirm your email address. 
  1. Check the backup plan and click **Done**.

{% endlist %}

## Test backup {#test-backup}

{% list tabs group=operating_system %}

- Windows {#windows}

  1. In the MSP360 Backup app, select the **Backup plans** tab.
  1. To start the backup, click ![image](../../_assets/console-icons/play-fill.svg) in the `cloud-backup-plan` row.
  1. In the Yandex Cloud [management console](https://console.yandex.cloud), select the backup bucket folder.
  1. Select **Object Storage**.
  1. From the list of buckets, select the bucket with your backups and make sure all required files have been copied.

- Linux/macOS {#linux-macos}

  1. In the left panel of the MSP360 Backup app, select the **Backup plans** tab.
  1. To start the backup, select `cloud-backup-plan` and click **Start**.
  1. In the Yandex Cloud [management console](https://console.yandex.cloud), select the backup bucket folder.
  1. Select **Object Storage**.
  1. From the list of buckets, select the bucket with your backups and make sure all required files have been copied.

{% endlist %}

## How to delete the resources you created {#clear-out}

To stop paying for the resources you created:

1. [Delete](../operations/objects/delete-all.md) the [objects](../concepts/object.md) from the [bucket](../concepts/bucket.md).
1. [Delete](../operations/buckets/delete.md) the bucket.