Veritas NetBackup and Backup Exec with chili
NetBackup and Backup Exec write backups to S3-compatible cloud storage. chili is not listed as a predefined provider in either product. You therefore first add a custom cloud instance with the chili endpoint and then set up the cloud storage on it. This guide shows the values for chili. The full guide is in the NetBackup documentation and the Backup Exec documentation.
Prerequisites
- NetBackup with media servers on the same version as the primary server, or Backup Exec with access to the Backup Exec Management Command Line Interface (BEMCLI)
- media servers that can reach
s3-ch-east.chilistorage.comover HTTPS (port 443) - chili access keys (access key and secret key) from the chili Console
- a bucket, created in the chili Console, for example
netbackup-backup - without immutability (Backup Exec, NetBackup without WORM): bucket without Object Lock, access key with the
Read, write and deleteaccess level - for NetBackup with WORM storage: bucket with the
Other backup softwaretemplate, Object Lock on, retentionChosen by the application
Object Lock can only be turned on when the bucket is created. Decide beforehand whether you want to use WORM storage.
1. NetBackup: add a cloud instance
If a provider is missing from the list of service hosts, NetBackup needs a custom cloud instance for it. Add the instance in the cloud storage settings of the primary server or with the csconfig cldinstance -a command as described in the NetBackup documentation. Use the provider type for Amazon S3-compatible storage.
Field | Value |
|---|---|
Service host |
|
HTTPS port |
|
Endpoint access style / URL style | path style |
Region |
|
SSL | on |
The chili instance then shows up in the service host list.
2. NetBackup: set up cloud storage
In the NetBackup web UI, add cloud storage under Storage, either as a cloud storage server or as a cloud volume of a Media Server Deduplication Pool (MSDP). Enter:
Field | Value |
|---|---|
Cloud storage provider / service host | the chili instance from step 1 |
Access key ID | your chili access key |
Secret access key | your chili secret key |
Bucket |
|
Then create a storage unit and use it in your policies or storage lifecycle policies, for example as a duplicate at chili next to the local copy.
3. Backup Exec: cloud instance and cloud storage
Open BEMCLI and add a cloud instance for chili. For providers with AWS Signature V4, use the provider compatible-with-s3-v4:
New-BECloudInstance -Name "chili" -Provider "compatible-with-s3-v4" -ServiceHost "s3-ch-east.chilistorage.com" -SslMode "Full" -UrlStyle "Path"
Get-BECloudInstanceThen set up the storage in the Backup Exec console:
- On the
Storagetab, clickConfigure Cloud Storageand enter a name. - Select the
S3type. - Under
Cloud storage, select thechiliinstance. - Under
Logon account, add a new account: user name = chili access key, password = chili secret key. - Select the bucket
netbackup-backupand finish the wizard. Backup Exec then restarts its services.
Immutability
NetBackup supports immutable cloud storage (WORM) with S3 Object Lock. NetBackup sets the lock on each object itself, based on the backup retention. On S3-compatible platforms, NetBackup uses compliance mode, and the feature is available for the platforms NetBackup lists for immutable storage. Details in the NetBackup documentation on immutable S3-compatible storage.
chili support enables compliance mode once for your account. Get in touch before you set up WORM storage in NetBackup. More under Object Lock.
No Object Lock support on S3-compatible cloud storage is documented for Backup Exec. Use a bucket without Object Lock for Backup Exec.
Verify
After the first run, check that the job succeeded and backup images are on the chili storage. Then restore files or a VM from the copy at chili as a test. chili charges no egress fees, so the test costs nothing.
Common pitfalls
- Service host with protocol: NetBackup expects only the host name. Enter
s3-ch-east.chilistorage.comwithouthttps://. - The cloud instance cannot be changed: custom cloud instances cannot be edited in every NetBackup console after they are saved. Check the values before saving.
- Signature errors in Backup Exec: the instance was created with
compatible-with-s3(Signature V2). Usecompatible-with-s3-v4. - Media server on a different version: NetBackup requires media servers for cloud storage on the same version as the primary server.
- WORM setup fails: the bucket was created without Object Lock, or compliance mode is not enabled yet. Object Lock cannot be turned on later; create a new bucket.