LXC Backup

gvdb

Member
Dec 9, 2018
24
0
21
57
Hi guys
Since two versions old, vzdump don't backup my LXD; using same vzdump cron job.
Actually, the stop, or suspend don't works with vzdump. I need to stop the lxd for a working vzdump.

Are there some patch ?
Regards
 
LXD? I assume you talk about LXC.

Do you have any error log?
 
containers... yes !
some logs :

INFO: starting new backup job: vzdump 102 110 109 106 --all 0 --storage nas-datastore --mailto webmaster@xoco.com --mode stop --node uxvirt01 --compress lzo --quiet 1 --mailnotification failure INFO: Starting Backup of VM 102 (lxc) INFO: Backup started at 2020-01-04 16:26:38 INFO: status = running INFO: backup mode: stop INFO: ionice priority: 7 INFO: CT Name: uxerp01.extein.intra.com INFO: stopping vm INFO: creating archive '/mnt/pve/nas-datastore/dump/vzdump-lxc-102-2020_01_04-16_26_38.tar.lzo' mount: /mnt/vzsnap0: special device /dev/lvm-sdd-datastore/vm-102-disk-1 does not exist. umount: /mnt/vzsnap0/: not mounted. command 'umount -l -d /mnt/vzsnap0/' failed: exit code 32 INFO: restarting vm INFO: guest is online again after 5 seconds ERROR: Backup of VM 102 failed - command 'mount /dev/lvm-sdd-datastore/vm-102-disk-1 /mnt/vzsnap0//' failed: exit code 32 INFO: Failed at 2020-01-04 16:26:43 INFO: Starting Backup of VM 106 (lxc) INFO: Backup started at 2020-01-04 16:26:43 INFO: status = running INFO: backup mode: stop INFO: ionice priority: 7 INFO: CT Name: uxrds01.ext.com INFO: stopping vm INFO: creating archive '/mnt/pve/nas-datastore/dump/vzdump-lxc-106-2020_01_04-16_26_43.tar.lzo' mount: /mnt/vzsnap0: special device /dev/lvm-sdd-datastore/vm-106-disk-0 does not exist. umount: /mnt/vzsnap0/: not mounted. command 'umount -l -d /mnt/vzsnap0/' failed: exit code 32 INFO: restarting vm INFO: guest is online again after 4 seconds ERROR: Backup of VM 106 failed - command 'mount /dev/lvm-sdd-datastore/vm-106-disk-0 /mnt/vzsnap0//' failed: exit code 32 INFO: Failed at 2020-01-04 16:26:48 INFO: Starting Backup of VM 109 (lxc) INFO: Backup started at 2020-01-04 16:26:48 INFO: status = running INFO: backup mode: stop INFO: ionice priority: 7 INFO: CT Name: uxops01.extein.intra.com INFO: stopping vm INFO: creating archive '/mnt/pve/nas-datastore/dump/vzdump-lxc-109-2020_01_04-16_26_48.tar.lzo' mount: /mnt/vzsnap0: special device /dev/lvm-sdd-datastore/vm-109-disk-0 does not exist. umount: /mnt/vzsnap0/: not mounted. command 'umount -l -d /mnt/vzsnap0/' failed: exit code 32 INFO: restarting vm INFO: guest is online again after 3 seconds ERROR: Backup of VM 109 failed - command 'mount /dev/lvm-sdd-datastore/vm-109-disk-0 /mnt/vzsnap0//' failed: exit code 32 INFO: Failed at 2020-01-04 16:26:51 INFO: Starting Backup of VM 110 (lxc) INFO: Backup started at 2020-01-04 16:26:51 INFO: status = running INFO: backup mode: stop

if I run that as stop container, vzdump Works.
 
Another one:
INFO: starting new backup job: vzdump 102 --remove 0 --storage nas-datastore --node uxvirt01 --mode stop --compress lzo INFO: Starting Backup of VM 102 (lxc) INFO: Backup started at 2020-01-04 16:01:31 INFO: status = running INFO: backup mode: stop INFO: ionice priority: 7 INFO: CT Name: uxerp01.ext.com INFO: stopping vm INFO: creating archive '/mnt/pve/nas-datastore/dump/vzdump-lxc-102-2020_01_04-16_01_31.tar.lzo' mount: /mnt/vzsnap0: special device /dev/lvm-sdd-datastore/vm-102-disk-1 does not exist. umount: /mnt/vzsnap0/: not mounted. command 'umount -l -d /mnt/vzsnap0/' failed: exit code 32 INFO: restarting vm INFO: guest is online again after 5 seconds ERROR: Backup of VM 102 failed - command 'mount /dev/lvm-sdd-datastore/vm-102-disk-1 /mnt/vzsnap0//' failed: exit code 32 INFO: Failed at 2020-01-04 16:01:36 INFO: Backup job finished with errors TASK ERROR: job errors
 

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!