[SOLVED] VM backup with pbs client without PVE

Ivan Dimitrov

Active Member
Jul 14, 2016
46
4
28
38
The pbs client is available on different platforms and I was planning to use for KVM VM backups without PVE. But after checking how the PVE backups work it seems the vm backup magic is mainly in the vzdump script.
Besides backup the VMs images from qcow2 files, is there any there API for backing up VM? In other way - without PVE is the PBS backup client simple file based backup tool or does it have something extra?
Thanks.
 
Last edited:

fabian

Proxmox Staff Member
Staff member
Jan 7, 2016
7,619
1,432
164
the VM backups in PVE use multiple PVE-specific elements:
- vzdump binary/modules: handles all the locking, volume activation, VM power management, consistency-guaranteeing actions and issues the backup command
- libproxmox-backup-qemu0: rust library that interfaces Qemu code and our PBS client code, the Qemu binaries need to be linked with it to support PBS
- qemu itself: requires a few patches to support additional QMP commands and our whole backup mechanism

these are not trivial to map to arbitrary other KVM/Qemu-based hypervisors, so if you are using those, you can only backup the disk volumes (need to ensure consistency yourself!) as fixed index archive, or use file-based backups inside the VM (if they are Linux/Debian-based).
 

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 your own in 60 seconds.

Buy now!