Backing up to Yandex Object Storage with Veeam Backup
You can use Object Storage to backup and restore data using Veeam Backup & Replication
Why use Object Storage for backups with Veeam:
- 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:
- 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 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 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
In Object Storage, you back up data under 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 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 job
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 control panel, select Backup Infrastructure → Backup Repositories.
- In the window that opens, select the
S3 Compatible
storage type. - Enter a name for the repository you are creating.
- Specify the endpoint for connecting to Object Storage:
https://storage.yandexcloud.net
. - Enter
ru-central1
and 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 target bucket to store your backups in.
Run a backup job
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 one you created earlier in Object Storage.
- From the list of backup jobs, select the one you created earlier. Right-click it and select Start.
- Once the backup is complete, you will get a complete report.
Run a restore job
To restore a file or directory from a backup:
- In the left-hand control 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 restore, click Browse.
- In the file manager that opens, select a file or directory to restore 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: