Backups Fail after Moving LXC Container Root Disks

shells

New Member
Feb 26, 2020
2
0
1
33
Yesterday, I moved several of my containers' root disks to a different storage. They were subvolumes on my root ZFS pool, but now they're just stored as .raw images inside a directory on a different pool. I did this by going to each container --> Resources --> Root Disk --> "Move Volume" button.

Since then, all backup jobs fail for those containers if the container is running (though they do succeed if the container is off) . I'm using the "Snapshot" backup mode. Here is a sample of the error I get:

111containernameFAILED00:00:32command 'rsync --stats -X -A --numeric-ids -aH --delete --no-whole-file --sparse --one-file-system --relative '--exclude=/tmp/?*' '--exclude=/var/tmp/?*' '--exclude=/var/run/?*.pid' /proc/13510/root///./ /var/tmp/vzdumptmp20941' failed: exit code 23

Please let me know what other information I can provide to help track this down.
 
Since then, all backup jobs fail for those containers if the container is running (though they do succeed if the container is off) . I'm using the "Snapshot" backup mode.

"Snapshot" backup mode, as the name implies, requires a storage capable of snapshots. "raw" image files are not - check our documentation for more info.

Also, a good way to troubleshoot backup issues is to run a backup for a single container manually (i.e. select the container in the GUI on the left, go to "Backup" and select "Backup now").
 
Thanks for this info! Switching to "suspend" caused similar errors, but switching to "stop" resulted in successful backups.