Hello,
Currently vzdump on PVE has no namespace support, but instead relies on having the backup storage linked with a namespace in the storage configuration. While this is probably a perfectly fine option for some. In our case this would mean we need to connect roughly 600 storage drives to PVE, since there is no option to link these dynamic (when required) this is not viable.
We already use a custom script to initiate the backups instead of using the build-in backup option in proxmox as it gives us a bit more flexibility in our environment. The issue we currently face is the storage interface is way to slow with around 600 backup-groups having 20-ish backups each. even with nvme 'special' devices to the point where requesting a list often times out with having to do multiple tries (waiting 2-3 minutes each) before we can get a listing of the backups.
A 2nd problem is, now we have no option (as far as I know) to give 1 customer with a set of servers access to only the backups owned by that customer without being able to see all other backups, namespaces would be a solution to that as well as permissions can be more fine-grained this way.
What I would like to ask.
- vzdump gets a namespace option ( --ns ? )
- pve storage listing for pbs storages gets the option to list namespaces and their contents - exactly like the storage overview inside pbs.
- if pbs storage is linked to pve with a namespace in the connection, and vzdump also gets the "--ns" option, the backup should fail as this is a configuration problem (- I dont think namespaces within namespaces is supported at all)
with the above changes I think this will benefit PVE-PBS combination a lot with more fine grained permissions and schedules for the backups.
Lastly as I mentioned we already use a custom script to do the backups, but I could see a future where the backup option inside PVE gets a few extra checkboxes and/or dropsdowns to set some rules for the backups to make use of this feature as well, say "use poolid for namespace" or "use tag X for namespace"
-regards
Currently vzdump on PVE has no namespace support, but instead relies on having the backup storage linked with a namespace in the storage configuration. While this is probably a perfectly fine option for some. In our case this would mean we need to connect roughly 600 storage drives to PVE, since there is no option to link these dynamic (when required) this is not viable.
We already use a custom script to initiate the backups instead of using the build-in backup option in proxmox as it gives us a bit more flexibility in our environment. The issue we currently face is the storage interface is way to slow with around 600 backup-groups having 20-ish backups each. even with nvme 'special' devices to the point where requesting a list often times out with having to do multiple tries (waiting 2-3 minutes each) before we can get a listing of the backups.
A 2nd problem is, now we have no option (as far as I know) to give 1 customer with a set of servers access to only the backups owned by that customer without being able to see all other backups, namespaces would be a solution to that as well as permissions can be more fine-grained this way.
What I would like to ask.
- vzdump gets a namespace option ( --ns ? )
- pve storage listing for pbs storages gets the option to list namespaces and their contents - exactly like the storage overview inside pbs.
- if pbs storage is linked to pve with a namespace in the connection, and vzdump also gets the "--ns" option, the backup should fail as this is a configuration problem (- I dont think namespaces within namespaces is supported at all)
with the above changes I think this will benefit PVE-PBS combination a lot with more fine grained permissions and schedules for the backups.
Lastly as I mentioned we already use a custom script to do the backups, but I could see a future where the backup option inside PVE gets a few extra checkboxes and/or dropsdowns to set some rules for the backups to make use of this feature as well, say "use poolid for namespace" or "use tag X for namespace"
-regards