Restore using cli client directly to RBD image?


Well-Known Member
Oct 8, 2019

Is there a way to specify the "target" for a "proxmox-backup-client restore" that will write directly to a ceph cluster to create a new RBD image? I've hunted through the doco but can't find anything other than restoring to a file on a local filesystem.


After some trial and error I can achieve this using

proxmox-backup-client restore vm/999/2023-07-02T00:36:40Z drive-scsi0.img  - | rbd import - vm-111-disk-0

It's not pretty so I hope there's some integration of ceph and pbs. Using the above I restored a backup of a disk image from a VM from our production cluster into ceph on our lab cluster (the lab cluster can see the prod PBS server). The lab vm boots windows from that image as expected.

This is useful for us as our PVE nodes don't have a lot of local disk space (they use ceph for storage). We couldn't restore to local disk and then import into ceph as there probably wouldn't be enough local free disk space. Restoring directly from PBS into ceph resolves that issue in a hypothetical disaster situation where we can't just restore using the PVE web GUI
  • Like
Reactions: _gabriel


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!