[BUG REPORT] Unchecking "Include volume in backup job" not working as intended

bai

Member
Jun 5, 2021
3
0
6
41
When "Include volume in backup job" is checked, configuration line gets added backup=1 which works fine but when unchecking, it only removes the backup=1 altogether and causes an error during backup. Manually editing the conf file to have backup=0 fixes the issue.

This is for an LXC with an additional disk via mount point, using VE 6.4-4.
 
backup=0 should be the default,
can you post the complete task logs when the 'backup=0' is there and when nothing is there?
 
backup=0 should be the default,
can you post the complete task logs when the 'backup=0' is there and when nothing is there?
Here you go. This was the log sent via email from the last error. But you know what, I can't seem to recreate it anymore by checking and unchecking the "include volume in backup job" checkbox. Must have been caused by something else then?

Bash:
105: 2021-06-02 01:51:31 INFO: Starting Backup of VM 105 (lxc)
105: 2021-06-02 01:51:31 INFO: status = running
105: 2021-06-02 01:51:31 INFO: CT Name: media
105: 2021-06-02 01:51:31 INFO: including mount point rootfs ('/') in backup
105: 2021-06-02 01:51:31 INFO: including mount point mp0 ('/mnt/media') in backup
105: 2021-06-02 01:51:31 INFO: mode failure - some volumes do not support snapshots
105: 2021-06-02 01:51:31 INFO: trying 'suspend' mode instead
105: 2021-06-02 01:51:31 INFO: backup mode: suspend
105: 2021-06-02 01:51:31 INFO: ionice priority: 7
105: 2021-06-02 01:51:31 INFO: CT Name: media
105: 2021-06-02 01:51:31 INFO: including mount point rootfs ('/') in backup
105: 2021-06-02 01:51:31 INFO: including mount point mp0 ('/mnt/media') in backup
105: 2021-06-02 01:51:31 INFO: starting first sync /proc/2816817/root/ to /var/tmp/vzdumptmp2836359_105
105: 2021-06-02 02:06:24 ERROR: Backup of VM 105 failed - command 'rsync --stats -h -X -A --numeric-ids -aH --delete --no-whole-file --sparse --one-file-system --relative '--exclude=/tmp/?*' '--exclude=/var/tmp/?*' '--exclude=/var/run/?*.pid' /proc/2816817/root//./ /proc/2816817/root//./mnt/media /var/tmp/vzdumptmp2836359_105' failed: exit code 23
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!