Docs

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.com over 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 delete access level
  • for NetBackup with WORM storage: bucket with the Other backup software template, Object Lock on, retention Chosen 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

s3-ch-east.chilistorage.com (without http:// or https://)

HTTPS port

443

Endpoint access style / URL style

path style

Region

ch-east

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

netbackup-backup

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-BECloudInstance

Then set up the storage in the Backup Exec console:

  1. On the Storage tab, click Configure Cloud Storage and enter a name.
  2. Select the S3 type.
  3. Under Cloud storage, select the chili instance.
  4. Under Logon account, add a new account: user name = chili access key, password = chili secret key.
  5. Select the bucket netbackup-backup and 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.com without https://.
  • 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). Use compatible-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.