Simple Backups LXC und KVM

Sessa45

Well-Known Member
Apr 3, 2018
103
0
56
31
Hallo Community,

ich muss einige Backups der KVM und LXC Maschinen anlegen.
Ich nutze dazu die Proxmox GUI Backup Funktion.

Zunächst alle LXC Server. Dabei folgender Fehler:

INFO: Starting Backup of VM 121 (lxc)
INFO: status = running
INFO: CT Name: 380.proxmox.de
INFO: mode failure - some volumes do not support snapshots
INFO: trying 'suspend' mode instead
INFO: backup mode: suspend
INFO: ionice priority: 7

Wie genau ist das zu deuten?
Habe GZIP gewählt und Snapshot mode.

Bei einigen klappt es, dann wieder nicht.
 
Du hast eventuell einen Storage, der keine snapshots unterstützt?!

Wie sehen denn deine storages aus?
 
Der Storage, auf welchen die Backups gehen, hat als Inhalt "VZDump backup file" konfiguriert.
Kurios, dass einige LXC Backups angelegt werden, und dann stoppt er auf einmal.
 
Bitte entschuldige, da habe ich dich missverstanden.
Habe ein LVM konfiguriert.
 
Und ein LVM kann keine Snapshots lt. Doku (siehe link) , lediglich LVM Thin.
 
Merkwürdig, dass einige Backups erstellt werden können.
Habe nun mal den Mode geändert und "suspend" genommen. Laut Beschreibung:

"This mode uses rsync to copy the container data to a temporary location (see option --tmpdir). Then the container is suspended and a second rsync copies changed files. After that, the container is started (resumed) again. This results in minimal downtime, but needs additional space to hold the container copy."

Erneut der Fehler. Nach dem 3-4 Backup bleibt es hängen.
Storages sind "Verzeichnis" vom Typ. Also kein NFS, sodass der zusätzliche Parameter nicht gesetzt werden muss.

EDIT//

INFO: Starting Backup of VM 109 (lxc)
INFO: status = running
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: plays
INFO: stopping vm
command 'lxc-stop -n 109 --timeout 600' failed: got timeout
 
Last edited:
Bekomme bei jedem LXC einen Timeout



Gibt es dafür eine Lösung?

Hallo.

Was ist die Ausgabe des Befehls:

Code:
lxc-stop -n 109 --timeout 60 -l DEBUG -o /dev/stdout
 

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!