[GH-ISSUE #11] Snapshots are not deleted automaticaly #10

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

Originally created by @cheechmarino on GitHub (May 31, 2019).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-autosnap/issues/11

Hi. After latest updates installation from no-subscription repository no snapshots are deleted after "eve4pve-autosnap snap" execution with "keep" parameter enabled. Checked log files and there are only snapshot creation entries, no errors.
On Proxmox machine with enterprise repository everything works like it should.

Originally created by @cheechmarino on GitHub (May 31, 2019). Original GitHub issue: https://github.com/Corsinvest/cv4pve-autosnap/issues/11 Hi. After latest updates installation from no-subscription repository no snapshots are deleted after "eve4pve-autosnap snap" execution with "keep" parameter enabled. Checked log files and there are only snapshot creation entries, no errors. On Proxmox machine with enterprise repository everything works like it should.
kerem closed this issue 2026-02-26 17:43:55 +03:00
Author
Owner

@franklupo commented on GitHub (May 31, 2019):

Hi,
can you execute with parameter --debug and send me output?

Best regards

<!-- gh-comment-id:497628613 --> @franklupo commented on GitHub (May 31, 2019): Hi, can you execute with parameter --debug and send me output? Best regards
Author
Owner

@cheechmarino commented on GitHub (May 31, 2019):

root@pmvt2:~# eve4pve-autosnap snap --vmid=2000 --label='daily' --keep=14 --debug
2019-05-31 12:04:19 DEBUG: eve4pve-autosnap 0.1.8
2019-05-31 12:04:19 DEBUG: Command line: snap --vmid=2000 --label=daily --keep=14 --debug
2019-05-31 12:04:19 DEBUG: ------------------------------------------------------------
2019-05-31 12:04:19 DEBUG: EVE4PVE_AUTOSNAP_PHASE: snap-job-start
2019-05-31 12:04:19 DEBUG: EVE4PVE_AUTOSNAP_VMID: 2000
2019-05-31 12:04:19 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY:
2019-05-31 12:04:19 DEBUG: EVE4PVE_AUTOSNAP_LABEL: daily
2019-05-31 12:04:19 DEBUG: EVE4PVE_AUTOSNAP_KEEP: 14
2019-05-31 12:04:19 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE: 0
2019-05-31 12:04:19 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME: -
2019-05-31 12:04:19 DEBUG: ------------------------------------------------------------
2019-05-31 12:04:21 DEBUG: ------------------------------------------------------------
2019-05-31 12:04:21 DEBUG: EVE4PVE_AUTOSNAP_PHASE: snap-create-pre
2019-05-31 12:04:21 DEBUG: EVE4PVE_AUTOSNAP_VMID: 2000
2019-05-31 12:04:21 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY: qm
2019-05-31 12:04:21 DEBUG: EVE4PVE_AUTOSNAP_LABEL: daily
2019-05-31 12:04:21 DEBUG: EVE4PVE_AUTOSNAP_KEEP: 14
2019-05-31 12:04:21 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE: 0
2019-05-31 12:04:21 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME: autodaily190531120419
2019-05-31 12:04:21 DEBUG: ------------------------------------------------------------
VM 2000 - Creating snapshot autodaily190531120419
2019-05-31 12:04:21 DEBUG: qm snapshot 2000 autodaily190531120419 -description 'eve4pve-autosnap'
2019-05-31 12:04:22 DEBUG: return 0
2019-05-31 12:04:22 DEBUG: ------------------------------------------------------------
2019-05-31 12:04:22 DEBUG: EVE4PVE_AUTOSNAP_PHASE: snap-create-post
2019-05-31 12:04:22 DEBUG: EVE4PVE_AUTOSNAP_VMID: 2000
2019-05-31 12:04:22 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY: qm
2019-05-31 12:04:22 DEBUG: EVE4PVE_AUTOSNAP_LABEL: daily
2019-05-31 12:04:22 DEBUG: EVE4PVE_AUTOSNAP_KEEP: 14
2019-05-31 12:04:22 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE: 0
2019-05-31 12:04:22 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME: autodaily190531120419
2019-05-31 12:04:22 DEBUG: ------------------------------------------------------------
2019-05-31 12:04:23 DEBUG: ------------------------------------------------------------
2019-05-31 12:04:23 DEBUG: EVE4PVE_AUTOSNAP_PHASE: snap-job-end
2019-05-31 12:04:23 DEBUG: EVE4PVE_AUTOSNAP_VMID: 0
2019-05-31 12:04:23 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY:
2019-05-31 12:04:23 DEBUG: EVE4PVE_AUTOSNAP_LABEL: daily
2019-05-31 12:04:23 DEBUG: EVE4PVE_AUTOSNAP_KEEP: 14
2019-05-31 12:04:23 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE: 0
2019-05-31 12:04:23 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME: -
2019-05-31 12:04:23 DEBUG: ------------------------------------------------------------
2019-05-31 12:04:23 DEBUG: Execution: 4 sec.

<!-- gh-comment-id:497635989 --> @cheechmarino commented on GitHub (May 31, 2019): root@pmvt2:~# eve4pve-autosnap snap --vmid=2000 --label='daily' --keep=14 --debug 2019-05-31 12:04:19 DEBUG: eve4pve-autosnap 0.1.8 2019-05-31 12:04:19 DEBUG: Command line: snap --vmid=2000 --label=daily --keep=14 --debug 2019-05-31 12:04:19 DEBUG: ------------------------------------------------------------ 2019-05-31 12:04:19 DEBUG: EVE4PVE_AUTOSNAP_PHASE: snap-job-start 2019-05-31 12:04:19 DEBUG: EVE4PVE_AUTOSNAP_VMID: 2000 2019-05-31 12:04:19 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY: 2019-05-31 12:04:19 DEBUG: EVE4PVE_AUTOSNAP_LABEL: daily 2019-05-31 12:04:19 DEBUG: EVE4PVE_AUTOSNAP_KEEP: 14 2019-05-31 12:04:19 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE: 0 2019-05-31 12:04:19 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME: - 2019-05-31 12:04:19 DEBUG: ------------------------------------------------------------ 2019-05-31 12:04:21 DEBUG: ------------------------------------------------------------ 2019-05-31 12:04:21 DEBUG: EVE4PVE_AUTOSNAP_PHASE: snap-create-pre 2019-05-31 12:04:21 DEBUG: EVE4PVE_AUTOSNAP_VMID: 2000 2019-05-31 12:04:21 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY: qm 2019-05-31 12:04:21 DEBUG: EVE4PVE_AUTOSNAP_LABEL: daily 2019-05-31 12:04:21 DEBUG: EVE4PVE_AUTOSNAP_KEEP: 14 2019-05-31 12:04:21 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE: 0 2019-05-31 12:04:21 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME: autodaily190531120419 2019-05-31 12:04:21 DEBUG: ------------------------------------------------------------ VM 2000 - Creating snapshot autodaily190531120419 2019-05-31 12:04:21 DEBUG: qm snapshot 2000 autodaily190531120419 -description 'eve4pve-autosnap' 2019-05-31 12:04:22 DEBUG: return 0 2019-05-31 12:04:22 DEBUG: ------------------------------------------------------------ 2019-05-31 12:04:22 DEBUG: EVE4PVE_AUTOSNAP_PHASE: snap-create-post 2019-05-31 12:04:22 DEBUG: EVE4PVE_AUTOSNAP_VMID: 2000 2019-05-31 12:04:22 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY: qm 2019-05-31 12:04:22 DEBUG: EVE4PVE_AUTOSNAP_LABEL: daily 2019-05-31 12:04:22 DEBUG: EVE4PVE_AUTOSNAP_KEEP: 14 2019-05-31 12:04:22 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE: 0 2019-05-31 12:04:22 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME: autodaily190531120419 2019-05-31 12:04:22 DEBUG: ------------------------------------------------------------ 2019-05-31 12:04:23 DEBUG: ------------------------------------------------------------ 2019-05-31 12:04:23 DEBUG: EVE4PVE_AUTOSNAP_PHASE: snap-job-end 2019-05-31 12:04:23 DEBUG: EVE4PVE_AUTOSNAP_VMID: 0 2019-05-31 12:04:23 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY: 2019-05-31 12:04:23 DEBUG: EVE4PVE_AUTOSNAP_LABEL: daily 2019-05-31 12:04:23 DEBUG: EVE4PVE_AUTOSNAP_KEEP: 14 2019-05-31 12:04:23 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE: 0 2019-05-31 12:04:23 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME: - 2019-05-31 12:04:23 DEBUG: ------------------------------------------------------------ 2019-05-31 12:04:23 DEBUG: Execution: 4 sec.
Author
Owner

@franklupo commented on GitHub (May 31, 2019):

execute

qm listsnapshot 2000

and attach output.

<!-- gh-comment-id:497638566 --> @franklupo commented on GitHub (May 31, 2019): execute > qm listsnapshot 2000 and attach output.
Author
Owner

@cheechmarino commented on GitHub (May 31, 2019):

root@pmvt2:~# qm listsnapshot 2000
-> autodaily190516000003 2019-05-16 00:00:06 eve4pve-autosnap
-> autodaily190517000003 2019-05-17 00:00:06 eve4pve-autosnap
-> autodaily190518000003 2019-05-18 00:00:06 eve4pve-autosnap
-> autodaily190519000003 2019-05-19 00:00:06 eve4pve-autosnap
-> autodaily190520000003 2019-05-20 00:00:06 eve4pve-autosnap
-> autodaily190521000003 2019-05-21 00:00:06 eve4pve-autosnap
-> autodaily190522000003 2019-05-22 00:00:06 eve4pve-autosnap
-> autodaily190523000003 2019-05-23 00:00:06 eve4pve-autosnap
-> autodaily190524000003 2019-05-24 00:00:06 eve4pve-autosnap
-> autodaily190525000003 2019-05-25 00:00:06 eve4pve-autosnap
-> autodaily190526000003 2019-05-26 00:00:06 eve4pve-autosnap
-> autodaily190527000003 2019-05-27 00:00:06 eve4pve-autosnap
-> autodaily190528000003 2019-05-28 00:00:06 eve4pve-autosnap
-> autodaily190529000003 2019-05-29 00:00:06 eve4pve-autosnap
-> autodaily190530000003 2019-05-30 00:00:06 eve4pve-autosnap
-> autodaily190531000003 2019-05-31 00:00:06 eve4pve-autosnap
-> autodaily190531063836 2019-05-31 06:38:39 eve4pve-autosnap
-> autodaily190531120419 2019-05-31 12:04:22 eve4pve-autosnap
-> current You are here!

<!-- gh-comment-id:497639745 --> @cheechmarino commented on GitHub (May 31, 2019): root@pmvt2:~# qm listsnapshot 2000 -> autodaily190516000003 2019-05-16 00:00:06 eve4pve-autosnap -> autodaily190517000003 2019-05-17 00:00:06 eve4pve-autosnap -> autodaily190518000003 2019-05-18 00:00:06 eve4pve-autosnap -> autodaily190519000003 2019-05-19 00:00:06 eve4pve-autosnap -> autodaily190520000003 2019-05-20 00:00:06 eve4pve-autosnap -> autodaily190521000003 2019-05-21 00:00:06 eve4pve-autosnap -> autodaily190522000003 2019-05-22 00:00:06 eve4pve-autosnap -> autodaily190523000003 2019-05-23 00:00:06 eve4pve-autosnap -> autodaily190524000003 2019-05-24 00:00:06 eve4pve-autosnap -> autodaily190525000003 2019-05-25 00:00:06 eve4pve-autosnap -> autodaily190526000003 2019-05-26 00:00:06 eve4pve-autosnap -> autodaily190527000003 2019-05-27 00:00:06 eve4pve-autosnap -> autodaily190528000003 2019-05-28 00:00:06 eve4pve-autosnap -> autodaily190529000003 2019-05-29 00:00:06 eve4pve-autosnap -> autodaily190530000003 2019-05-30 00:00:06 eve4pve-autosnap -> autodaily190531000003 2019-05-31 00:00:06 eve4pve-autosnap -> autodaily190531063836 2019-05-31 06:38:39 eve4pve-autosnap -> autodaily190531120419 2019-05-31 12:04:22 eve4pve-autosnap -> current You are here!
Author
Owner

@franklupo commented on GitHub (May 31, 2019):

Hi the problem is the change format of output.
can add output command "pveversion"

<!-- gh-comment-id:497643401 --> @franklupo commented on GitHub (May 31, 2019): Hi the problem is the change format of output. can add output command "pveversion"
Author
Owner

@cheechmarino commented on GitHub (May 31, 2019):

pve-manager/5.4-6/aa7856c5 (running kernel: 4.15.18-15-pve)

<!-- gh-comment-id:497644274 --> @cheechmarino commented on GitHub (May 31, 2019): pve-manager/5.4-6/aa7856c5 (running kernel: 4.15.18-15-pve)
Author
Owner

@franklupo commented on GitHub (May 31, 2019):

ok found problem create fix

best regards

<!-- gh-comment-id:497646714 --> @franklupo commented on GitHub (May 31, 2019): ok found problem create fix best regards
Author
Owner

@cheechmarino commented on GitHub (May 31, 2019):

ThankYou!!!

<!-- gh-comment-id:497649720 --> @cheechmarino commented on GitHub (May 31, 2019): ThankYou!!!
Author
Owner

@franklupo commented on GitHub (May 31, 2019):

Please check new version if working,
Let me know if there are any problems.

Best regards

<!-- gh-comment-id:497655554 --> @franklupo commented on GitHub (May 31, 2019): Please check[ new version](https://github.com/EnterpriseVE/eve4pve-autosnap/releases/download/0.1.9/eve4pve-autosnap_0.1.9_all.deb) if working, Let me know if there are any problems. Best regards
Author
Owner

@cheechmarino commented on GitHub (May 31, 2019):

Hi. Can confirm that new version is working on latest Proxmox no-subscription updates.

Thank You very much!!!

<!-- gh-comment-id:497667353 --> @cheechmarino commented on GitHub (May 31, 2019): Hi. Can confirm that new version is working on latest Proxmox no-subscription updates. Thank You very much!!!
Author
Owner

@franklupo commented on GitHub (May 31, 2019):

Pferfext

<!-- gh-comment-id:497674967 --> @franklupo commented on GitHub (May 31, 2019): Pferfext
Author
Owner

@datacenter1 commented on GitHub (Jun 12, 2019):

Hi
I have the same issue but 0.19 didn't fix it, started after the last reboot

root@node003:/# pveversion
pve-manager/5.4-6/aa7856c5 (running kernel: 4.15.18-15-pve)
root@node003:/#  eve4pve-autosnap snap --vmid=1003 --label='hourly' --keep=2 --debug
2019-06-12 17:08:55 DEBUG: eve4pve-autosnap 0.1.9
2019-06-12 17:08:55 DEBUG: Command line: snap --vmid=1003 --label=hourly --keep=2 --debug
2019-06-12 17:08:55 DEBUG: ------------------------------------------------------------
2019-06-12 17:08:55 DEBUG: EVE4PVE_AUTOSNAP_PHASE:        snap-job-start
2019-06-12 17:08:55 DEBUG: EVE4PVE_AUTOSNAP_VMID:         1003
2019-06-12 17:08:55 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY:  
2019-06-12 17:08:55 DEBUG: EVE4PVE_AUTOSNAP_LABEL:        hourly
2019-06-12 17:08:55 DEBUG: EVE4PVE_AUTOSNAP_KEEP:         2
2019-06-12 17:08:55 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE:      0
2019-06-12 17:08:55 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME:    -
2019-06-12 17:08:55 DEBUG: ------------------------------------------------------------
VM 1003 consider enabling QEMU agent see https://pve.proxmox.com/wiki/Qemu-guest-agent
2019-06-12 17:08:57 DEBUG: ------------------------------------------------------------
2019-06-12 17:08:57 DEBUG: EVE4PVE_AUTOSNAP_PHASE:        snap-create-pre
2019-06-12 17:08:57 DEBUG: EVE4PVE_AUTOSNAP_VMID:         1003
2019-06-12 17:08:57 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY:  qm
2019-06-12 17:08:57 DEBUG: EVE4PVE_AUTOSNAP_LABEL:        hourly
2019-06-12 17:08:57 DEBUG: EVE4PVE_AUTOSNAP_KEEP:         2
2019-06-12 17:08:57 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE:      0
2019-06-12 17:08:57 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME:    autohourly190612170855
2019-06-12 17:08:57 DEBUG: ------------------------------------------------------------
VM 1003 - Creating snapshot autohourly190612170855
2019-06-12 17:08:57 DEBUG: qm snapshot 1003 autohourly190612170855 -description 'eve4pve-autosnap' 
  Using default stripesize 64.00 KiB.
  For thin pool auto extension activation/thin_pool_autoextend_threshold should be below 100.
  Logical volume "snap_vm-1003-disk-0_autohourly190612170855" created.
  WARNING: Sum of all thin volume sizes (13.28 TiB) exceeds the size of thin pool vmdata/data and the size of whole volume group (6.30 TiB)!
  Using default stripesize 64.00 KiB.
  For thin pool auto extension activation/thin_pool_autoextend_threshold should be below 100.
  Logical volume "snap_vm-1003-disk-1_autohourly190612170855" created.
  WARNING: Sum of all thin volume sizes (15.23 TiB) exceeds the size of thin pool vmdata/data and the size of whole volume group (6.30 TiB)!
  Using default stripesize 64.00 KiB.
  For thin pool auto extension activation/thin_pool_autoextend_threshold should be below 100.
  Logical volume "snap_vm-1003-disk-2_autohourly190612170855" created.
  WARNING: Sum of all thin volume sizes (17.19 TiB) exceeds the size of thin pool vmdata/data and the size of whole volume group (6.30 TiB)!
2019-06-12 17:08:59 DEBUG: return 0
2019-06-12 17:08:59 DEBUG: ------------------------------------------------------------
2019-06-12 17:08:59 DEBUG: EVE4PVE_AUTOSNAP_PHASE:        snap-create-post
2019-06-12 17:08:59 DEBUG: EVE4PVE_AUTOSNAP_VMID:         1003
2019-06-12 17:08:59 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY:  qm
2019-06-12 17:08:59 DEBUG: EVE4PVE_AUTOSNAP_LABEL:        hourly
2019-06-12 17:08:59 DEBUG: EVE4PVE_AUTOSNAP_KEEP:         2
2019-06-12 17:08:59 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE:      0
2019-06-12 17:08:59 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME:    autohourly190612170855
2019-06-12 17:08:59 DEBUG: ------------------------------------------------------------
Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm.pm line 949.
Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm line 960.
Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm.pm line 949.
Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm line 960.
2019-06-12 17:09:00 DEBUG: ------------------------------------------------------------
2019-06-12 17:09:00 DEBUG: EVE4PVE_AUTOSNAP_PHASE:        snap-job-end
2019-06-12 17:09:00 DEBUG: EVE4PVE_AUTOSNAP_VMID:         0
2019-06-12 17:09:00 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY:  
2019-06-12 17:09:00 DEBUG: EVE4PVE_AUTOSNAP_LABEL:        hourly
2019-06-12 17:09:00 DEBUG: EVE4PVE_AUTOSNAP_KEEP:         2
2019-06-12 17:09:00 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE:      0
2019-06-12 17:09:00 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME:    -
2019-06-12 17:09:00 DEBUG: ------------------------------------------------------------
2019-06-12 17:09:00 DEBUG: Execution: 5 sec.

Still working in other nodes with same Proxmox versión but without reboot yet

Thank you

<!-- gh-comment-id:501474496 --> @datacenter1 commented on GitHub (Jun 12, 2019): Hi I have the same issue but 0.19 didn't fix it, started after the last reboot ``` root@node003:/# pveversion pve-manager/5.4-6/aa7856c5 (running kernel: 4.15.18-15-pve) ``` ``` root@node003:/# eve4pve-autosnap snap --vmid=1003 --label='hourly' --keep=2 --debug 2019-06-12 17:08:55 DEBUG: eve4pve-autosnap 0.1.9 2019-06-12 17:08:55 DEBUG: Command line: snap --vmid=1003 --label=hourly --keep=2 --debug 2019-06-12 17:08:55 DEBUG: ------------------------------------------------------------ 2019-06-12 17:08:55 DEBUG: EVE4PVE_AUTOSNAP_PHASE: snap-job-start 2019-06-12 17:08:55 DEBUG: EVE4PVE_AUTOSNAP_VMID: 1003 2019-06-12 17:08:55 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY: 2019-06-12 17:08:55 DEBUG: EVE4PVE_AUTOSNAP_LABEL: hourly 2019-06-12 17:08:55 DEBUG: EVE4PVE_AUTOSNAP_KEEP: 2 2019-06-12 17:08:55 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE: 0 2019-06-12 17:08:55 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME: - 2019-06-12 17:08:55 DEBUG: ------------------------------------------------------------ VM 1003 consider enabling QEMU agent see https://pve.proxmox.com/wiki/Qemu-guest-agent 2019-06-12 17:08:57 DEBUG: ------------------------------------------------------------ 2019-06-12 17:08:57 DEBUG: EVE4PVE_AUTOSNAP_PHASE: snap-create-pre 2019-06-12 17:08:57 DEBUG: EVE4PVE_AUTOSNAP_VMID: 1003 2019-06-12 17:08:57 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY: qm 2019-06-12 17:08:57 DEBUG: EVE4PVE_AUTOSNAP_LABEL: hourly 2019-06-12 17:08:57 DEBUG: EVE4PVE_AUTOSNAP_KEEP: 2 2019-06-12 17:08:57 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE: 0 2019-06-12 17:08:57 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME: autohourly190612170855 2019-06-12 17:08:57 DEBUG: ------------------------------------------------------------ VM 1003 - Creating snapshot autohourly190612170855 2019-06-12 17:08:57 DEBUG: qm snapshot 1003 autohourly190612170855 -description 'eve4pve-autosnap' Using default stripesize 64.00 KiB. For thin pool auto extension activation/thin_pool_autoextend_threshold should be below 100. Logical volume "snap_vm-1003-disk-0_autohourly190612170855" created. WARNING: Sum of all thin volume sizes (13.28 TiB) exceeds the size of thin pool vmdata/data and the size of whole volume group (6.30 TiB)! Using default stripesize 64.00 KiB. For thin pool auto extension activation/thin_pool_autoextend_threshold should be below 100. Logical volume "snap_vm-1003-disk-1_autohourly190612170855" created. WARNING: Sum of all thin volume sizes (15.23 TiB) exceeds the size of thin pool vmdata/data and the size of whole volume group (6.30 TiB)! Using default stripesize 64.00 KiB. For thin pool auto extension activation/thin_pool_autoextend_threshold should be below 100. Logical volume "snap_vm-1003-disk-2_autohourly190612170855" created. WARNING: Sum of all thin volume sizes (17.19 TiB) exceeds the size of thin pool vmdata/data and the size of whole volume group (6.30 TiB)! 2019-06-12 17:08:59 DEBUG: return 0 2019-06-12 17:08:59 DEBUG: ------------------------------------------------------------ 2019-06-12 17:08:59 DEBUG: EVE4PVE_AUTOSNAP_PHASE: snap-create-post 2019-06-12 17:08:59 DEBUG: EVE4PVE_AUTOSNAP_VMID: 1003 2019-06-12 17:08:59 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY: qm 2019-06-12 17:08:59 DEBUG: EVE4PVE_AUTOSNAP_LABEL: hourly 2019-06-12 17:08:59 DEBUG: EVE4PVE_AUTOSNAP_KEEP: 2 2019-06-12 17:08:59 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE: 0 2019-06-12 17:08:59 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME: autohourly190612170855 2019-06-12 17:08:59 DEBUG: ------------------------------------------------------------ Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm.pm line 949. Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm line 960. Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm.pm line 949. Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm line 960. 2019-06-12 17:09:00 DEBUG: ------------------------------------------------------------ 2019-06-12 17:09:00 DEBUG: EVE4PVE_AUTOSNAP_PHASE: snap-job-end 2019-06-12 17:09:00 DEBUG: EVE4PVE_AUTOSNAP_VMID: 0 2019-06-12 17:09:00 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY: 2019-06-12 17:09:00 DEBUG: EVE4PVE_AUTOSNAP_LABEL: hourly 2019-06-12 17:09:00 DEBUG: EVE4PVE_AUTOSNAP_KEEP: 2 2019-06-12 17:09:00 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE: 0 2019-06-12 17:09:00 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME: - 2019-06-12 17:09:00 DEBUG: ------------------------------------------------------------ 2019-06-12 17:09:00 DEBUG: Execution: 5 sec. ``` Still working in other nodes with same Proxmox versión but without reboot yet Thank you
Author
Owner

@altoch commented on GitHub (Jun 12, 2019):

I rebooted a host, and seems the crontab eve4pve-autosnap file got reset to default.
So it's empty file no programmed tasks
Quick solution, create your own crontab file

After launching autosnap command, throws this error:
eve4pve-autosnap snap --vmid=102 --label='daily' --keep=3

And then old snapshots are not deleted

VM 102 - Creating snapshot autodaily190613005023
Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm. pm line 949.
Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm lin e 960.
Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm. pm line 949.
Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm lin e 960.

Same here

root@:~#  eve4pve-autosnap snap --vmid='all' --label='daily' --keep=3
VM 100 consider enabling QEMU agent see https://pve.proxmox.com/wiki/Qemu-guest-                                                                                                                                                             agent
VM 100 - Creating snapshot autodaily190613004446
VM 100 - Removing snapshot autodaily190608020003
VM 101 - Creating snapshot autodaily190613004446
VM 101 - Removing snapshot autodaily190608020003
VM 102 - Creating snapshot autodaily190613004446
Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm.                                                                                                                                                             pm line 949.
Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm lin                                                                                                                                                             e 960.
Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm.                                                                                                                                                             pm line 949.
Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm lin                                                                                                                                                             e 960.
VM 103 - Creating snapshot autodaily190613004446
Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm.                                                                                                                                                             pm line 949.
Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm lin                                                                                                                                                             e 960.
Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm.                                                                                                                                                             pm line 949.
Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm lin                                                                                                                                                             e 960.
VM 104 - Creating snapshot autodaily190613004446
VM 104 - Removing snapshot autodaily190608020003
VM 105 - Creating snapshot autodaily190613004446
VM 105 - Removing snapshot autodaily190608020003
VM 106 - Creating snapshot autodaily190613004446
VM 106 - Removing snapshot autodaily190608020003
VM 107 - Creating snapshot autodaily190613004446
root@:~#  eve4pve-autosnap snap --vmid=102^C-label='daily' --keep=3
root@:~# nano /usr/share/perl5/PVE/CLI
CLI/             CLIFormatter.pm  CLIHandler.pm
root@:~# nano /usr/share/perl5/PVE/CLI/qm
qm.pm         qmrestore.pm
root@:~# nano /usr/share/perl5/PVE/CLI/qm.pm
root@:~# nano /usr/share/perl5/PVE/CLI/qm.pm
root@:~#  eve4pve-autosnap snap --vmid='all' --label='daily' --keep=3^C
root@:~#   eve4pve-autosnap snap --vmid=102 --label='daily' --keep=3
VM 102 - Creating snapshot autodaily190613005023
Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm.                                                                                                                                                             pm line 949.
Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm lin                                                                                                                                                             e 960.
Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm.                                                                                                                                                             pm line 949.
Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm lin                                                                                                                                                             e 960.
root@:~#   eve4pve-autosnap snap --vmid=102 --label='daily' --keep=3^C
root@:~#   eve4pve-autosnap snap --vmid=102 --label='daily' --keep=3 --                                                                                                                                                             debug
2019-06-13 00:54:51 DEBUG: eve4pve-autosnap 0.1.9
2019-06-13 00:54:51 DEBUG: Command line: snap --vmid=102 --label=daily --keep=3 --debug
2019-06-13 00:54:51 DEBUG: ------------------------------------------------------------
2019-06-13 00:54:51 DEBUG: EVE4PVE_AUTOSNAP_PHASE:        snap-job-start
2019-06-13 00:54:51 DEBUG: EVE4PVE_AUTOSNAP_VMID:         102
2019-06-13 00:54:51 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY:
2019-06-13 00:54:51 DEBUG: EVE4PVE_AUTOSNAP_LABEL:        daily
2019-06-13 00:54:51 DEBUG: EVE4PVE_AUTOSNAP_KEEP:         3
2019-06-13 00:54:51 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE:      0
2019-06-13 00:54:51 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME:    -
2019-06-13 00:54:51 DEBUG: ------------------------------------------------------------
2019-06-13 00:54:53 DEBUG: ------------------------------------------------------------
2019-06-13 00:54:53 DEBUG: EVE4PVE_AUTOSNAP_PHASE:        snap-create-pre
2019-06-13 00:54:53 DEBUG: EVE4PVE_AUTOSNAP_VMID:         102
2019-06-13 00:54:53 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY:  qm
2019-06-13 00:54:53 DEBUG: EVE4PVE_AUTOSNAP_LABEL:        daily
2019-06-13 00:54:53 DEBUG: EVE4PVE_AUTOSNAP_KEEP:         3
2019-06-13 00:54:53 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE:      0
2019-06-13 00:54:53 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME:    autodaily190613005451
2019-06-13 00:54:53 DEBUG: ------------------------------------------------------------
VM 102 - Creating snapshot autodaily190613005451
2019-06-13 00:54:53 DEBUG: qm snapshot 102 autodaily190613005451 -description 'eve4pve-autosnap'
2019-06-13 00:55:16 DEBUG: return 0
2019-06-13 00:55:16 DEBUG: ------------------------------------------------------------
2019-06-13 00:55:16 DEBUG: EVE4PVE_AUTOSNAP_PHASE:        snap-create-post
2019-06-13 00:55:16 DEBUG: EVE4PVE_AUTOSNAP_VMID:         102
2019-06-13 00:55:16 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY:  qm
2019-06-13 00:55:16 DEBUG: EVE4PVE_AUTOSNAP_LABEL:        daily
2019-06-13 00:55:16 DEBUG: EVE4PVE_AUTOSNAP_KEEP:         3
2019-06-13 00:55:16 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE:      0
2019-06-13 00:55:16 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME:    autodaily190613005451
2019-06-13 00:55:16 DEBUG: ------------------------------------------------------------
Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm.pm line 949.
Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm line 960.
Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm.pm line 949.
Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm line 960.
2019-06-13 00:55:17 DEBUG: ------------------------------------------------------------
2019-06-13 00:55:17 DEBUG: EVE4PVE_AUTOSNAP_PHASE:        snap-job-end
2019-06-13 00:55:17 DEBUG: EVE4PVE_AUTOSNAP_VMID:         0
2019-06-13 00:55:17 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY:
2019-06-13 00:55:17 DEBUG: EVE4PVE_AUTOSNAP_LABEL:        daily
2019-06-13 00:55:17 DEBUG: EVE4PVE_AUTOSNAP_KEEP:         3
2019-06-13 00:55:17 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE:      0
2019-06-13 00:55:17 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME:    -
2019-06-13 00:55:17 DEBUG: ------------------------------------------------------------
2019-06-13 00:55:17 DEBUG: Execution: 26 sec.


<!-- gh-comment-id:501478719 --> @altoch commented on GitHub (Jun 12, 2019): I rebooted a host, and seems the crontab eve4pve-autosnap file got reset to default. So it's empty file no programmed tasks Quick solution, create your own crontab file After launching autosnap command, throws this error: eve4pve-autosnap snap --vmid=102 --label='daily' --keep=3 And then old snapshots are not deleted VM 102 - Creating snapshot autodaily190613005023 Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm. pm line 949. Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm lin e 960. Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm. pm line 949. Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm lin e 960. Same here ``` root@:~# eve4pve-autosnap snap --vmid='all' --label='daily' --keep=3 VM 100 consider enabling QEMU agent see https://pve.proxmox.com/wiki/Qemu-guest- agent VM 100 - Creating snapshot autodaily190613004446 VM 100 - Removing snapshot autodaily190608020003 VM 101 - Creating snapshot autodaily190613004446 VM 101 - Removing snapshot autodaily190608020003 VM 102 - Creating snapshot autodaily190613004446 Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm. pm line 949. Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm lin e 960. Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm. pm line 949. Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm lin e 960. VM 103 - Creating snapshot autodaily190613004446 Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm. pm line 949. Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm lin e 960. Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm. pm line 949. Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm lin e 960. VM 104 - Creating snapshot autodaily190613004446 VM 104 - Removing snapshot autodaily190608020003 VM 105 - Creating snapshot autodaily190613004446 VM 105 - Removing snapshot autodaily190608020003 VM 106 - Creating snapshot autodaily190613004446 VM 106 - Removing snapshot autodaily190608020003 VM 107 - Creating snapshot autodaily190613004446 root@:~# eve4pve-autosnap snap --vmid=102^C-label='daily' --keep=3 root@:~# nano /usr/share/perl5/PVE/CLI CLI/ CLIFormatter.pm CLIHandler.pm root@:~# nano /usr/share/perl5/PVE/CLI/qm qm.pm qmrestore.pm root@:~# nano /usr/share/perl5/PVE/CLI/qm.pm root@:~# nano /usr/share/perl5/PVE/CLI/qm.pm root@:~# eve4pve-autosnap snap --vmid='all' --label='daily' --keep=3^C root@:~# eve4pve-autosnap snap --vmid=102 --label='daily' --keep=3 VM 102 - Creating snapshot autodaily190613005023 Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm. pm line 949. Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm lin e 960. Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm. pm line 949. Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm lin e 960. root@:~# eve4pve-autosnap snap --vmid=102 --label='daily' --keep=3^C root@:~# eve4pve-autosnap snap --vmid=102 --label='daily' --keep=3 -- debug 2019-06-13 00:54:51 DEBUG: eve4pve-autosnap 0.1.9 2019-06-13 00:54:51 DEBUG: Command line: snap --vmid=102 --label=daily --keep=3 --debug 2019-06-13 00:54:51 DEBUG: ------------------------------------------------------------ 2019-06-13 00:54:51 DEBUG: EVE4PVE_AUTOSNAP_PHASE: snap-job-start 2019-06-13 00:54:51 DEBUG: EVE4PVE_AUTOSNAP_VMID: 102 2019-06-13 00:54:51 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY: 2019-06-13 00:54:51 DEBUG: EVE4PVE_AUTOSNAP_LABEL: daily 2019-06-13 00:54:51 DEBUG: EVE4PVE_AUTOSNAP_KEEP: 3 2019-06-13 00:54:51 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE: 0 2019-06-13 00:54:51 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME: - 2019-06-13 00:54:51 DEBUG: ------------------------------------------------------------ 2019-06-13 00:54:53 DEBUG: ------------------------------------------------------------ 2019-06-13 00:54:53 DEBUG: EVE4PVE_AUTOSNAP_PHASE: snap-create-pre 2019-06-13 00:54:53 DEBUG: EVE4PVE_AUTOSNAP_VMID: 102 2019-06-13 00:54:53 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY: qm 2019-06-13 00:54:53 DEBUG: EVE4PVE_AUTOSNAP_LABEL: daily 2019-06-13 00:54:53 DEBUG: EVE4PVE_AUTOSNAP_KEEP: 3 2019-06-13 00:54:53 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE: 0 2019-06-13 00:54:53 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME: autodaily190613005451 2019-06-13 00:54:53 DEBUG: ------------------------------------------------------------ VM 102 - Creating snapshot autodaily190613005451 2019-06-13 00:54:53 DEBUG: qm snapshot 102 autodaily190613005451 -description 'eve4pve-autosnap' 2019-06-13 00:55:16 DEBUG: return 0 2019-06-13 00:55:16 DEBUG: ------------------------------------------------------------ 2019-06-13 00:55:16 DEBUG: EVE4PVE_AUTOSNAP_PHASE: snap-create-post 2019-06-13 00:55:16 DEBUG: EVE4PVE_AUTOSNAP_VMID: 102 2019-06-13 00:55:16 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY: qm 2019-06-13 00:55:16 DEBUG: EVE4PVE_AUTOSNAP_LABEL: daily 2019-06-13 00:55:16 DEBUG: EVE4PVE_AUTOSNAP_KEEP: 3 2019-06-13 00:55:16 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE: 0 2019-06-13 00:55:16 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME: autodaily190613005451 2019-06-13 00:55:16 DEBUG: ------------------------------------------------------------ Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm.pm line 949. Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm line 960. Use of uninitialized value $root in hash element at /usr/share/perl5/PVE/CLI/qm.pm line 949. Use of uninitialized value $root in printf at /usr/share/perl5/PVE/CLI/qm.pm line 960. 2019-06-13 00:55:17 DEBUG: ------------------------------------------------------------ 2019-06-13 00:55:17 DEBUG: EVE4PVE_AUTOSNAP_PHASE: snap-job-end 2019-06-13 00:55:17 DEBUG: EVE4PVE_AUTOSNAP_VMID: 0 2019-06-13 00:55:17 DEBUG: EVE4PVE_AUTOSNAP_VMTECNOLOGY: 2019-06-13 00:55:17 DEBUG: EVE4PVE_AUTOSNAP_LABEL: daily 2019-06-13 00:55:17 DEBUG: EVE4PVE_AUTOSNAP_KEEP: 3 2019-06-13 00:55:17 DEBUG: EVE4PVE_AUTOSNAP_VMSTATE: 0 2019-06-13 00:55:17 DEBUG: EVE4PVE_AUTOSNAP_SNAP_NAME: - 2019-06-13 00:55:17 DEBUG: ------------------------------------------------------------ 2019-06-13 00:55:17 DEBUG: Execution: 26 sec. ```
Author
Owner

@franklupo commented on GitHub (Jun 14, 2019):

Hi,
can add output "qm listsnapshot 100" ?

Best regards

<!-- gh-comment-id:502042676 --> @franklupo commented on GitHub (Jun 14, 2019): Hi, can add output "qm listsnapshot 100" ? Best regards
Author
Owner

@altoch commented on GitHub (Jun 14, 2019):

Here you have, notice that the previous command was runned with --vmid=102

root@~# qm listsnapshot 100 -> automonthly190601040003 2019-06-01 04:00:05 eve4pve-autosnap
-> autoweekly190602030003 2019-06-02 03:00:05 eve4pve-autosnap -> autoweekly190609030003 2019-06-09 03:00:06 eve4pve-autosnap
-> autodaily190613004446 2019-06-13 00:44:49 eve4pve-autosnap -> autodaily190613020005 2019-06-13 02:00:08 eve4pve-autosnap
-> autodaily190614020004 2019-06-14 02:00:07 eve4pve-autosnap -> current You are here!
`

image

<!-- gh-comment-id:502075830 --> @altoch commented on GitHub (Jun 14, 2019): Here you have, notice that the previous command was runned with --vmid=102 `root@~# qm listsnapshot 100 `-> automonthly190601040003 2019-06-01 04:00:05 eve4pve-autosnap `-> autoweekly190602030003 2019-06-02 03:00:05 eve4pve-autosnap `-> autoweekly190609030003 2019-06-09 03:00:06 eve4pve-autosnap `-> autodaily190613004446 2019-06-13 00:44:49 eve4pve-autosnap `-> autodaily190613020005 2019-06-13 02:00:08 eve4pve-autosnap `-> autodaily190614020004 2019-06-14 02:00:07 eve4pve-autosnap `-> current You are here! ` ![image](https://user-images.githubusercontent.com/6033322/59506960-dbd07600-8ea9-11e9-9e8a-ffb38c05481c.png)
Author
Owner

@franklupo commented on GitHub (Jun 14, 2019):

Can redirect oupout to file and add file?

Best regards

<!-- gh-comment-id:502082970 --> @franklupo commented on GitHub (Jun 14, 2019): Can redirect oupout to file and add file? Best regards
Author
Owner

@woody4165 commented on GitHub (Sep 11, 2019):

Please check new version if working,
Let me know if there are any problems.

Best regards

Hi @franklupo

I'm on version 0.1.8

how can I upgrade to 0.1.9 since I'm having the same issue here, the snapshot are not deleted automatically?
I have the tool installed directly on the Proxmox instance.

Thanks

<!-- gh-comment-id:530475021 --> @woody4165 commented on GitHub (Sep 11, 2019): > Please check[ new version](https://github.com/EnterpriseVE/eve4pve-autosnap/releases/download/0.1.9/eve4pve-autosnap_0.1.9_all.deb) if working, > Let me know if there are any problems. > > Best regards Hi @franklupo I'm on version 0.1.8 how can I upgrade to 0.1.9 since I'm having the same issue here, the snapshot are not deleted automatically? I have the tool installed directly on the Proxmox instance. Thanks
Author
Owner

@franklupo commented on GitHub (Sep 11, 2019):

I,
The bash versions are no longer supported.
Download the latest versions that use the native API.

Best reagrds

<!-- gh-comment-id:530487361 --> @franklupo commented on GitHub (Sep 11, 2019): I, The bash versions are no longer supported. Download the latest versions that use the native API. Best reagrds
Author
Owner

@woody4165 commented on GitHub (Sep 11, 2019):

In this case I need to install on another machine other than proxmox?

<!-- gh-comment-id:530490552 --> @woody4165 commented on GitHub (Sep 11, 2019): In this case I need to install on another machine other than proxmox?
Author
Owner

@franklupo commented on GitHub (Sep 11, 2019):

It is possible to install on the same machine.
The new autosnap works on clusters does not need to be installed on the various machines of a claster.
It can be installed on a Windows / Linux / Mac OS machine and execute a schedule.
It works the same way.

<!-- gh-comment-id:530492095 --> @franklupo commented on GitHub (Sep 11, 2019): It is possible to install on the same machine. The new autosnap works on clusters does not need to be installed on the various machines of a claster. It can be installed on a Windows / Linux / Mac OS machine and execute a schedule. It works the same way.
Author
Owner

@woody4165 commented on GitHub (Sep 12, 2019):

Grazie @franklupo

I thought it works only outside Proxmox as it's written in the main page:

"In this version the tool works outside the Proxmox VE host using the API."

So, to uninstall previous version (eve4pve-autosnap) what should I do?

I see that the scheduling is in /etc/pve/eve/autosnap/eve4pve-autosnap.cron

Thanks

<!-- gh-comment-id:530696372 --> @woody4165 commented on GitHub (Sep 12, 2019): Grazie @franklupo I thought it works only outside Proxmox as it's written in the main page: "In this version the tool works outside the Proxmox VE host using the API." So, to uninstall previous version (eve4pve-autosnap) what should I do? I see that the scheduling is in /etc/pve/eve/autosnap/eve4pve-autosnap.cron Thanks
Author
Owner

@franklupo commented on GitHub (Sep 12, 2019):

HI,
apt-get remove eve4pve-autosnap
remove link eve4pve-autosnap.cron

Best regards

<!-- gh-comment-id:530700582 --> @franklupo commented on GitHub (Sep 12, 2019): HI, apt-get remove eve4pve-autosnap remove link eve4pve-autosnap.cron Best regards
Author
Owner

@woody4165 commented on GitHub (Sep 12, 2019):

Thanks

Really strange that I get

root@proxmox:~# apt-get remove eve4pve-autosnap
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package eve4pve-autosnap

and if if try to find eve4pve-autosnap I get

root@proxmox:~# find / -name eve4pve-autosnap
/home/eve4pve-autosnap
/home/eve4pve-autosnap/eve4pve-autosnap
/root/eve4pve-autosnap
/root/eve4pve-autosnap/eve4pve-autosnap
/etc/cron.d/eve4pve-autosnap

root@proxmox:~# find / -name eve4pve-autosnap.*
/home/eve4pve-autosnap/eve4pve-autosnap.8.template
/root/eve4pve-autosnap/eve4pve-autosnap.8.template
/etc/pve/eve/autosnap/eve4pve-autosnap.cron

should I remove it manually?

Sorry for all these questions!

<!-- gh-comment-id:530701976 --> @woody4165 commented on GitHub (Sep 12, 2019): Thanks Really strange that I get ``` root@proxmox:~# apt-get remove eve4pve-autosnap Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package eve4pve-autosnap ``` and if if try to find eve4pve-autosnap I get ``` root@proxmox:~# find / -name eve4pve-autosnap /home/eve4pve-autosnap /home/eve4pve-autosnap/eve4pve-autosnap /root/eve4pve-autosnap /root/eve4pve-autosnap/eve4pve-autosnap /etc/cron.d/eve4pve-autosnap ``` ``` root@proxmox:~# find / -name eve4pve-autosnap.* /home/eve4pve-autosnap/eve4pve-autosnap.8.template /root/eve4pve-autosnap/eve4pve-autosnap.8.template /etc/pve/eve/autosnap/eve4pve-autosnap.cron ``` should I remove it manually? Sorry for all these questions!
Author
Owner

@franklupo commented on GitHub (Sep 12, 2019):

No problem.

Consider a donation to support the project.

Best regards

<!-- gh-comment-id:530717952 --> @franklupo commented on GitHub (Sep 12, 2019): No problem. Consider a donation to support the project. Best regards
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#10
No description provided.