[pve-devel] About PVE Backup Integration Guide

Prashant Patil Prashant.Gamepatil at veritas.com
Tue Apr 1 12:59:02 CEST 2025


Just for clarity - The backup/restore jobs will be configured on the Proxmox VE side, the job gets triggered on Proxmox VE side and that is where the provider API comes into picture to take backups to specified storage. Is this understanding correct?



Thanks

Prashant



-----Original Message-----
From: Fiona Ebner <f.ebner at proxmox.com>
Sent: 01 April 2025 02:35 PM
To: Prashant Patil <Prashant.Gamepatil at veritas.com>; Proxmox VE development discussion <pve-devel at lists.proxmox.com>; Thomas Lamprecht <t.lamprecht at proxmox.com>
Cc: Anuradha Joshi <Anuradha.Joshi at veritas.com>; Sudhir Subbarao <Sudhir.Subbarao at veritas.com>; Jason Voneberstein <Jason.vonEberstein at veritas.com>
Subject: Re: [pve-devel] About PVE Backup Integration Guide





CAUTION: This email originated from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. If you believe this is a phishing email, use the Report to Cybersecurity icon in Outlook.







Am 01.04.25 um 10:52 schrieb Prashant Patil:

> When does Proxmox VE backend calls functions from the plugin? The

> backup/restore tasks/jobs are configured in our Backup Solution hence

> this question.



During running a Proxmox VE backup job or backup/restore invocation via API. If you manage the jobs on the server side, you will need to start the backup via the corresponding API call:



For backup:

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpve.proxmox.com%2Fpve-docs%2Fapi-viewer%2F%23%2Fnodes%2F&data=05%7C02%7CPrashant.Gamepatil%40veritas.com%7Cf394f36683574eb0cdf508dd70fc561c%7Cfc8e13c0422c4c55b3eaca318e6cac32%7C0%7C0%7C638790951278353942%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=u%2FmQXat93EOwXF2O9nW%2Bmivf7sujiSnacY4LISZm%2FU4%3D&reserved=0{node}/vzdump<https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/>



For restore of VM, POST call with 'archive' argument being the volume ID used by your storage plugin implementation:

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpve.proxmox.com%2Fpve-docs%2Fapi-viewer%2F%23%2Fnodes%2F&data=05%7C02%7CPrashant.Gamepatil%40veritas.com%7Cf394f36683574eb0cdf508dd70fc561c%7Cfc8e13c0422c4c55b3eaca318e6cac32%7C0%7C0%7C638790951278382101%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=zuUEmWNhwWiygheMU27uC8xmjmuGWkrbI6Q3SbG51AU%3D&reserved=0{node}/qemu<https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/>



For restore of VM, POST call with 'restore' argument set to true and 'ostemplate' argument being the volume ID used by your storage plugin

implementation:

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpve.proxmox.com%2Fpve-docs%2Fapi-viewer%2F%23%2Fnodes%2F&data=05%7C02%7CPrashant.Gamepatil%40veritas.com%7Cf394f36683574eb0cdf508dd70fc561c%7Cfc8e13c0422c4c55b3eaca318e6cac32%7C0%7C0%7C638790951278398953%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=rs1rXinYnZBKZL6AhpK6NgV0OTlXpZgeJPaMLYfeceo%3D&reserved=0{node}/lxc<https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/>



See also:



https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpve.proxmox.com%2Fpve-docs%2Fchapter-pveum.html%23pveum_tokens&data=05%7C02%7CPrashant.Gamepatil%40veritas.com%7Cf394f36683574eb0cdf508dd70fc561c%7Cfc8e13c0422c4c55b3eaca318e6cac32%7C0%7C0%7C638790951278413524%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=OvRxJgULYhqnbrseGE1nvti7cBLnvK6O4q%2FNXkQY2%2BQ%3D&reserved=0<https://pve.proxmox.com/pve-docs/chapter-pveum.html#pveum_tokens>



However, note that users will still be able to configure jobs/issue backups/restores for your backup storage on the Proxmox VE-side. That is where the backups are taken/needed for restore, so the provider API is designed to be fully integrated on the Proxmox VE-side.



Best Regards,

Fiona




This message was sent by an employee of Arctera.


More information about the pve-devel mailing list