[GH-ISSUE #92] Exclude a snapshot from being pruned #87

Closed
opened 2026-02-26 17:44:20 +03:00 by kerem · 5 comments
Owner

Originally created by @adrianvg on GitHub (Oct 10, 2024).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-autosnap/issues/92

Hello all,

Is it possible to have cv4pve-autosnap lock a particular snapshot from being pruned?
That is to say, exclude a particular snapshot from being cleaned out.

The way I make snapshots, is to keep two dailes and two weeklies, but sometimes I do extra snapshots that I want to keep for longer while trouble-shooting stuff.

Is this possible?

Thanks.

Originally created by @adrianvg on GitHub (Oct 10, 2024). Original GitHub issue: https://github.com/Corsinvest/cv4pve-autosnap/issues/92 Hello all, Is it possible to have cv4pve-autosnap lock a particular snapshot from being pruned? That is to say, exclude a particular snapshot from being cleaned out. The way I make snapshots, is to keep two dailes and two weeklies, but sometimes I do extra snapshots that I want to keep for longer while trouble-shooting stuff. Is this possible? Thanks.
kerem closed this issue 2026-02-26 17:44:21 +03:00
Author
Owner

@franklupo commented on GitHub (Oct 10, 2024):

Hi,
create from web interface using other name, not cv4pve.

<!-- gh-comment-id:2404717292 --> @franklupo commented on GitHub (Oct 10, 2024): Hi, create from web interface using other name, not cv4pve.
Author
Owner

@adrianvg commented on GitHub (Oct 10, 2024):

Hello!
I'm pretty sure the manually created snapshot get pruned as well, when cv4pve cleans stuff out with the --keep=n flag.

<!-- gh-comment-id:2405034839 --> @adrianvg commented on GitHub (Oct 10, 2024): Hello! I'm pretty sure the manually created snapshot get pruned as well, when cv4pve cleans stuff out with the --keep=n flag.
Author
Owner

@franklupo commented on GitHub (Oct 11, 2024):

No, delete only those created by the program.

<!-- gh-comment-id:2406626452 --> @franklupo commented on GitHub (Oct 11, 2024): No, delete only those created by the program.
Author
Owner

@adrianvg commented on GitHub (Oct 11, 2024):

No, delete only those created by the program.

You're right, my bad. All is okay now!

<!-- gh-comment-id:2406703499 --> @adrianvg commented on GitHub (Oct 11, 2024): > No, delete only those created by the program. You're right, my bad. All is okay now!
Author
Owner

@adrianvg commented on GitHub (Oct 11, 2024):

The manually created snapshots I used as a test, were indeed not deleted during the night.

<!-- gh-comment-id:2406704647 --> @adrianvg commented on GitHub (Oct 11, 2024): The manually created snapshots I used as a test, were indeed not deleted during the night.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cv4pve-autosnap#87
No description provided.