Docs

Commvault cloud storage with chili

Commvault writes backups to cloud storage that you add in Command Center as cloud storage or a cloud storage pool. You add chili as type S3 Compatible Storage. This guide shows the values for chili. The full guide is in the Commvault documentation.

Prerequisites

  • Commvault with Command Center and at least one MediaAgent 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 commvault-backup
  • with WORM storage lock: bucket with the Other backup software template, Object Lock on, retention Chosen by the application
  • without WORM storage lock: bucket without Object Lock, access key with the Read, write and delete access level

Object Lock can only be turned on when the bucket is created. Decide beforehand whether you want to use WORM storage lock.

1. Add cloud storage

In Command Center, open Storage > Cloud and click Add. Enter:

Field

Value

Type

S3 Compatible Storage

Name

any name, for example chili-ch-east

MediaAgent

a MediaAgent with access to chili

Service host

s3-ch-east.chilistorage.com

Credentials

new entry with your chili access key and secret key

Bucket

commvault-backup (via Detect or typed in)

Use deduplication

on, with the Deduplication DB location on fast local storage of the MediaAgent

The credential name must not contain spaces or special characters. Enter only the host name as service host, not the bucket. Commvault sends the data over HTTPS. If your version shows a region field, enter ch-east.

2. Assign a plan

Select the new cloud storage in a plan as the target for the primary copy or as a secondary copy. A copy at chili in addition to the local backup follows the 3-2-1 rule.

Deduplication

Commvault deduplicates data before the upload. The deduplication database (DDB) lives on the MediaAgent, not at chili. Keep in mind:

  • Put the DDB on SSD storage. Its performance sets the backup throughput.
  • Back up the DDB regularly so that losing the MediaAgent does not mean a full rebuild.
  • With WORM storage lock, Commvault turns off micro pruning and uses macro pruning. The DDB is sealed at fixed intervals. The backup therefore uses more storage than without the lock. Plan capacity accordingly.

Immutability

Commvault protects cloud storage with the WORM storage lock. Commvault sets the lock on each object itself through S3 Object Lock. The lock period follows the storage pool retention; for deduplicated pools, the DDB sealing frequency is added. The Commvault documentation on WORM storage lock has the details.

For S3-compatible storage, Commvault uses Object Lock in compliance mode. chili support enables compliance mode once for your account. More under Object Lock.

Steps:

  1. Create a bucket with Object Lock and Chosen by the application in the chili Console, so without default retention.
  2. Have chili support enable compliance mode once for your account.
  3. In Command Center, turn on the WORM lock on the cloud storage or the plan copy as described in the Commvault documentation.

The WORM lock cannot be undone in Commvault, and the retention of a locked copy cannot be shortened. Test the settings first with a test bucket and a short retention.

Commvault also recommends a lifecycle rule that removes expired delete markers. See Lifecycle.

Verify

After the first run, check in Command Center that the job succeeded and the cloud storage shows used space. 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

  • `Detect` does not find the bucket: type the bucket name in. Check that the access key has access to the bucket.
  • Bucket in the service host: the service host contains only s3-ch-east.chilistorage.com, without the bucket name.
  • WORM lock fails: the bucket was created without Object Lock, has a default retention, or compliance mode is not enabled yet. Object Lock cannot be turned on later; create a new bucket.
  • Higher storage use than expected: with WORM storage lock, data stays until the end of the lock period plus DDB sealing.
  • DDB and index backups: Commvault advises against assigning DDB and index backups to a WORM copy.