[SOLVED] Backup for VMs and Containers only works if I power them off first.

sherbmeister

Member
Dec 7, 2022
49
3
8
Backup for VMs and Containers only works if I power them off first. Is anyone else having this issue? Any suggestions?

Proxmox version: 8.1.3

error I'm getting when trying to backup with powered-on VM/Containers:

Code:
NFO: starting new backup job: vzdump 598 --node auriga --compress zstd --mode snapshot --remove 0 --storage ftp-newton --notification-mode auto --notes-template '{{guestname}}'
INFO: filesystem type on dumpdir is 'cifs' -using /var/tmp/vzdumptmp1299033_598 for temporary files
INFO: Starting Backup of VM 598 (lxc)
INFO: Backup started at 2024-01-07 11:56:36
INFO: status = running
INFO: CT Name: pialert
INFO: including mount point rootfs ('/') in backup
INFO: mode failure - some volumes do not support snapshots
INFO: trying 'suspend' mode instead
INFO: backup mode: suspend
INFO: ionice priority: 7
INFO: CT Name: pialert
INFO: including mount point rootfs ('/') in backup
INFO: starting first sync /proc/3704676/root/ to /var/tmp/vzdumptmp1299033_598
ERROR: Backup of VM 598 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/3704676/root//./ /var/tmp/vzdumptmp1299033_598' failed: exit code 23
INFO: Failed at 2024-01-07 11:56:52
INFO: Backup job finished with errors
INFO: notified via target `mail-to-root`
TASK ERROR: job errors
 
Backup for VMs and Containers only works if I power them off first. Is anyone else having this issue? Any suggestions?

Proxmox version: 8.1.3

error I'm getting when trying to backup with powered-on VM/Containers:

Code:
NFO: starting new backup job: vzdump 598 --node auriga --compress zstd --mode snapshot --remove 0 --storage ftp-newton --notification-mode auto --notes-template '{{guestname}}'
INFO: filesystem type on dumpdir is 'cifs' -using /var/tmp/vzdumptmp1299033_598 for temporary files
INFO: Starting Backup of VM 598 (lxc)
INFO: Backup started at 2024-01-07 11:56:36
INFO: status = running
INFO: CT Name: pialert
INFO: including mount point rootfs ('/') in backup
INFO: mode failure - some volumes do not support snapshots
INFO: trying 'suspend' mode instead
INFO: backup mode: suspend
INFO: ionice priority: 7
INFO: CT Name: pialert
INFO: including mount point rootfs ('/') in backup
INFO: starting first sync /proc/3704676/root/ to /var/tmp/vzdumptmp1299033_598
ERROR: Backup of VM 598 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/3704676/root//./ /var/tmp/vzdumptmp1299033_598' failed: exit code 23
INFO: Failed at 2024-01-07 11:56:52
INFO: Backup job finished with errors
INFO: notified via target `mail-to-root`
TASK ERROR: job errors

After digging for a bit, I found out that snapshot backups are not supported. Only LVM-Thin and ZFS storage types can support snapshot backups. So a fix is to do backups in "suspend" mode.

Thanks.
 
  • Like
Reactions: leesteken

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!