[SOLVED] Backup im Mode "Stop" bei VM nicht möglich.

Yakuraku

Active Member
Sep 24, 2016
69
0
26
38
Habe zwei Backup-Jobs Laufen:
- Ein tägliches Backup (Snapshot): Funktioniert immer
- Ein wöchentliches Backup (Stop): Schlägt bei 2 VMs Fehl

Auch wenn ich das Backup (Stop) Manuell starte, funktioniert es bei diesen VMs nicht.
Proxmox selbst ist up-to-date. Als Dateisystem kommt ZFS zum Einsatz.

Jemand eine Idee wie ich den Backup-Job wieder zum laufen bekomme?


Uname von beiden VMs:
Linux vm103 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) x86_64 GNU/Linux
Linux vm102 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Logausgabe vom Backup einer VM (andere sieht identisch aus)
Code:
INFO: starting new backup job: vzdump 102 --node PXE --mode stop --storage Backup --compress 0 --remove 0
INFO: Starting Backup of VM 102 (qemu)
INFO: status = running
INFO: update VM 102: -lock backup
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: VM Name: VM
INFO: include disk 'scsi0' 'VM-Data:vm-102-disk-1'
INFO: stopping vm
INFO: creating archive '/backup/dump/vzdump-qemu-102-2017_04_17-11_10_45.vma'
INFO: starting kvm to execute backup task
INFO: started backup task 'db678b92-b2d6-4d85-8687-7bd2fc65cc0b'
INFO: resume VM
ERROR: VM 102 qmp command 'query-backup' failed - got timeout
INFO: aborting backup job
ERROR: VM 102 qmp command 'backup-cancel' failed - interrupted by signal
INFO: vm is online again after 1040 seconds
ERROR: Backup of VM 102 failed - VM 102 qmp command 'query-backup' failed - got timeout
INFO: Backup job finished with errors
TASK ERROR: job errors
 
funktioniert das backup wenn du ein bandwidth limit setzt? könnte mir vorstellen das die systemlast aufgrund des backups so stark ansteigt, dass das abfragen des status nicht mehr funktioniert.
 
Welches Bandwidth Limit meinst du? Beim Backup Direkt kann ich keines setzten.

Diese beiden VMs sind auch nicht die größten (eine VM nutzt 5 GB Festplatten-speicher, die andere 10 GB), die virtuellen Festplatten liegen zudem auf einem ZFS 3-er Mirror (HDD), mit Mirrored ZIL und Cache (auf SSDs)
 
vzdump hat eine "bwlimit" option.
 
Ok, ich das bwlimit hat nichts gebracht.
Habe jetzt mal händisch die VM heruntergefahren (qm shutdown) und danach das Backup gestartet, und dann funktioniert das Backup!
Sollte vzdump bei mode Stop nicht automatisch die VM herunterfahren?
 
Ok, ich das bwlimit hat nichts gebracht.
Habe jetzt mal händisch die VM heruntergefahren (qm shutdown) und danach das Backup gestartet, und dann funktioniert das Backup!
Sollte vzdump bei mode Stop nicht automatisch die VM herunterfahren?

tut es auch - siehe der log weiter oben. ich vermute dass es jetzt geklappt hat war nur zufall (z.b. weniger anderweitige I/O last am system?)
 
Seit ich das Backup durchgeführt hatte mit manuellem Stop, funktioniert das Automatisierte Backup auch wieder....

Sehe es als "Gelöst".
 

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!