Backup und Restore ohne PVE

ItsChris

New Member
May 7, 2024
1
0
1
Hi zusammen,

ich kann mit dem Proxmox Backup Server auf einem Linux Host ohne PVE ein Backup auf dem PBS erstellen.

export PBS_REPOSITORY='root@pam!pbsbackup@10.27.12.34:zfs-pool'
export PBS_PASSWORD='mysecret'
proxmox-backup-client backup root.pxar:/


Wie kann ich aber dann eine komplette VM (in diesem Fall ein Linux Server ohne PVE) wiederherstellen?

Bis jetzt finde ich nur Befehle, um einzelne Verzeichnisse zu restoren.
Ich möchte aber den gesamten Host 1:1 nochmal aus dem Backup wiederherstellen.

LG Chris
 
Hi Chris,

In der PBS Online Dokumentation https://pbs.proxmox.com/docs/backup-client.html#restoring-data ist folgender Befehl:
# proxmox-backup-client restore host/elsa/2019-12-03T09:35:01Z root.pxar /target/path/

Wenn du jetzt in eine VM wiederherstellen willst, sollte unter /target/path/ die Partition eines Diskimages eingebunden sein in der das root-Verzeichnis / sein soll.
Das Image ist dann aber nicht bootfähig. Das muss dann danach händisch erfolgen und hängt vom Ursprungs-Linux ab.

Gruß
KH
 

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!