Paperless backup job error

Dec 14, 2022
69
1
13
Hi,
Ich bekomme immer eine Fehlermeldung beim backup von Paperless (lxc). Neben dem Container habe ich noch einen mount /data eingebunden. Wenn ich die Fehlemeldung richtig interpretiere, scheitert es daran, dass der snapshot Modus nicht unterstützt wird? Allerdings scheint das backup dann alternatiiv ein "suspend" zu machen, was aber trotzdem nicht funktioniert.
Wenn ich den container stoppe, und manuell ein backup mache, funktioniert es.
Wer kann helfen?


Code:
INFO: starting new backup job: vzdump 109 --all 0 --compress zstd --storage Lan24TB --notes-template '{{guestname}}' --prune-backups 'keep-last=5' --mode snapshot --mailnotification always --node merlin
INFO: Starting Backup of VM 109 (lxc)
INFO: Backup started at 2023-03-08 16:34:44
INFO: status = running
INFO: CT Name: DockerDebian
INFO: including mount point rootfs ('/') in backup
INFO: including mount point mp0 ('/data') 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: DockerDebian
INFO: including mount point rootfs ('/') in backup
INFO: including mount point mp0 ('/data') in backup
INFO: starting first sync /proc/296693/root/ to /tmp/vzdumptmp1974996_109/
ERROR: Backup of VM 109 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/296693/root//./ /proc/296693/root//./data /tmp/vzdumptmp1974996_109/' failed: exit code 23
INFO: Failed at 2023-03-08 16:37:57
INFO: Backup job finished with errors
TASK ERROR: job errors
 
Last edited:
can you post the container config and the output of "pveversion -v"? it's possible based on the container name that some feature of docker is interfering, does the backup work if you explicitly use "stop" mode (warning: will shutdown the container for the duration of the backup ;))
 
Hi Fabian,

config:
Code:
GNU nano 5.4                                                                 109.conf                                                                          
arch: amd64
cores: 6
features: nesting=1
hostname: DockerDebian
memory: 12128
mp0: HDD-2-1:vm-109-disk-1,mp=/data,backup=1,size=200G
net0: name=eth0,bridge=vmbr0,firewall=1,gw=192.1XX.XXX.XXX,hwaddr=XX:XX:XX:XX:XX:XX,ip=192.1XX.XXX.149/24,type=veth
onboot: 1
ostype: debian
rootfs: HDD-2-1:vm-109-disk-0,size=40G
swap: 8000
unprivileged: 1

pveversion -v:
Code:
proxmox-ve: 7.3-1 (running kernel: 5.15.85-1-pve)
pve-manager: 7.3-6 (running version: 7.3-6/723bb6ec)
pve-kernel-helper: 7.3-5
pve-kernel-5.15: 7.3-2
pve-kernel-5.15.85-1-pve: 5.15.85-1
pve-kernel-5.15.83-1-pve: 5.15.83-1
pve-kernel-5.15.74-1-pve: 5.15.74-1
ceph-fuse: 15.2.17-pve1
corosync: 3.1.7-pve1
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.24-pve2
libproxmox-acme-perl: 1.4.4
libproxmox-backup-qemu0: 1.3.1-1
libpve-access-control: 7.3-1
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.3-2
libpve-guest-common-perl: 4.2-3
libpve-http-server-perl: 4.1-5
libpve-storage-perl: 7.3-2
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 5.0.2-2
lxcfs: 5.0.3-pve1
novnc-pve: 1.4.0-1
proxmox-backup-client: 2.3.3-1
proxmox-backup-file-restore: 2.3.3-1
proxmox-mail-forward: 0.1.1-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.5.5
pve-cluster: 7.3-2
pve-container: 4.4-2
pve-docs: 7.3-1
pve-edk2-firmware: 3.20220526-1
pve-firewall: 4.2-7
pve-firmware: 3.6-3
pve-ha-manager: 3.5.1
pve-i18n: 2.8-3
pve-qemu-kvm: 7.2.0-5
pve-xtermjs: 4.16.0-1
qemu-server: 7.3-4
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.8.0~bpo11+3
vncterm: 1.7-1
zfsutils-linux: 2.1.9-pve1

and, yes,
Wenn ich den container stoppe, und manuell ein backup mache, funktioniert es.
:)
and also as job, if that was meant.
 
Last edited:
sorry fuers sprach wirr-warr ;)

was fuer ein storage ist denn HDD-2-1 ? was passiert wenn du ein suspend mode backup machst, und dann (ohne den container zu stoppen) den rsync befehl aus der fehlermeldung als root auf der shell probierst (es muss das genaue kommando aus dem aktuellsten backup task sein, weil darin die container PID enthalten ist)? kannst du den gesamten rsync output hier posten?
 
HDD-2-1 ist eine interen SATA Disk. Wie ich an den aktuellen backup task komme, weiß ich leider nicht. Momentan hab ich das backup jetzt so eingestellt, dass davor der container gestoppt wird. Klappt wunderbar und stört mich auch nicht. Kann das mit dem rsync Kommando gerne noch machen, wenn Du mir sagst, wo ich den task finde.
 
wenn stop mode fuer dich passt, dann muessen wir auch nicht weiter debuggen :)
 
  • Like
Reactions: FlyByWire
Jetzt sehe ich grade in der jobliste, dass es zum backup Zeitpuntkt heute Nacht eine Fehlermeldung gab.

02:00 Uhr
Code:
Header
Proxmox
Virtual Environment 7.3-6
Container 109 (DockerDebian) auf Knoten 'merlin'
Keine Tags
Logs
client connection: 127.0.0.1:51768
error reading from pty: Input/output error (os error 5)
TASK ERROR: command '/usr/bin/termproxy 5900 --path /vms/109 --perm VM.Console -- /usr/bin/dtach -A /var/run/dtach/vzctlconsole109 -r winch -z lxc-console -n 109 -e -1' failed: exit code 1

das backup ist dann aber gelaufen.

02:06 Uhr
Code:
Header
Proxmox
Virtual Environment 7.3-6
Container 109 (DockerDebian) auf Knoten 'merlin'
Keine Tags
Logs
INFO: starting new backup job: vzdump 109 --mode stop --mailnotification always --quiet 1 --storage Lan24TB --compress zstd --prune-backups 'keep-last=7' --notes-template '{{guestname}}'
INFO: Starting Backup of VM 109 (lxc)
INFO: Backup started at 2023-03-15 02:00:01
INFO: status = running
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: DockerDebian
INFO: including mount point rootfs ('/') in backup
INFO: including mount point mp0 ('/data') in backup
INFO: stopping virtual guest
INFO: creating vzdump archive '/mnt/pve/Lan24TB/dump/vzdump-lxc-109-2023_03_15-02_00_01.tar.zst'
INFO: Total bytes written: 13961779200 (14GiB, 37MiB/s)
INFO: archive file size: 8.10GB
INFO: adding notes to backup
INFO: prune older backups with retention: keep-last=7
INFO: removing backup 'Lan24TB:backup/vzdump-lxc-109-2023_03_08-16_49_16.tar.zst'
INFO: pruned 1 backup(s) not covered by keep-retention policy
INFO: restarting vm
INFO: guest is online again after 396 seconds
INFO: Finished Backup of VM 109 (00:06:36)
INFO: Backup finished at 2023-03-15 02:06:37
INFO: Backup job finished successfully
TASK OK

Was kann das sein?
 
die fehlermeldung sagt dass noch eine container console offen war, die ist durch das abschalten des containers fuers backup abgewuergt worden. soweit ganz normal ;)
 
  • Like
Reactions: FlyByWire