[BlueOnyx:25691] Re: Deleting Aventurine Snapshots

Michael Aronoff maronoff at gmail.com
Fri Nov 11 12:33:04 -05 2022


OK, this is working but I have one last question. As I delete from the 
youngest can I delete the last one or not? As I said it does not appear 
that other servers are running off any snapshots, just off their VPS 
directly. When I list snapshots it shows none. I jsut wanted to check 
before I remove the final snapshot.

Thanks,
________________________________
M Aronoff Out – maronoff at gmail.com

I'm a great believer in luck, and I find
the harder I work the more I have of it.
   - Thomas Jefferson


------ Original Message ------
>From "Michael Stauber" <mstauber at blueonyx.it>
To blueonyx at mail.blueonyx.it
Date 11/11/2022 8:38:14 AM
Subject [BlueOnyx:25688] Re: Deleting Aventurine Snapshots

>Hi Michael,
>
>>When I run a prlctl snapshot-list (Snapshot_ID) on the servers without problems it shows no snapshots. But on the one with the problem it shows:
>>
>>PARENT_SNAPSHOT_ID                      SNAPSHOT_ID
>>                                                                                       {8ea34399-eef7-43ba-a708-102ee9b08a10}
>>{8ea34399-eef7-43ba-a708-102ee9b08a10}      {335d5585-5ad9-42d1-8127-00eebed31981}
>>{335d5585-5ad9-42d1-8127-00eebed31981}    {ab1a9f3c-6468-4f6e-a6eb-f560c227a8e6}
>>{ab1a9f3c-6468-4f6e-a6eb-f560c227a8e6}      *{67f1a52a-817a-4efc-ba04-f56098f4865d}
>>
>>and a new one seems to be added each night.
>Yes, snapshots (these are like rollback-points on Windows) can be deleted. But they *must* be deleted with the "prlctl" tool.
>
>See: https://docs.openvz.org/openvz_command_line_reference.webhelp/_prlctl_snapshot_snapshot_list_snapshot_switch_snapshot_delete_2.html
>
>In my experience it is best to first get a tree view of the snapshot structure, as there might be several children snapshots that are tied into one or more parents. And you have to delete them from youngest to oldest.
>
>You can list the snapshots in a tree view like this:
>
>#> prlctl snapshot-list <VM_name> -t
>
>And then delete them from youngest first like this:
>
>#> prlctl snapshot-delete <VM_name> --id <snapshot_ID>
>
>That should do it.
>
>-- With best regards
>
>Michael Stauber
>_______________________________________________
>Blueonyx mailing list
>Blueonyx at mail.blueonyx.it
>http://mail.blueonyx.it/mailman/listinfo/blueonyx




More information about the Blueonyx mailing list