[pbs-devel] superseded: [PATCH proxmox{, -backup} v4 0/8] trigger sync jobs on mount
Hannes Laimer
h.laimer at proxmox.com
Mon Jul 21 16:38:19 CEST 2025
superseded-by v5:
https://lore.proxmox.com/pbs-devel/20250721113314.59342-1-h.laimer@proxmox.com/T/#t
On 16.07.25 16:52, Hannes Laimer wrote:
> Sync jobs now have a run-on-mount flag, that, if set, runs the job whenever
> a relevant removable datastore is mounted.
>
> changes since v3, thanks @Chris:
> - wrap potentially blocking call to mount function in .spawn_blocking(||
> ...)
> - ui: improve task title, delete `run-on-mount` flag iff `false`
> - docs: add section about `run-on-mount` flag
> - some minor things(typos, move stuff out of loop)
> - rebased onto master
> - ui: fixed formatting with `proxmox-biome`
>
>
> proxmox:
>
> Hannes Laimer (1):
> pbs-api-types: add run-on-mount flag to SyncJobConfig
>
> pbs-api-types/src/jobs.rs | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
>
> proxmox-backup:
>
> Hannes Laimer (7):
> api: config: sync: update run-on-mount correctly
> 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
> docs: add section about `run-on-mount` sync job flag
>
> docs/managing-remotes.rst | 5 +
> src/api2/admin/datastore.rs | 122 ++++++++++++++++++--
> src/api2/config/sync.rs | 9 ++
> src/bin/proxmox_backup_manager/datastore.rs | 41 +++++--
> www/Utils.js | 1 +
> www/window/SyncJobEdit.js | 16 ++-
> 6 files changed, 175 insertions(+), 19 deletions(-)
>
>
> Summary over all repositories:
> 7 files changed, 183 insertions(+), 19 deletions(-)
>
More information about the pbs-devel
mailing list