Hello, if i run manual backup (via the vm web menu) I can do incremental backup in my PBS server without any problem. Mode snapshot.
If I run the same backup from the proxmox scheduler it fail with:
Proxmox Backup Server 0.8.19-1
Proxmox Server:
proxmox-ve: 6.2-2 (running kernel: 5.4.55-1-pve)
pve-manager: 6.2-11 (running version: 6.2-11/22fb4983)
pve-kernel-5.4: 6.2-7
pve-kernel-helper: 6.2-7
pve-kernel-5.4.65-1-pve: 5.4.65-1
pve-kernel-5.4.60-1-pve: 5.4.60-2
pve-kernel-5.4.55-1-pve: 5.4.55-1
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.4-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
libjs-extjs: 6.0.1-10
libknet1: 1.16-pve1
libproxmox-acme-perl: 1.0.5
libpve-access-control: 6.1-2
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.2-2
libpve-guest-common-perl: 3.1-3
libpve-http-server-perl: 3.0-6
libpve-storage-perl: 6.2-6
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.3-1
lxcfs: 4.0.3-pve3
novnc-pve: 1.1.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.2-12
pve-cluster: 6.1-8
pve-container: 3.2-1
pve-docs: 6.2-5
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-2
pve-firmware: 3.1-3
pve-ha-manager: 3.1-1
pve-i18n: 2.2-1
pve-qemu-kvm: 5.1.0-2
pve-xtermjs: 4.7.0-2
qemu-server: 6.2-14
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 0.8.4-pve1
Code:
INFO: starting new backup job: vzdump 123 --remove 0 --mode snapshot --storage c03 --node cloud03-hz
INFO: Starting Backup of VM 123 (qemu)
INFO: Backup started at 2020-09-23 18:54:34
INFO: status = running
INFO: VM Name: XXXXX
INFO: include disk 'scsi0' 'vms:123/vm-123-disk-0.qcow2' 8G
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating Proxmox Backup Server archive 'vm/123/2020-09-23T16:54:34Z'
INFO: issuing guest-agent 'fs-freeze' command
INFO: enabling encryption
INFO: issuing guest-agent 'fs-thaw' command
INFO: started backup task '5dbb216c-8a45-431f-8766-ec0bfa6df326'
INFO: resuming VM again
INFO: scsi0: dirty-bitmap status: created new
INFO: 3% (256.0 MiB of 8.0 GiB) in 3s, read: 85.3 MiB/s, write: 68.0 MiB/s
INFO: 5% (440.0 MiB of 8.0 GiB) in 6s, read: 61.3 MiB/s, write: 61.3 MiB/s
INFO: 6% (556.0 MiB of 8.0 GiB) in 9s, read: 38.7 MiB/s, write: 38.7 MiB/s
INFO: 9% (772.0 MiB of 8.0 GiB) in 12s, read: 72.0 MiB/s, write: 72.0 MiB/s
INFO: 11% (972.0 MiB of 8.0 GiB) in 15s, read: 66.7 MiB/s, write: 66.7 MiB/s
INFO: 14% (1.1 GiB of 8.0 GiB) in 18s, read: 62.7 MiB/s, write: 62.7 MiB/s
INFO: 16% (1.3 GiB of 8.0 GiB) in 21s, read: 69.3 MiB/s, write: 69.3 MiB/s
INFO: 18% (1.5 GiB of 8.0 GiB) in 24s, read: 61.3 MiB/s, write: 56.0 MiB/s
INFO: 27% (2.2 GiB of 8.0 GiB) in 27s, read: 228.0 MiB/s, write: 86.7 MiB/s
INFO: 43% (3.5 GiB of 8.0 GiB) in 30s, read: 454.7 MiB/s, write: 69.3 MiB/s
INFO: 46% (3.7 GiB of 8.0 GiB) in 33s, read: 62.7 MiB/s, write: 62.7 MiB/s
INFO: 48% (3.9 GiB of 8.0 GiB) in 36s, read: 62.7 MiB/s, write: 61.3 MiB/s
INFO: 51% (4.1 GiB of 8.0 GiB) in 39s, read: 90.7 MiB/s, write: 68.0 MiB/s
INFO: 54% (4.3 GiB of 8.0 GiB) in 42s, read: 61.3 MiB/s, write: 61.3 MiB/s
INFO: 56% (4.5 GiB of 8.0 GiB) in 45s, read: 68.0 MiB/s, write: 68.0 MiB/s
INFO: 58% (4.7 GiB of 8.0 GiB) in 48s, read: 61.3 MiB/s, write: 61.3 MiB/s
INFO: 61% (4.9 GiB of 8.0 GiB) in 51s, read: 65.3 MiB/s, write: 65.3 MiB/s
INFO: 63% (5.1 GiB of 8.0 GiB) in 54s, read: 65.3 MiB/s, write: 65.3 MiB/s
INFO: 65% (5.3 GiB of 8.0 GiB) in 57s, read: 64.0 MiB/s, write: 60.0 MiB/s
INFO: 68% (5.5 GiB of 8.0 GiB) in 1m 0s, read: 68.0 MiB/s, write: 62.7 MiB/s
INFO: 70% (5.7 GiB of 8.0 GiB) in 1m 3s, read: 62.7 MiB/s, write: 62.7 MiB/s
INFO: 73% (5.9 GiB of 8.0 GiB) in 1m 6s, read: 76.0 MiB/s, write: 74.7 MiB/s
INFO: 77% (6.2 GiB of 8.0 GiB) in 1m 9s, read: 116.0 MiB/s, write: 65.3 MiB/s
INFO: 80% (6.4 GiB of 8.0 GiB) in 1m 12s, read: 77.3 MiB/s, write: 77.3 MiB/s
INFO: 83% (6.7 GiB of 8.0 GiB) in 1m 15s, read: 76.0 MiB/s, write: 76.0 MiB/s
INFO: 85% (6.9 GiB of 8.0 GiB) in 1m 18s, read: 66.7 MiB/s, write: 66.7 MiB/s
INFO: 88% (7.0 GiB of 8.0 GiB) in 1m 21s, read: 61.3 MiB/s, write: 54.7 MiB/s
INFO: 90% (7.3 GiB of 8.0 GiB) in 1m 24s, read: 73.3 MiB/s, write: 48.0 MiB/s
INFO: 93% (7.5 GiB of 8.0 GiB) in 1m 27s, read: 66.7 MiB/s, write: 58.7 MiB/s
INFO: 95% (7.6 GiB of 8.0 GiB) in 1m 30s, read: 61.3 MiB/s, write: 58.7 MiB/s
INFO: 98% (7.9 GiB of 8.0 GiB) in 1m 33s, read: 81.3 MiB/s, write: 58.7 MiB/s
INFO: 100% (8.0 GiB of 8.0 GiB) in 1m 35s, read: 64.0 MiB/s, write: 30.0 MiB/s
INFO: backup is sparse: 1.84 GiB (22%) total zero data
INFO: backup was done incrementally, reused 2.12 GiB (26%)
INFO: transferred 8.00 GiB in 95 seconds (86.2 MiB/s)
INFO: Finished Backup of VM 123 (00:01:35)
INFO: Backup finished at 2020-09-23 18:56:09
INFO: Backup job finished successfully
TASK OK
If I run the same backup from the proxmox scheduler it fail with:
Code:
INFO: starting new backup job: vzdump 123 --storage c03 --mailnotification always --compress zstd --mailto xxx@xxx.xxx --quiet 1 --mode snapshot
INFO: Starting Backup of VM 123 (qemu)
INFO: Backup started at 2020-09-23 19:03:02
INFO: status = running
INFO: VM Name: XXXXX
INFO: include disk 'scsi0' 'vms:123/vm-123-disk-0.qcow2' 8G
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating Proxmox Backup Server archive 'vm/123/2020-09-23T17:03:02Z'
INFO: issuing guest-agent 'fs-freeze' command
INFO: enabling encryption
INFO: issuing guest-agent 'fs-thaw' command
ERROR: VM 123 qmp command 'backup' failed - backup register image failed: command error: no previous backup found, cannot do incremental backup
ERROR: Backup of VM 123 failed - VM 123 qmp command 'backup' failed - backup register image failed: command error: no previous backup found, cannot do incremental backup
INFO: Failed at 2020-09-23 19:03:03
INFO: Backup job finished with errors
TASK ERROR: job errors
Proxmox Backup Server 0.8.19-1
Proxmox Server:
proxmox-ve: 6.2-2 (running kernel: 5.4.55-1-pve)
pve-manager: 6.2-11 (running version: 6.2-11/22fb4983)
pve-kernel-5.4: 6.2-7
pve-kernel-helper: 6.2-7
pve-kernel-5.4.65-1-pve: 5.4.65-1
pve-kernel-5.4.60-1-pve: 5.4.60-2
pve-kernel-5.4.55-1-pve: 5.4.55-1
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.4-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
libjs-extjs: 6.0.1-10
libknet1: 1.16-pve1
libproxmox-acme-perl: 1.0.5
libpve-access-control: 6.1-2
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.2-2
libpve-guest-common-perl: 3.1-3
libpve-http-server-perl: 3.0-6
libpve-storage-perl: 6.2-6
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.3-1
lxcfs: 4.0.3-pve3
novnc-pve: 1.1.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.2-12
pve-cluster: 6.1-8
pve-container: 3.2-1
pve-docs: 6.2-5
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-2
pve-firmware: 3.1-3
pve-ha-manager: 3.1-1
pve-i18n: 2.2-1
pve-qemu-kvm: 5.1.0-2
pve-xtermjs: 4.7.0-2
qemu-server: 6.2-14
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 0.8.4-pve1