I have a PBS backup like this:
It was created thusly:
And, I have a VM on the same Proxmox host that has a blank disk /dev/sda. This VM is booted from a USB drive that has proxmox-backup-client installed.
I'm trying to figure out the command that will restore the image backup to /dev/sda.
Here's what I have so far:
Here's what happens:
How do I specify the target?
Thanks.
It was created thusly:
export PBS_PASSWORD=<password>
export PBS_REPOSITORY=dan1@pbs@192.168.1.50:PBS
proxmox-backup-client backup \
system.img:/dev/disk/by-id/ata-1TB_SATA_SSD_AF20011703077 \
--keyfile=/etc/priv/PBS.enc \
--ns=rocky
And, I have a VM on the same Proxmox host that has a blank disk /dev/sda. This VM is booted from a USB drive that has proxmox-backup-client installed.
I'm trying to figure out the command that will restore the image backup to /dev/sda.
Here's what I have so far:
sudo proxmox-backup-client restore \
host/PBSclient/2023-05-26T04:10:02Z \
system.img \
/dev/sda \
--repository dan1@pbs@192.168.1.50:PBS \
--keyfile=/etc/priv/PBS.enc \
--ns rocky
Here's what happens:
Password for "dan1@pbs": ***********
storing login ticket failed: $XDG_RUNTIME_DIR must be set
Using encryption key from '/etc/priv/PBS.enc'..
Fingerprint: 1e:f6:69:0e:05:61:5c:bb
Error: unable to create target file "/dev/sda" - File exists (os error 17)
How do I specify the target?
Thanks.
Last edited: