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

Clean does nothing #72

Open
mgiammarco opened this issue Sep 23, 2020 · 4 comments
Open

Clean does nothing #72

mgiammarco opened this issue Sep 23, 2020 · 4 comments

Comments

@mgiammarco
Copy link

Hello,
I have started from scratch with 0.2.5-retain and now tried to update to 0.2.6.
I am doing backups with retain/renew.
Now I have filled backup server with too many backups.
I try to use "clean" to keep only latest 10 backups but the options does nothing.
How can I recover space?
Thanks,
Mario

@franklupo
Copy link
Member

Execute with --debug option and attach log.

Best regards

@mgiammarco
Copy link
Author

`eve4pve-barc clean --vmid=101,102,104,111,112,113,110 --label='daily' --path='/mnt/pve/NEW-NAS' --retain=5 --debug

EnterpriseVE BARC Version: 0.2.6

Proxmox VE Version:
proxmox-ve: 6.2-1 (running kernel: 5.4.44-2-pve)
pve-manager: 6.2-10 (running version: 6.2-10/a20769ed)
pve-kernel-5.4: 6.2-4
pve-kernel-helper: 6.2-4
pve-kernel-5.4.44-2-pve: 5.4.44-2
pve-kernel-4.15: 5.4-19
pve-kernel-4.15.18-30-pve: 4.15.18-58
pve-kernel-4.15.18-9-pve: 4.15.18-30
pve-kernel-4.15.17-1-pve: 4.15.17-9
ceph: 14.2.10-pve1
ceph-fuse: 14.2.10-pve1
corosync: 3.0.4-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.16-pve1
libproxmox-acme-perl: 1.0.4
libpve-access-control: 6.1-2
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.1-5
libpve-guest-common-perl: 3.1-2
libpve-http-server-perl: 3.0-6
libpve-storage-perl: 6.2-5
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.2-1
lxcfs: 4.0.3-pve3
novnc-pve: 1.1.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.2-9
pve-cluster: 6.1-8
pve-container: 3.1-12
pve-docs: 6.2-5
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-2
pve-firmware: 3.1-1
pve-ha-manager: 3.0-9
pve-i18n: 2.1-3
pve-qemu-kvm: 5.0.0-11
pve-xtermjs: 4.3.0-1
qemu-server: 6.2-11
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.4-pve1

2020-09-25 18:21:13 DEBUG: eve4pve-barc 0.2.6
2020-09-25 18:21:13 DEBUG: Command line: clean --vmid=101,102,104,111,112,113,110 --label=daily --path=/mnt/pve/NEW-NAS --retain=5 --debug
2020-09-25 18:21:13 DEBUG: -------------------------------------------------------
2020-09-25 18:21:13 DEBUG: EVE4PVE_BARC_PHASE: clean-job-start
2020-09-25 18:21:13 DEBUG: EVE4PVE_BARC_VMID: 0
2020-09-25 18:21:13 DEBUG: EVE4PVE_BARC_PATH: /mnt/pve/NEW-NAS
2020-09-25 18:21:13 DEBUG: EVE4PVE_BARC_LABEL: daily
2020-09-25 18:21:13 DEBUG: EVE4PVE_BARC_KEEP:
2020-09-25 18:21:13 DEBUG: EVE4PVE_BARC_SNAP_NAME: -
2020-09-25 18:21:13 DEBUG: EVE4PVE_BARC_BACKUP_FILE: -
2020-09-25 18:21:13 DEBUG: -------------------------------------------------------
2020-09-25 18:21:13 DEBUG: -------------------------------------------------------
2020-09-25 18:21:13 DEBUG: EVE4PVE_BARC_PHASE: clean-job-end
2020-09-25 18:21:13 DEBUG: EVE4PVE_BARC_VMID: 0
2020-09-25 18:21:13 DEBUG: EVE4PVE_BARC_PATH: /mnt/pve/NEW-NAS
2020-09-25 18:21:13 DEBUG: EVE4PVE_BARC_LABEL: daily
2020-09-25 18:21:13 DEBUG: EVE4PVE_BARC_KEEP:
2020-09-25 18:21:13 DEBUG: EVE4PVE_BARC_SNAP_NAME: -
2020-09-25 18:21:13 DEBUG: EVE4PVE_BARC_BACKUP_FILE: -
2020-09-25 18:21:13 DEBUG: -------------------------------------------------------
2020-09-25 18:21:13 DEBUG: Execution: 0 sec.
`

@mgiammarco
Copy link
Author

`eve4pve-barc clean --vmid=101,102,104,111,112,113,110 --label='daily' --path='/mnt/pve/NEW-NAS' --keep=5 --debug

EnterpriseVE BARC Version: 0.2.6

Proxmox VE Version:
proxmox-ve: 6.2-1 (running kernel: 5.4.44-2-pve)
pve-manager: 6.2-10 (running version: 6.2-10/a20769ed)
pve-kernel-5.4: 6.2-4
pve-kernel-helper: 6.2-4
pve-kernel-5.4.44-2-pve: 5.4.44-2
pve-kernel-4.15: 5.4-19
pve-kernel-4.15.18-30-pve: 4.15.18-58
pve-kernel-4.15.18-9-pve: 4.15.18-30
pve-kernel-4.15.17-1-pve: 4.15.17-9
ceph: 14.2.10-pve1
ceph-fuse: 14.2.10-pve1
corosync: 3.0.4-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.16-pve1
libproxmox-acme-perl: 1.0.4
libpve-access-control: 6.1-2
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.1-5
libpve-guest-common-perl: 3.1-2
libpve-http-server-perl: 3.0-6
libpve-storage-perl: 6.2-5
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.2-1
lxcfs: 4.0.3-pve3
novnc-pve: 1.1.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.2-9
pve-cluster: 6.1-8
pve-container: 3.1-12
pve-docs: 6.2-5
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-2
pve-firmware: 3.1-1
pve-ha-manager: 3.0-9
pve-i18n: 2.1-3
pve-qemu-kvm: 5.0.0-11
pve-xtermjs: 4.3.0-1
qemu-server: 6.2-11
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.4-pve1

2020-09-25 18:22:11 DEBUG: eve4pve-barc 0.2.6
2020-09-25 18:22:11 DEBUG: Command line: clean --vmid=101,102,104,111,112,113,110 --label=daily --path=/mnt/pve/NEW-NAS --keep=5 --debug
2020-09-25 18:22:11 DEBUG: -------------------------------------------------------
2020-09-25 18:22:11 DEBUG: EVE4PVE_BARC_PHASE: clean-job-start
2020-09-25 18:22:11 DEBUG: EVE4PVE_BARC_VMID: 0
2020-09-25 18:22:11 DEBUG: EVE4PVE_BARC_PATH: /mnt/pve/NEW-NAS
2020-09-25 18:22:11 DEBUG: EVE4PVE_BARC_LABEL: daily
2020-09-25 18:22:11 DEBUG: EVE4PVE_BARC_KEEP: 5
2020-09-25 18:22:11 DEBUG: EVE4PVE_BARC_SNAP_NAME: -
2020-09-25 18:22:11 DEBUG: EVE4PVE_BARC_BACKUP_FILE: -
2020-09-25 18:22:11 DEBUG: -------------------------------------------------------
2020-09-25 18:22:11 DEBUG: -------------------------------------------------------
2020-09-25 18:22:11 DEBUG: EVE4PVE_BARC_PHASE: clean-job-end
2020-09-25 18:22:11 DEBUG: EVE4PVE_BARC_VMID: 0
2020-09-25 18:22:11 DEBUG: EVE4PVE_BARC_PATH: /mnt/pve/NEW-NAS
2020-09-25 18:22:11 DEBUG: EVE4PVE_BARC_LABEL: daily
2020-09-25 18:22:11 DEBUG: EVE4PVE_BARC_KEEP: 5
2020-09-25 18:22:11 DEBUG: EVE4PVE_BARC_SNAP_NAME: -
2020-09-25 18:22:11 DEBUG: EVE4PVE_BARC_BACKUP_FILE: -
2020-09-25 18:22:11 DEBUG: -------------------------------------------------------
2020-09-25 18:22:11 DEBUG: Execution: 0 sec.
`

@franklupo
Copy link
Member

Test new version

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

2 participants