[pbs-devel] [PATCH v1 proxmox-backup 00/14] add job based verify scheduling
Hannes Laimer
h.laimer at proxmox.com
Fri Sep 25 10:43:16 CEST 2020
Replaces the first implementation of scheduled verification with a new
job-based version with additional options that may be specified through
the web ui.
Options available for verification jobs:
* schedule when to run the job
* set datastore on which the job should run
* set a number of days after which a verification becomes "outdated"
empty => verifications are valid forever
* specify if already successfuly verified snapshots should be verified
again even if they're not outdated(failed ones will always be done)
Hannes Laimer (14):
add two new schemas for verify jobs
add verify job config
api2: add verify job config endpoint
add do_verification_job function to verify.rs
api2: add verify job admin endpoint
add scheduling for verify jobs
set a diffrent worker_type based on what is going to be
verified(snapshot,group,ds)
ui: add verify job view
ui: add verify job edit window
ui: add task descriptions for the different types of
verify(job,snapshot,group,ds)
remove verify_schedule field from DatastoreConfig
remove verify_schedule field from datastore config endpoint
remove verify-schedule field from DataStoreEdit and DataStoreConfig
remove old verification scheduling from proxmox-backup-proxy.rs
src/api2/admin.rs | 4 +-
src/api2/admin/datastore.rs | 5 +-
src/api2/admin/verify.rs | 107 +++++++++++++
src/api2/config.rs | 2 +
src/api2/config/datastore.rs | 13 --
src/api2/config/verify.rs | 272 +++++++++++++++++++++++++++++++
src/api2/types/mod.rs | 10 ++
src/backup/verify.rs | 91 ++++++++++-
src/bin/proxmox-backup-proxy.rs | 103 +++++-------
src/config.rs | 1 +
src/config/datastore.rs | 6 -
src/config/verify.rs | 186 ++++++++++++++++++++++
www/Makefile | 2 +
www/NavigationTree.js | 6 +
www/Utils.js | 7 +-
www/config/DataStoreConfig.js | 5 +-
www/config/VerifyView.js | 273 ++++++++++++++++++++++++++++++++
www/window/DataStoreEdit.js | 9 --
www/window/VerifyJobEdit.js | 89 +++++++++++
19 files changed, 1089 insertions(+), 102 deletions(-)
create mode 100644 src/api2/admin/verify.rs
create mode 100644 src/api2/config/verify.rs
create mode 100644 src/config/verify.rs
create mode 100644 www/config/VerifyView.js
create mode 100644 www/window/VerifyJobEdit.js
--
2.20.1
More information about the pbs-devel
mailing list