Backups with Veeam (Scale-Out Backup Repository)
Veeam Backup & Replication can use chili as the immutable Capacity Tier of a Scale-Out Backup Repository (SOBR). This guide is for Veeam administrators. You prepare a bucket with Object Lock, add chili as S3 Compatible object storage, attach the repository to a SOBR and turn on immutability. chili charges no egress fees, so restore and SureBackup tests cost nothing.
Prerequisites
- Veeam Backup & Replication v12 or later (S3 Compatible immutability was introduced in v12 and is available in v12.x and v13)
- chili access keys (access key and secret key) from the chili Console
- a bucket, created in the chili Console with the
Veeamtemplate (Object Lock and versioning on, no default retention, no lifecycle rules) - the chili S3 endpoint
https://s3-ch-east.chilistorage.comand the regionch-east - an existing Veeam backup repository to use as the Performance Tier of the SOBR
- a Mount Server reachable for restores
- for immutable backups: Veeam locks every object in compliance mode. chili support enables this mode once for your account. See Object Lock
1. Prepare the bucket with Object Lock
According to the Veeam documentation, immutability for S3 Compatible object storage requires Object Lock and versioning on the bucket before you register it in Veeam. Create the bucket beforehand in the chili Console with the Veeam template, for example my-veeam-capacity. The template enables Object Lock with the retention period Chosen by the application. chili turns on versioning together with Object Lock.
Do not choose Fixed period for Veeam: with a default retention, the bucket cannot be registered in Veeam. Veeam sets the lock on each object itself (block generation). Do not configure lifecycle rules on the bucket either. Veeam does not support them for its repositories, and they can cause backup or restore failures. Retention is managed by Veeam only.
2. Add chili as S3 Compatible object storage
In the Veeam console, open the wizard from this path:
Backup Infrastructure > Backup Repositories > Add Repository > Object Storage > S3 CompatibleYou can also start it from the Object Storage Repositories node > Add Object Storage > S3 Compatible. Both launch the New Object Storage Repository wizard with these steps:
1. Launch New Object Storage Repository Wizard
2. Specify Object Storage Name
3. Specify Object Storage Account
4. Specify Object Storage Settings
5. Specify Mount Server Settings
6. Review Components
7. Apply Settings
8. Finish Working with WizardOn Specify Object Storage Account, enter the connection. Set Service point to the chili endpoint including the port and Region to ch-east, and add your chili access key and secret key in the Credentials dropdown with Add...:
Service point: https://s3-ch-east.chilistorage.com:443
Region: ch-east
Credentials: AKIA... # access key, secret key via Add...Check the connection on this step. Keep the keys out of any scripts or screenshots you share.
3. Specify bucket, folder and immutability
On the Specify Object Storage Settings page, select the Bucket from step 1 via Browse, then select or create a Folder for the backups via Browse. Then select the immutability check box:
Bucket: my-veeam-capacity # select via Browse
Folder: veeam # select or create via Browse
[x] Make recent backups immutable for [N] daysAccording to the Veeam documentation, Make recent backups immutable for [N] days prohibits deletion of blocks of data from object storage for the given number of days. Veeam does not mandate a number of days; set it to match your retention policy. The GUI accepts at most 90 days. For a longer period, use the PowerShell cmdlet Set-VBRAmazonS3CompatibleRepository.
Finish the wizard: confirm the Mount Server on Specify Mount Server Settings, check Review Components, run Apply Settings and close with Finish Working with Wizard.
4. Attach the repository to the SOBR
Add the new object storage repository as the Capacity Tier of a Scale-Out Backup Repository. Edit or add the SOBR and go to the Capacity Tier step:
Backup Infrastructure > Scale-out Repositories > (edit/add SOBR) > Capacity Tier
[x] Extend scale-out backup repository capacity with object storageSelect the chili repository as the extent. According to the Veeam documentation, Capacity Tier extents can be added at any time. On the same step you define the offload and copy policy and the time windows that control when backups move to chili.
According to the Veeam documentation, the data in the bucket must be managed by Veeam only (retention and maintenance). Do not write to or delete from the bucket with other tools.
Verify
After the first offload, check that Veeam has written objects to the bucket:
aws s3 ls s3://my-veeam-capacity/veeam/ --recursive \
--endpoint-url https://s3-ch-east.chilistorage.comThe output lists the backup objects Veeam created under the chosen folder. Test the actual restore in Veeam, for example with a SureBackup job or an Instant Recovery from the Capacity Tier. In the repository properties in Veeam, you can also check that the immutability period is shown for the chili extent. chili charges no egress fees, so you can test restores regularly at no extra cost.
Common pitfalls
- Incomplete endpoint: enter the full URL with
https://and the port inService point:https://s3-ch-east.chilistorage.com:443. - Bucket without Object Lock: Object Lock and versioning must be on before you register the bucket in Veeam. Object Lock cannot be turned on later; create a new bucket.
- Default retention or lifecycle rules on the bucket: registration fails, or backups and restores fail. Use
Chosen by the applicationand no lifecycle rules. - More than 90 days of immutability: the limit applies to the GUI only. For longer periods, use
Set-VBRAmazonS3CompatibleRepositoryin PowerShell. - Wrong region: the
Regionfield takesch-east, not an AWS region such asus-east-1.
The backups are stored in Zurich, with geo-redundancy also in Geneva.