Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client-level VM/CT Backup Management - Configurable via usage (vzdump) #39

Open
jbrouhard98 opened this issue Sep 13, 2023 · 3 comments
Labels
feat-major Major feature request z-dr-snap
Milestone

Comments

@jbrouhard98
Copy link

Clients may want to have the ability to create/manage their backups, or even restore from a previous backup themselves.

@lsthompson lsthompson changed the title Client-level VM/CT Backup management Client-level VM/CT Backup Management - Configurable due to resource usage (vzdump) Sep 13, 2023
@lsthompson
Copy link
Member

We support the idea. This makes sense to do.

https://pve.proxmox.com/wiki/Backup_and_Restore
https://pve.proxmox.com/pve-docs/chapter-vzdump.html

Need to explore a bunch of things:

  • option to have backups visible at all
  • pruning configuration (keep-last etc)
  • vzdump mode (snapshot/suspend/stop)
  • restricted scheduling/firing of dump jobs
  • whether self-service restores can happen

@lsthompson lsthompson added this to the v1.3.0 milestone Sep 13, 2023
@lsthompson lsthompson added the feat-major Major feature request label Sep 13, 2023
@jbrouhard98
Copy link
Author

From experience granting a user access to PVE Realm:

The end user can absolutely trigger their own backups, and i have confirmed they can restore directly if they have the permissions of VM.Backup, VM.Snapshot. and VM.Snapshot.Rollback. To view the repo,they need Datastore.AllocateSpace, Datastore.AllocateTemplate and Datastore.Audit just to be able to view the datastores.

As for backups visible... I think it's possible if you query the datastore, and look for vzdump-qemu-{VMID}-[[[date]]].vma.zst. Querying for the VMID and matching it to the client's VM ID should be sufficient?

Default backup is "snapshot"

@lsthompson
Copy link
Member

I like your thought process there. Modules Garden are pushing hard now that we're around:

https://www.modulesgarden.com/products/whmcs/proxmox-ve-vps#changelog

There are some key things it does which I'd like to see parity with.

@lsthompson lsthompson modified the milestones: v1.3.x, v2.x.x Dec 5, 2023
@lsthompson lsthompson changed the title Client-level VM/CT Backup Management - Configurable due to resource usage (vzdump) Client-level VM/CT Backup Management - Configurable via usage (vzdump) Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat-major Major feature request z-dr-snap
Projects
None yet
Development

No branches or pull requests

2 participants