Backup to Yandex Object Storage via Duplicati
To set up backups in Object Storage via Duplicati:
- Create a bucket
- Create a service account
- Create a static access key
- Install Duplicati
- Configure Duplicati
- Test your backup
The free version of Duplicati allows you to create a maximum of 200 GB of backups.
1. Create a bucket
To create a bucket for backups:
Go to the Yandex.Cloud management console and select the folder where you want to perform the operations.
On the folder page, click Create resource and select Bucket.
In the Name field, enter a name for the bucket, like
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).
Specify the maximum size of the bucket in GB.
Click Create bucket.
2. Create a service account
Create a service account with the
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 Duplicati
Download and install Duplicati.
5. Configure Duplicati
To configure Duplicati to work with Object Storage:
- Run Duplicati. If required, set a password for your account.
- Select the Add backup menu item.
- Click Configure a new backup. Click Next.
- Enter the backup plan name:
Yandex Cloud. Enter the password and confirm if you chose to encrypt the backup. Click Next.
- In the Storage Type field, specify
- In the Server list, specify
Custom server URL. In the field below, enter the address
- In the Bucket name field, enter the name of your bucket:
- In the AWS Access ID field, specify the ID of the static access key.
- In the AWS Access Key field, enter the private key.
- Click Test connection to make sure the settings are correct. A window opens prompting you to add the username to the bucket name. Click No.
- After checking the settings, click Next.
- Select the files that you want to back up.
- 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.
6. Test your backup
To test a backup:
- Open the Home menu item.
- In the list of backup plans next to the
Yandex Cloudplan, click Run now.
- Open the management console.
- Go to the folder containing the bucket where your backups are stored.
- Open the Object Storage service.
- Open the
backupbucket and check whether all the necessary files have been copied.