[pbs-devel] [PATCH proxmox/proxmox-backup 0/7] trigger sync jobs on mount

Hannes Laimer h.laimer at proxmox.com
Thu Jan 16 07:45:36 CET 2025


Sync jobs now have a run-on-mount flag, that, if set, runs the job whenever
a relevant removable datastore is mounted. 


* 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