[pbs-devel] [PATCH v2 proxmox-backup 0/6] add scheduled verification of datastore

Dominik Csapak d.csapak at proxmox.com
Fri Sep 18 12:10:39 CEST 2020


like we talked off-list

verification schedules are wanted, but
we probably want to have them more like we have sync-jobs
independent of datastores

(so we can have multiple verification schedules per datastore,
which will be important once we have parameters such as
'verify only unverified snapshots')

also please use the 'Job' helper for keeping track of the state
since that is cheaper than searching for the last time in the
task list

On 9/18/20 11:00 AM, Hannes Laimer wrote:
> Adds support for scheduling the verification of datastores the same way
> GC or Prune is scheduled.
> 
> v2:  - add patch to make verify-schedule deletable
> 
> Hannes Laimer (6):
>    api2: add VERIFY_SCHEDULE_SCHEMA
>    add verify_schedule field to DataStoreConfig
>    api2: add optional verify-schdule field to create/update datastore
>      endpoint
>    api2: make verify_schedule deletable
>    ui: add verify-schedule field to edit datastore form
>    add verification scheduling to proxmox-backup-proxy
> 
>   src/api2/config/datastore.rs    |  10 +++
>   src/api2/types/mod.rs           |   5 ++
>   src/bin/proxmox-backup-proxy.rs | 104 +++++++++++++++++++++++++++++++-
>   src/config/datastore.rs         |   9 ++
>   www/config/DataStoreConfig.js   |   5 +-
>   www/window/DataStoreEdit.js     |   9 +++
>   6 files changed, 139 insertions(+), 3 deletions(-)
> 






More information about the pbs-devel mailing list