Add a backup target
Follow the steps below to add a new backup target.
1] Create the Trilio DB record for the new backup target
Identify the Trilio WLM API container or unit and connect to it. All commands below run in that shell.
RHOSO18
oc get pods -n trilio-openstack | grep wlm-api
oc exec -n trilio-openstack -it <trilio-wlm-api-pod-name> bash
source <admin rc file>Kolla
docker exec -it triliovault_wlm_api bash
source <admin rc file>Canonical
juju ssh trilio-wlm/leader
source <openrc file>Helm and MOSK
1.1] NFS backup target
For NFS, no Barbican secret is required. Create the backup target record directly:
Sample command:
1.2] S3 backup target
In 6.2, S3 credentials are stored in an OpenStack Barbican secret and the backup target record holds a secret_ref URL pointing at that secret. Both trilio-dms-cli and the openstack CLI are available inside the WLM API pod, so all of the following commands run there.
Step 1.2.1 — Build the secret payload using trilio-dms-cli secret-payload create.
The exact flags depend on the S3 endpoint. Two key rules apply across all examples below:
--endpoint-urlis optional for AWS S3 (leave it unset to use the default AWS endpoint) and required for any non-AWS S3-compatible endpoint (Ceph RGW, MinIO, Wasabi, etc.).--filesystem-exporttakes a different form per target type:AWS S3 —
<bucket_name>only (e.g.my-bucket).Other S3 —
<s3_domain_name>/<bucket_name>(e.g.s3.example.com/my-bucket).NFS —
<nfs_server_ip>:<export_path>(e.g.192.168.0.53:/home/rhosp2).
The five common S3 cases:
Validate the payload before storing it in Barbican:
Step 1.2.2 — Store the payload in Barbican.
Capture the value of Secret href from the output — that URL is the secret_ref you pass to workloadmgr in the next step.
Step 1.2.3 — Create the backup target record.
For a non-object-locked S3 backup target:
For an object-lock-enabled S3 backup target:
Sample (object-locked):
2] Verify
The backup target should now appear in the output of the following command:
No additional control-plane or data-plane deployment is required. The DMS server pods deployed during the initial 6.2 install (one triliovault-dms-* on each controller and one triliovault-dms on each compute node) handle the new target automatically. You can spot-check that they are running:
RHOSO18
Kolla
Canonical
Helm and MOSK
The first time a snapshot or restore runs against the new backup target, DMS will mount it on the relevant node on demand and unmount it when the last job finishes.
Last updated
Was this helpful?
