[pbs-devel] [PATCH proxmox-backup 0/7] trigger sync jobs on mount
Hannes Laimer
h.laimer at proxmox.com
Wed Dec 11 11:40:43 CET 2024
Sync jobs now have a run-on-mount flag, that, if set, runs the job whenever
a relevant removable datastore is mounted. More details on when a job is
triggered in the commit message of patch #3
proxmox-rest-server has to be bumped since patch #3
relies on the new function added in patch #1
* proxmox
Hannes Laimer (1):
rest-server: add function that returns a join handle for spawn
proxmox-rest-server/src/worker_task.rs | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
* proxmox-backup
Hannes Laimer (6):
api types: add run-on-mount flag to SyncJobConfig
api: admin: run configured sync jobs when a datastore is mounted
api: admin: trigger sync jobs only on datastore mount
bin: manager: run uuid_mount/mount tasks on the proxy
ui: add run-on-mount checkbox to SyncJob form
ui: add task title for triggering sync jobs
pbs-api-types/src/jobs.rs | 3 +
src/api2/admin/datastore.rs | 96 +++++++++++++++++++--
src/api2/admin/sync.rs | 2 +-
src/bin/proxmox_backup_manager/datastore.rs | 42 +++++----
src/server/sync.rs | 7 +-
www/Utils.js | 1 +
www/window/SyncJobEdit.js | 23 ++++-
7 files changed, 147 insertions(+), 27 deletions(-)
--
2.39.5
More information about the pbs-devel
mailing list