[pve-devel] About PVE Backup Integration Guide
Fiona Ebner
f.ebner at proxmox.com
Wed Apr 9 15:26:41 CEST 2025
Am 02.04.25 um 11:04 schrieb Prashant Patil:
> Ok, will give plugins a try and see if we can achieve backup/restore
> management from our backup solution.
>
> 1. Can we just implement backup provider plugin and not storage plugin?
> We can build storage plugin in subsequent releases.
In theory, all you need to implement in the storage plugin is the
new_backup_provider() and parse_volname() methods and an empty/dummy
implementation for everything else. But you really don't need much else
to have proper integration as well, just listing backups, storage usage
status, etc. See the example plugins.
> 2. What are the steps to configure/deploy plugins?
Easiest is to build a Debian package and provide that to your users.
> 3. Can I use the example plugins provided to test? Which one exactly?
> What are the involved steps to test this?
You can use them to get an idea of how the implementation should look
like. Since communicating with your backup sever and your architecture
will look different from those basic examples, the concrete
implementation will most likely not be useful to you however.
Also, like other code in Proxmox VE, it is licensed under AGPLv3, so
copying non-trivial amounts of it means that copyleft needs to be respected.
> 4. Is this the REST API to be used to create backup task? POST /api2/
> json/nodes/{node}/vzdump
Yes.
Best Regards,
Fiona
More information about the pve-devel
mailing list