Deprovision an Archive

Storage Managers (SMs) store data in archives. An archive can be deprovisioned if no SM is running on it and it is not the last archive provisioned for a database.

To deprovision an archive:

  1. Shut down any existing SM running on the archive using nuocmd shutdown process.

    For example:

    nuocmd shutdown process --start-id 0
    Use nuocmd show domain to get the start-id of the SM.
  2. Deprovision the archive using nuocmd delete archive.

    For example:

    nuocmd delete archive --archive-id 1 --purge

    nuocmd delete archive with purge removes all metadata of the archive from the domain.

    Use nuocmd show archives to get the archive-id of the archive.
    nuocmd delete archive without the purge option deprovisions the archive without removing the archive metadata. The metadata of the deprovisioned archive can be viewed using nuocmd get archives --removed.