rsync error 23 on lxc backup

frpp9512

New Member
Mar 30, 2022
2
0
1
I'm having an issue when backing up a container to the Proxmox Backup Server. The output log is the following:

Code:
vzdump 100 --mailto href="mailto:admin@ingeco.cu">admin@ingeco.cu --storage dellbackups --mailnotification always --quiet 1 --mode suspend

 

100: 2022-03-30 02:00:03 INFO: Starting Backup of VM 100 (lxc)

100: 2022-03-30 02:00:03 INFO: status = running

100: 2022-03-30 02:00:03 INFO: backup mode: suspend

100: 2022-03-30 02:00:03 INFO: ionice priority: 7

100: 2022-03-30 02:00:03 INFO: CT Name: nube

100: 2022-03-30 02:00:03 INFO: including mount point rootfs ('/') in backup

100: 2022-03-30 02:00:03 INFO: including mount point mp1 ('/var/cloud') in backup

100: 2022-03-30 02:00:03 INFO: starting first sync /proc/1594/root/ to /var/lib/vz_storage/dmp_tmp/vzdumptmp466970_100/

100: 2022-03-30 03:08:51 INFO: first sync finished - transferred 510.23G bytes in 4128s

100: 2022-03-30 03:08:51 INFO: suspending guest

100: 2022-03-30 03:08:51 INFO: starting final sync /proc/1594/root/ to /var/lib/vz_storage/dmp_tmp/vzdumptmp466970_100/

100: 2022-03-30 03:09:51 INFO: resume vm

100: 2022-03-30 03:09:51 INFO: guest is online again after 60 seconds

100: 2022-03-30 03:10:19 ERROR: Backup of VM 100 failed - command 'rsync --stats -h -X -A --numeric-ids -aH --delete --no-whole-file --inplace --one-file-system --relative '--exclude=/tmp/?*' '--exclude=/var/tmp/?*' '--exclude=/var/run/?*.pid' /proc/1594/root//./ /proc/1594/root//./var/cloud /var/lib/vz_storage/dmp_tmp/vzdumptmp466970_100/' failed: exit code 23

When I've done the backup locally it works fine, the problem comes when the backup goes to the PBS. The container has attached a disk of 5 TB.

I'm using Proxmox 7.0-8 y PBS 2.0-4.
 
Last edited:
are you sure you even want to use suspend mode (it makes an extra temp copy of the data, so it's the least efficient mode)? in any case, possible your tmpdir doesn't support ACLs?
 
are you sure you even want to use suspend mode (it makes an extra temp copy of the data, so it's the least efficient mode)? in any case, possible your tmpdir doesn't support ACLs?
The point is that the lxc is too big for a snapshot (or that is the message that shows when starts in that mode), and I don't want to stop the service for too long on the backup process. Exist any other way? Or how I can enable the ACLs in the tmpdir?
 
depends on where the tmpdir lives, it's usually a mount option if the FS there supports ACLs at all..
 

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!