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:
-
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 thestart-id
of the SM. -
Deprovision the archive using
nuocmd delete archive
.For example:
nuocmd delete archive --archive-id 1 --purge
nuocmd delete archive
withpurge
removes all metadata of the archive from the domain.Use nuocmd show archives
to get thearchive-id
of the archive.nuocmd delete archive
without thepurge
option deprovisions the archive without removing the archive metadata. The metadata of the deprovisioned archive can be viewed usingnuocmd get archives --removed
.