[pbs-devel] [PATCH proxmox-backup v2] reuse-datastore: avoid creating another default prune job

Christian Ebner c.ebner at proxmox.com
Mon Nov 25 11:10:36 CET 2024


On 11/25/24 09:59, Gabriel Goller wrote:
> If a datastore with a default prune job is removed, the prune job is
> preserverd as it is stored in /etc/proxmox-backup/prune.cfg. We also
> create a default prune job for every datastore – this means that when
> reusing a datastore that previously existed, you end up with duplicate
> prune jobs.

Looking at this once more, I am not so sure anymore that this should 
only check for the default prune job? Why not check if there is any 
prune job configured at all for this datastore, and only if there is 
none create the new default prune job?




More information about the pbs-devel mailing list