Corsinvest / cv4pve-autosnap

Automatic snapshot tool for Proxmox VE
https://www.corsinvest.it/cv4pve
GNU General Public License v3.0
414 stars 51 forks source link

eve4autosnap creates error messages on non snapable images #4

Closed sep76 closed 5 years ago

sep76 commented 6 years ago

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

franklupo commented 6 years ago

Hi, Check the possibility to exclude template.

Best regards

franklupo commented 6 years ago

Him in new version of cli resolve this.