Interactive Snapshot Deletion

The Bacula Enterprise Nutanix-AHV Plugin backend comes with an additional feature to manually keep track of snapshots, which is a simple command line tool located in /opt/bacula/bin. To launch the CLI the user just needs to execute the backend script wih an additional delete parameter. The script asks the user for their username and the Nutanix-AHV host. The password will be read from the snapmgr.conf file.

The example below shows a regular execution of the interactive snapshot deletion feature.

root@backupvm:~# /opt/bacula/bin/nutanix_ahv_backend delete
Enter credential    USER=
admin
Enter credential    HOST=
10.0.100.90
Do you want to treat virtual machine
    VM_NAME=TestTest
    VM_UUID=e95339ab-a15a-472e-977a-961e7f5440b1
[y]es / [n]o
y
Start interactive delete for UUID=e95339ab-a15a-472e-977a-961e7f5440b1
Snapshots detected= 11
Do you want to delete snapshot n°1
    UUID=0929948b-04ee-4df7-b7d2-1b451be9ad06
    SNAPSHOT_NAME=NutanixAhv.2022-02-15_11.07.41_09
[y]es / [n]o

See also

Go back to:

Go back to the main Operations page.

Go back to the main Nutanix-AHV page.