Backup to Yandex Object Storage via Duplicati
You can use Yandex Object Storage for backup and recovery via the Duplicati
To set up backups in Object Storage via Duplicati:
- Prepare your cloud.
- Create a bucket.
- Set up a service account.
- Install Duplicati.
- Set up Duplicati.
- Test the backup process.
If you no longer need the resources you created, delete them.
Getting started
Sign up for Yandex Cloud and create a billing account:
- Go to the management console
and log in to Yandex Cloud or create an account if you do not have one yet. - On the Yandex Cloud Billing
page, make sure you have a billing account linked and it has theACTIVE
orTRIAL_ACTIVE
status. If you do not have a billing account, create one.
If you have an active billing account, you can go to the cloud page
Learn more about clouds and folders.
Required paid resources
The cost of backup via Duplicati includes:
- Data storage fee (see Yandex Object Storage pricing).
- Fee for operations with data (see Yandex Object Storage pricing).
- Fee for outbound traffic from Yandex Cloud to the internet (see Yandex Object Storage pricing).
Create a bucket
To create a bucket for backups:
- Go to the Yandex Cloud management console
and select the folder to perform the operations in. - On the folder page, click Create resource and select Bucket.
- In the ** Name** field, enter a name for the bucket consistent with the naming conventions:
- In the Object read access, Object listing access, and Read access to settings fields, select Restricted.
- Specify the maximum size of the bucket in GB.
- Click Create bucket.
Set up a service account
Backups in Object Storage are performed on behalf of a service account. If you do not have a service account, create one.
To create a service account:
- Assign the
storage.editor
role to the service account. - Create a static access key. Save the ID and private key. After closing the window, the private key parameters will be unavailable.
Install Duplicati
Configure Duplicati
To configure Duplicati to work with Object Storage:
- Run Duplicati. If required, set a password for your account.
- Click Add backup.
- Select Configure a new backup and click Next.
- Enter the backup plan name:
Yandex Cloud
. If you chose to encrypt the backup (AES-256 encryption
orGNU Privacy Guard
), enter the password and confirm it. Click Next. - In the Storage Type field, select
S3 compatible
. - In the Server field, select
Custom server URL
. In the field that appeared, enter the addressstorage.yandexcloud.net/
. - In the Bucket name field, enter a name for your bucket.
- In the AWS Access ID field, enter the static access key ID.
- In the AWS Access Key field, enter the secret key.
- To make sure the settings are correct, click Test connection. In the window that opens, click No.
- If successful, a window will appear saying Connection worked!. After you check the settings, click Next.
- Select the files you want to back up from your computer. Click Next.
- Set the backup schedule or deselect the Automatically run backups option to create backups manually. Click Next.
- Specify the volume size and set the storage duration. Click Save.
Test the backup procedure
To test a backup:
- In the Duplicati interface, click Home.
- In the list of backup plans next to the
Yandex Cloud
plan, click Run now. Wait for the operation to complete. - In the Yandex Cloud management console
, select the folder where the backup bucket is located. - Select Object Storage.
- Open the bucket with backups and check whether all the relevant were copied.
For more information about restoring from a backup, see the Duplicati documentation
How to delete the resources you created
To stop paying for the resources you created: