Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snapshots are not deleted automaticaly #11

Closed
cheechmarino opened this issue May 31, 2019 · 24 comments
Closed

Snapshots are not deleted automaticaly #11

cheechmarino opened this issue May 31, 2019 · 24 comments

Comments

@cheechmarino
Copy link

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.

@franklupo
Copy link
Member

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

Best regards

@cheechmarino
Copy link
Author

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.

@franklupo
Copy link
Member

execute

qm listsnapshot 2000

and attach output.

@cheechmarino
Copy link
Author

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!

@franklupo
Copy link
Member

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

@cheechmarino
Copy link
Author

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

@franklupo
Copy link
Member

ok found problem create fix

best regards

@cheechmarino
Copy link
Author

ThankYou!!!

@franklupo
Copy link
Member

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

Best regards

@cheechmarino
Copy link
Author

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

Thank You very much!!!

@franklupo
Copy link
Member

Pferfext

@datacenter1
Copy link

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

@altoch
Copy link

altoch commented 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.


@franklupo
Copy link
Member

Hi,
can add output "qm listsnapshot 100" ?

Best regards

@altoch
Copy link

altoch commented 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

@franklupo
Copy link
Member

Can redirect oupout to file and add file?

Best regards

@woody4165
Copy link

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

@franklupo
Copy link
Member

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

Best reagrds

@woody4165
Copy link

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

@franklupo
Copy link
Member

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.

@franklupo franklupo reopened this Sep 11, 2019
@woody4165
Copy link

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

@franklupo
Copy link
Member

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

Best regards

@woody4165
Copy link

woody4165 commented 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!

@franklupo
Copy link
Member

No problem.

Consider a donation to support the project.

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants