Delete a backup target
Follow the steps below to remove a backup target.
1. Clean Workloads and Backups (Optional)
All data related to workloads and the cloud resides on the backup target. The administrator can clean this data from the backup target before deletion, but this step is optional and should not prevent the user from deleting the backup target.
Before cleaning up workloads or snapshots, log in to the correct OpenStack project, as each backup target and its workloads belong to that specific project. Select the right project you need before proceeding.
Delete all backups stored on the required dynamically added S3 backup target using the UI (Horizon) or Trilio CLI.
Delete Snapshots
Refer to this documentation for detailed steps.
Delete a Workload
Refer to this documentation for detailed steps.
Note: Repeat this procedure for each backup and workload that needs to be deleted from the S3 backup target created earlier.
2. Remove the Backup Target Record
Deleting a backup target removes it from the TrilioVault database. Make sure you do not need this backup target anymore before you delete it.
Using Horizon Dashboard
Log in to the OpenStack Horizon Dashboard as an Admin user.
Navigate to Admin → Backups-Admin → Backup Targets.
Click the
button next to the target, and confirm the deletion when prompted.Multiple targets can be deleted by selecting their checkboxes and clicking the
button at the top right.
Using CLI
RHOSO18
Identify the WLM API pod in the
trilio-openstacknamespace:Exec into the pod and source the admin RC file:
Kolla
Exec into the wlm-api container and source the admin RC file:
Common Steps
List the backup targets to find the ID of the one you want to delete:
Note the Backup Target ID and the Secret Ref URL (for S3 targets) — you will need the secret ref to clean up the Barbican secret in step 3.
Delete the backup target:
Verify deletion:
3. Delete the Barbican Secret (S3 only)
In 6.2, the S3 access/secret keys for each backup target are stored in an OpenStack Barbican secret. Once the backup target record is gone, the corresponding Barbican secret is no longer referenced and can be removed.
From inside the WLM API pod/container:
Or use the Secret Ref URL captured from workloadmgr backup-target-list in section 2 directly:
4. Verify
DMS unmounts the backup target automatically when the last in-flight job releases it; no manual unmount is required. You can confirm that:
The deleted backup target no longer appears in
workloadmgr backup-target-list.
RHOSO18
The DMS server pods on the controller and compute nodes are still
Running:No per-BT
triliovault-object-store-<bt-name>-*pods remain in thetrilio-openstacknamespace (in 6.2 they should never be present):
Kolla
The DMS server containers on the controller and compute nodes are still
Running:
Last updated
Was this helpful?
