Yandex Object Storage backup with Veeam Backup
You can use Object Storage to backup and restore data via Veeam Backup & Replication
Why use Object Storage for backups with Veeam:
- Compatibility with S3
- Support for locking files with
s3 object lock
- Ability to restrict access to data with ACLs and bucket policies
To configure Object Storage for backups with Veeam:
- Get your cloud ready.
- Create a bucket.
- Set up a service account.
- Configure backups.
- Create a backup.
- Start restoring from a backup.
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 Veeam includes:
- Data storage fee (see Object Storage pricing).
- Fee for operations with data (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 backups with Veeam to buckets with the Standard default storage class.
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 secret key: you will need them for configuring Veeam access to the Object Storage bucket. After closing the window, the private key parameters will be unavailable.
Configure backups
Note
Make sure the computer where Veeam is deployed has access to the storage.yandexcloud.net
endpoint through ports 80
and 443
.
To configure Veeam to work with Object Storage:
- Launch Veeam.
- In the left-hand control panel, select Backup Infrastructure → Backup Repositories.
- In the window that opens, select
S3 Compatible
for object storage type. - Enter the name of the repository to create.
- Specify the endpoint for connecting to Object Storage:
https://storage.yandexcloud.net
. - Enter the region name,
ru-central1
, and click Add. - In the Access Key field, paste the ID of the static access key.
- In the Secret Key field, paste the secret key.
- In the list of available Object Storage buckets, select the target bucket for storing your backups.
Create a backup
To back up to a previously created Object Storage bucket:
- In the Veeam window, select the server to back up. 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 previously created one. Right-click it and select Start.
- Once the backup process is complete, you will get a detailed report.
Start restoring from a backup
To restore a file or folder from a backup:
- In the left-hand control panel, select Home → Backups → Object Storage.
- Right-click the previously created backup and select Restore guest files.
- In the window for selecting files and folders to restore, click Browse.
- In the file browser that opens, select the file or folder and click Restore.
- Once the restore process is complete, you will get a detailed report.
How to delete the resources you created
To stop paying for the resources you created: