LXC backup fails ! (exit code 23)

May 11, 2019
87
2
8
I lost my samba share due to drive failure and had to recreate backup storage as:

1600201463045.png

Now when I run VMs back everything works fine.
But the LXC container backup fails with errors:

Code:
INFO: sent 2,228,248,201 bytes  received 664,281 bytes  127,366,427.54 bytes/sec
INFO: total size is 2,467,754,337  speedup is 1.11
INFO: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3]
ERROR: Backup of VM 1000 failed - command '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/5146/root///./ /var/tmp/vzdumptmp10065' failed: exit code 23
INFO: Failed at 2020-09-15 12:56:32
What is going on wrong?

Thx
 

fabian

Proxmox Staff Member
Staff member
Jan 7, 2016
4,518
705
133
please post the full log..
 

fabian

Proxmox Staff Member
Staff member
Jan 7, 2016
4,518
705
133
yes - the task log should still be there?
 
May 11, 2019
87
2
8
@fabian

Here it is.
FYI the issue was kinda resolved after I did backup VMs and LXC together

INFO: starting new backup job: vzdump 1000 --mode snapshot --storage VMs_backups --quiet 1 --mailto yuri.weinstein@gmail.com --node pve --all 0 --mailnotification always --compress zstd
INFO: filesystem type on dumpdir is 'cifs' -using /var/tmp/vzdumptmp31439 for temporary files
INFO: Starting Backup of VM 1000 (lxc)
INFO: Backup started at 2020-09-15 12:13:02
INFO: status = running
INFO: CT Name: emby-vm
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: emby-vm
INFO: starting first sync /proc/5146/root// to /var/tmp/vzdumptmp31439
INFO: rsync: readlink_stat("/proc/5146/root/media/pi-nas") failed: Host is down (112)
INFO: IO error encountered -- skipping file deletion
INFO: Number of files: 41,237 (reg: 32,868, dir: 4,986, link: 3,350, dev: 2, special: 31)
INFO: Number of created files: 41,236 (reg: 32,868, dir: 4,985, link: 3,350, dev: 2, special: 31)
INFO: Number of deleted files: 0
INFO: Number of regular files transferred: 32,849
INFO: Total file size: 2,467,754,049 bytes
INFO: Total transferred file size: 2,225,082,885 bytes
INFO: Literal data: 2,225,082,885 bytes
INFO: Matched data: 0 bytes
INFO: File list size: 1,310,663
INFO: File list generation time: 0.001 seconds
INFO: File list transfer time: 0.000 seconds
INFO: Total bytes sent: 2,228,247,914
INFO: Total bytes received: 664,105
INFO: sent 2,228,247,914 bytes received 664,105 bytes 114,303,180.46 bytes/sec
INFO: total size is 2,467,754,049 speedup is 1.11
INFO: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3]
ERROR: Backup of VM 1000 failed - command '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/5146/root///./ /var/tmp/vzdumptmp31439' failed: exit code 23
INFO: Failed at 2020-09-15 12:13:22
INFO: Backup job finished with errors
TASK ERROR: job errors
 

fabian

Proxmox Staff Member
Staff member
Jan 7, 2016
4,518
705
133
Code:
INFO: rsync: readlink_stat("/proc/5146/root/media/pi-nas") failed: Host is down (112)
is the actual error.. some mounted network share that is unavailable?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!