VMA backup zurückspielen (can't find file)

bitboy0

Member
May 20, 2020
62
2
8
55
Ich habe hier angefangen mit Proxmox zu spielen um mich auf den Betrieb der Produktivumgebung später vorzubereiten.

ich habe ein Backup einer VM gemacht und die aus /var/lib/vz/dump auf einen lokalen Rechner gezogen. Dann habe ich Proxmox neu aufgesetzt und die VMA wieder dort hin kopiert. Ist ja immer gut wenn man so ein Backup auch wieder zum Laufen bekommt.

root@pve:/var/lib/vz/dump# ls -al
total 16907992
drwxr-xr-x 2 root root 53 Dec 9 11:39 .
drwxr-xr-x 5 root root 48 Dec 9 11:02 ..
-rwxrwxrwx 1 root root 17313780224 Dec 9 11:16 vzdump-qemu-100-2020_12_09-09_45_33.vma

um sie von da mit
qmrestore /var/lib/vz/dump/vzdump-qemu-100-2020_12_09-09_45_33.vma 100
wieder herzustellen.

aber dann erhalte ich stumpf die Meldung
can't find file /var/lib/vz/dump/vzdump-qemu-100-2020_12_09-09_45_33.vma

Und jetzt weiß ich auch nicht weiter...
 
was sagt den stat /var/lib/vz/dump/vzdump-qemu-100-2020_12_09-09_45_33.vma
 
Code:
root@pve:~# stat /var/lib/vz/dump/vzdump-qemu-100-2020_12_09-09_45_33.vma
  File: /var/lib/vz/dump/vzdump-qemu-100-2020_12_09-09_45_33.vma
  Size: 17313780224     Blocks: 33815984   IO Block: 4096   regular file
Device: fd01h/64769d    Inode: 67545000    Links: 1
Access: (0777/-rwxrwxrwx)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2020-12-09 12:36:10.528483436 +0100
Modify: 2020-12-09 11:16:43.152239590 +0100
Change: 2020-12-09 11:34:06.473181430 +0100
 Birth: -
 
nur um sicherzugehen - der 'qmrestore' befehl wird sicher am richtigen host ausgeführt? der befehl funktioniert hier mit absoluten pfaden einwandfrei..
 
Nun, ich hab ja nur diesen Host ... Ist ja erst Mal nur zum Kennenlernen der Software. Wenn ich da was kaputt spiele, dann tut das nicht weh. Spätestens im Frühjahr soll dann alles von der vmware/vsphere dahin umziehen. Bis dahin darf ich mich also noch beliebig dumm anstellen ;)
 
wie lautet denn die aktuell installierte version (pveversion -v)?
 
Es hat jetzt geklappt ... Ich habe keine Idee warum es vorher nicht ging ... vielleicht habe ich konsequent irgendwas immer gleich vertippt oder so?
 

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!