[GH-ISSUE #4] eve4autosnap creates error messages on non snapable images #2

Closed
opened 2026-02-26 17:43:51 +03:00 by kerem · 2 comments
Owner

Originally created by @sep76 on GitHub (Mar 20, 2018).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-autosnap/issues/4

If you create a backup of all images in a pool, you get errors in proxmox syslog if you have images that are not snapable.

eg: if there is a template image you get errors like:
"TASK ERROR: you can't take a snapshot if it's a template"

if a vm have a disk that is not snapable you get:
TASK ERROR: snapshot feature is not available

the cron job generating these errors looks like:
0 * * * * root eve4pve-autosnap snap --vmid=all --label='hourly' --keep=6 --script='/usr/share/doc/eve4pve-autosnap/examples/script-hook.sh' --syslog

autosnap should not try to snapshot templates, and non snapable images

kind regards
Ronny Aasen

Originally created by @sep76 on GitHub (Mar 20, 2018). Original GitHub issue: https://github.com/Corsinvest/cv4pve-autosnap/issues/4 If you create a backup of all images in a pool, you get errors in proxmox syslog if you have images that are not snapable. eg: if there is a template image you get errors like: "TASK ERROR: you can't take a snapshot if it's a template" if a vm have a disk that is not snapable you get: TASK ERROR: snapshot feature is not available the cron job generating these errors looks like: 0 * * * * root eve4pve-autosnap snap --vmid=all --label='hourly' --keep=6 --script='/usr/share/doc/eve4pve-autosnap/examples/script-hook.sh' --syslog autosnap should not try to snapshot templates, and non snapable images kind regards Ronny Aasen
kerem closed this issue 2026-02-26 17:43:52 +03:00
Author
Owner

@franklupo commented on GitHub (Mar 20, 2018):

Hi,
Check the possibility to exclude template.

Best regards

<!-- gh-comment-id:374744438 --> @franklupo commented on GitHub (Mar 20, 2018): Hi, Check the possibility to exclude template. Best regards
Author
Owner

@franklupo commented on GitHub (Apr 3, 2018):

Him
in new version of cli resolve this.

<!-- gh-comment-id:378413702 --> @franklupo commented on GitHub (Apr 3, 2018): Him in new version of cli resolve this.
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#2
No description provided.