[SOLVED] Recovery aus Backup funktioniert nicht

jensus11

Well-Known Member
Mar 17, 2018
30
3
48
45
Hallo,

ich habe einen Proxmox Server und einen PBS, wo ich regelmäßige Backups erstelle.
Jetzt möchte ich einen neuen Server aufsetzen und die Backups einspielen.
Leider klappt eines nicht. Dieses ist 36 GB groß, alle anderen zwischen 3 und 12 GB die ohne Probleme zurückgespielt werden konnten.

Was kann ich da machen?

Gruss

Code:
recovering backed-up configuration from 'PBS_VM_unraid:backup/ct/111/2024-04-20T15:29:28Z'
  Logical volume "vm-103-disk-0" created.
Creating filesystem with 9437184 4k blocks and 2359296 inodes
Filesystem UUID: 942-a96f-4-a5e6-550fcea
Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
    4096000, 7962624
restoring 'PBS_VM_unraid:backup/ct/111/2024-04-20T15:29:28Z' now..
Error: error extracting archive - encountered unexpected error during extraction: error at entry "system@90f8e0d68c254e77e39be0-0000016097-0005f9b2219.journal": failed to extract file: failed to copy file contents: No space left on device (os error 28)
  Logical volume "vm-103-disk-0" successfully removed.
TASK ERROR: unable to restore CT 103 - command '/usr/bin/proxmox-backup-client restore '--crypt-mode=none' ct/111/2024-04-20T15:29:28Z root.pxar /var/lib/lxc/103/rootfs --allow-existing-dirs --repository root@pam@192.168.9.98:HDD1TB' failed: exit code 255
 
Ja, genau. Ich hatte eine HA mit 3 Cluster. Da es aber immer wieder Migrationsprobleme gab, bin ich davon weg.
Ich bin dann aber vom ZFS über die Klon Funktion zu local-lvm. Da auch noch ein Backup versucht. Gleiches Problem.
Die Backups werden aber überall erstellt, egal ob intern, NFS Laufwerk oder PBS. Nur das Zurückspielen klappt nicht. Beim Entpacken von jeder Datei aus dem Backup, kommt dann diese No Space left on Device Meldung.
 
Ich habe jetzt mal das Backup auf das ZFS Pool vom Quell-Node zurückgespielt, ging ohne Probleme.
Verstehe nicht, dass die anderen 8 Container Backups auf den neuen Ziel-Node gespielt wurden konnten. Die warten auch alle auf dem ZFS Pool.
 
Last edited:
Habe es hinbekommen. Zur Lösung war der Zwischenschritt Klonen zu einer ext4 Storage nötig. Nach dem Klonen Backup erstellt und ganz normal eingespielt auf dem neuen Server.
Jetzt zeigt er mir aber an, dass die Bootdisc fast voll ist. Wie kann ich denn überprüfen, was da soviel Speicher benötigt?
 
Im Docker Container habe ich aufgeräumt. Jetzt sind es nur noch ca. 9 GB . Ist für mich gelöst.
 
Also als tipp für VM: bitte auch die die smart trim Funktion für das Storrage einstellen.

Und ich lasse auf dem Hostsystem sowie in VM, die als Linux laufen, $ fstrim -av laufen.

Unter ZFS ist autotrim off: $ zpool set autotrim=off <pool>, so dass man per Cronjob immer mal wieder $ zpool trim <pool> laufen lässt.
Gesetzt habe ich auch noch $ zfs set atime=off <pool>, dadurch wird nicht jeder Zugriff als Zeitwert als Metadatum gespeichert.
Siehe ZFS Special Device auf SSD, NVMe.
 
Last edited:

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!