Removing NetBackup Snapshot Manager from a standalone Docker host environment
The process for uninstalling NetBackup Snapshot Manager is the same as that followed for installation. The only difference is that you specify "uninstall" in the command, which tells the installer to remove the components from the host.
During uninstallation, the installer performs the following tasks on the NetBackup Snapshot Manager host:
Stops all the NetBackup Snapshot Manager containers that are running
Removes the NetBackup Snapshot Manager containers
Unloads and removes the NetBackup Snapshot Manager images
To uninstall NetBackup Snapshot Manager
Ensure that you have uninstalled the NetBackup Snapshot Manager agents from all the hosts that are part of the NetBackup Snapshot Manager configuration.
Verify that there are no protection policy snapshots or other operations in progress, and then uninstall NetBackup Snapshot Manager by running the following command on the host:
(For Docker/Podman)
flexsnap_configure uninstallThe installer begins to unload the relevant NetBackup Snapshot Manager container packages from the host. Messages similar to the following indicate the progress status:
Uninstalling NetBackup Snapshot Manager -------------------------------------------- Stopping flexsnap-mongodb ... done Stopping flexsnap-rabbitmq ... done Stopping flexsnap-auth ... done Stopping flexsnap-core ... done Removing flexsnap-mongodb ... done Removing flexsnap-rabbitmq ... done Removing flexsnap-auth ... done Removing flexsnap-core ... done Unloading flexsnap-mongodb ... done Unloading flexsnap-rabbitmq ... done Unloading flexsnap-auth ... done Unloading flexsnap-core ... done
Confirm that the NetBackup Snapshot Manager containers are removed.
Use the following docker command:
(For Docker) # sudo docker ps -a
(For Podman) # sudo podman ps -a
If desired, remove the NetBackup Snapshot Manager container images from the host.
Use the following command to uninstall Snapshot Manager along with images:
flexsnap_configure uninstall --purge
Use the following docker command to view the docker images that are loaded on the host:
(For Docker) # sudo docker images -a
(For Podman) # sudo podman images -a
Use the following respective commands to remove the NetBackup Snapshot Manager container images from the host:
(For Docker) # sudo docker rmi <image ID>
(For Podman) # sudo podman rmi <image ID>
This completes the NetBackup Snapshot Manager uninstallation on the host.
Possible next step is to re-deploy NetBackup Snapshot Manager.
See Installing NetBackup Snapshot Manager in the Docker/Podman environment.