Failed Backup of Nextcloud LXC

nicedevil

Member
Aug 5, 2021
112
11
23
Hey guys,

I was running a backupjob for a couple months now for my whole environment, ofc successfull :)
Now I started a new node in my cluster and moved over my nextcloud LXC to it.
Nextcloud is working but the backup is failing one day after an other:

Python:
INFO: Starting Backup of VM 47005 (lxc)
INFO: Backup started at 2024-03-16 10:21:31
INFO: status = running
INFO: CT Name: nextcloud
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: nextcloud
INFO: including mount point rootfs ('/') in backup
INFO: starting first sync /proc/125534/root/ to /var/tmp/vzdumptmp2421990_47005
ERROR: Backup of VM 47005 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/125534/root//./ /var/tmp/vzdumptmp2421990_47005' failed: exit code 11
INFO: Failed at 2024-03-16 10:25:40

maybe you could help, and yes the container was running on ZFS in the past.
 
I also had the same error in the past.
Rsync error code 11 means no Space left.
AFAIK when making a lxc backup it's first put in a temp dir on the node (you can change the directory location in vzdump.conf)
https://pve.proxmox.com/pve-docs/vzdump.1.html (it's the tpmdir option)

Your /var/tmp is probably running out of space. The solution is to use a temp directory on a larger local storage/partition
 
  • Like
Reactions: nicedevil
Space is not the problem. I have a different problem than yours. I had 2TB and the lxc i was trying to backup only had 16GB root and 16GB mounted disk. I heard that this was a bug when I was did have this problem. Funny thing is that other lxc with bigger disks worked perfectly. Sinced then i only did mode stop on certain lxc. Haven't changed it since then since i do my backups at 2 am anyways.
 

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!