Remove Remote Archive Volume

This section explains how to remove a remote archive volume.

This procedure is carried out using ConfD.

Removing a remote archive volume does not delete any data stored in the remote source.

Prerequisites

A remote archive volume must exist.

Procedure

The following examples use the command-line tool confd_client in a Linux terminal connected to a database node. For more information about how to use this tool, see ConfD.

  1. To find the volume name of the archive volume to be removed, use the ConfD job remote_volume_list.

    confd_client -c remote_volume_list
    - r0001
    - r0002

    If you cannot identify the correct archive volume to be removed based on the volume name, use remote_volume_info to see the details for a given volume. For example:

     confd_client -c remote_volume_info -a 'remote_volume_name: r0002'
    name: r0002
    owner:
    - 500
    - 500
    password: 123456789
    type: s3
    url: https://my_bucket.s3.eu-west-1.amazonaws.com/db-backup-2/
    username: backup_user
    vid: '10002'

  2. To remove the remote archive volume, use the ConfD job remote_volume_remove. For example:

    confd_client -c remote_volume_remove -a 'remote_volume_name: r0002'

Verification

To verify that the volume has been removed, use the ConfD job remote_volume_list.

confd_client -c remote_volume_list
- r0001