Backing up to Yandex Object Storage with Veeam Backup
You can use Object Storage to backup and restore data using Veeam Backup & Replication
How to use Object Storage Veeam backup:
- S3 protocol-compatible.
- Support for locking files with
s3 object lock - Allows restricting data access using an ACL and a bucket policy.
To configure Object Storage for Veeam backup:
- Get your cloud ready.
- Create a bucket.
- Set up a service account.
- Configure a backup job.
- Run a backup job.
- Run a restore job.
If you no longer need the resources you created, delete them.
Getting started
Sign up for Yandex Cloud and create a billing account:
- Navigate to the management console
and log in to Yandex Cloud or create a new account. - On the Yandex Cloud Billing
page, make sure you have a billing account linked and it has theACTIVEorTRIAL_ACTIVEstatus. If you do not have a billing account, create one and link a cloud to it.
If you have an active billing account, you can create or select a folder for your infrastructure on the cloud page
Learn more about clouds and folders here.
Required paid resources
The cost of Veeam backup includes:
- Fee for data storage (see Object Storage pricing).
- Fee for data operations (see Object Storage pricing).
- Fee for outbound traffic from Yandex Cloud to the internet (see Object Storage pricing).
Create a bucket
Note
Object Storage only supports Veeam backup to buckets of the default storage type: Regular.
To create a backup bucket:
- Go to the Yandex Cloud management console
and select the folder where you will perform the operations. - 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 Read objects, Read object list, and Read settings fields, select
With authorization. - Specify the maximum size of the bucket in GB.
- Click Create bucket.
Set up a service account
In Object Storage, you perform backups under a service account. If you do not have a service account, create one.
To create a service account:
- Assign the
storage.editorrole to the service account. - Create a static access key. Save the ID and secret key: you will need them later on to configure Veeam access to the Object Storage bucket. After closing the window, the private key properties will no longer be available.
Configure a backup
Note
Make sure the system with Veeam can access the storage.yandexcloud.net endpoint through ports 80 and 443.
To configure Veeam for Object Storage:
- Run Veeam.
- In the left-hand management panel, select Backup Infrastructure → Backup Repositories.
- In the window that opens, select the
S3 Compatiblestorage type. - Enter a name for the repository you are creating.
- Specify the endpoint for connecting to Object Storage:
https://storage.yandexcloud.net. - Enter
ru-central1and click Add. - In the Access Key field, specify the static access key ID.
- In the Secret Key field, paste the secret key.
- From the list of available Object Storage buckets, select the appropriate bucket for storing backups.
Create a backup
To back up data to the Object Storage bucket you created earlier:
- In the Veeam window, find the server whose backup you want to create. Right-click it and select Add to backup job → New job.
- In the window that opens, select Type Server → Mode Managed by backup server.
- In the backup repository selection window, select the Object Storage one you created earlier.
- From the list of backup tasks, select the one you created earlier. Right-click it and select Start.
- Once the backup is complete, you will get a complete report.
Restore data from a backup
To restore a file or directory from a backup:
- In the left-hand management panel, select Home** → Backups → Object Storage.
- Right-click the backup you created earlier and select Restore guest files.
- In the window for selecting files and directories to back up, click Browse.
- In the file manager that opens, select a file or directory to back up and click Restore.
- Once restoring is complete, you will get a complete report.
How to delete the resources you created
To stop paying for the resources you created: