[pbs-devel] [PATCH proxmox-backup 1/2] config: add default datastore creation function

Christian Ebner c.ebner at proxmox.com
Mon May 13 10:52:05 CEST 2024


On 5/3/24 16:29, Gabriel Goller wrote:
> Add a function to create a default datastore. This datastore will have a
> default prune-job with a daily schedule and a gc-job with a daily
> schedule as well.
> 

Tested this and found that while the default prune and 
garbage-collection jobs are created when creating the datastore via the 
WebUI or as part of a disk create transaction, this is not true if done 
via the CLI or API for the datastore create itself, by e.g. 
`proxmox-backup-manager datastore create <name> <path>`.
Also, this default behavior should be documented.

So similar to what Fabian already commented to patches from my side:
https://lists.proxmox.com/pipermail/pbs-devel/2023-November/007361.html





More information about the pbs-devel mailing list