Proxmox Backup Client

Hansat04

New Member
Apr 27, 2024
2
0
1
Hey,

i am trying to use the Proxmox Backup Client to create a Full Backup of one of my Bare metal Systems so i could restore it to my Proxmox Server the Backup.
The Backup it self works Perfectly sadly it not directly restorable in the Proxmox Server gui and if i try to create a VM and then Use this Command to Restore it:
proxmox-backup-client restore "${SNAPSHOT}" root.pxar - --repository "${PBS_REPOSITORY}" | \
dd of="/dev/sda1" bs=1M status=progress conv=sync
I destroy my system because i am writing over needed System Files does somebody have some guidance on how to Restore a Backup from the Client or if i can somehow make them Directly restorable in the Gui?

Thanks in advanced for any help.


1743369428825.png
 
Hi,
Hey,

i am trying to use the Proxmox Backup Client to create a Full Backup of one of my Bare metal Systems so i could restore it to my Proxmox Server the Backup.
The Backup it self works Perfectly sadly it not directly restorable in the Proxmox Server gui and if i try to create a VM and then Use this Command to Restore it:
proxmox-backup-client restore "${SNAPSHOT}" root.pxar - --repository "${PBS_REPOSITORY}" | \
dd of="/dev/sda1" bs=1M status=progress conv=sync
I destroy my system because i am writing over needed System Files does somebody have some guidance on how to Restore a Backup from the Client or if i can somehow make them Directly restorable in the Gui?

Thanks in advanced for any help.


View attachment 84334
According to the output you show, you are creating a file level backup, but are trying to restore the file level backup to a block device. That will not work, you will have to restore the pxar archive contents to a pre-existing filesystem, e.g. by mounting the block device first.

Regarding host level backups of PVE hosts, this is currently on the roadmap, see https://pbs.proxmox.com/wiki/index.php/Roadmap
 
  • Like
Reactions: Hansat04
Hi,
thanks for the Info i am actually just looking to take one of my bare metal server and just move them to a Proxmox Server is there maybe a way i dident see to take backup with the Client to just make a instantly restorable image in proxmox?
 
Hi,
thanks for the Info i am actually just looking to take one of my bare metal server and just move them to a Proxmox Server is there maybe a way i dident see to take backup with the Client to just make a instantly restorable image in proxmox?
Well, you can use proxmox-backup-client backup <archive-name>.img:<source-block-device> to create a fixed chunk backup snapshot of a block device. This block device should however not be mounted an actively written to to get a consistent state. The image can then be restored via a proxmox-backup-client restore <snapshot-name> <archive-name>.img <target>. So best would be to have a live system (maybe on an usb device) with proxmox-backup-client installed to perform the backup/restore.
 
  • Like
Reactions: Johannes S