all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* Question regarding sync jobs
@ 2026-03-23 10:50 Fabrizio Cuseo
  2026-03-24  6:42 ` Hannes Laimer
  0 siblings, 1 reply; 3+ messages in thread
From: Fabrizio Cuseo @ 2026-03-23 10:50 UTC (permalink / raw)
  To: pve-user

Hello.
I have searched with no results, so I ask if is possibile:

- several PBS servers with backups for different PVE clusters
- remote PBS server that handles USB drives for remote ad offline backup sync
- several sync jobs for each USB drive repository; this is needed because a single USB drive contains different remote PBS sources.

If I flag "execute on mount", and "unmount after synced" on a single script, no problems. But If have more than one sync job, I would like to have a sequence, so:
- first job, "executed on mount"
- second job, "executed after first"
- third job, "executed after second" - "unmount at end".

Is this possible or scheduled for a next release ? 

Thanks, Fabrizio



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Question regarding sync jobs
  2026-03-23 10:50 Question regarding sync jobs Fabrizio Cuseo
@ 2026-03-24  6:42 ` Hannes Laimer
  2026-03-25 10:27   ` Fabrizio Cuseo
  0 siblings, 1 reply; 3+ messages in thread
From: Hannes Laimer @ 2026-03-24  6:42 UTC (permalink / raw)
  To: Fabrizio Cuseo, pve-user

Hey Fabrizio,

On 2026-03-23 12:00, Fabrizio Cuseo wrote:
> Hello.
> I have searched with no results, so I ask if is possibile:
> 
> - several PBS servers with backups for different PVE clusters
> - remote PBS server that handles USB drives for remote ad offline backup sync
> - several sync jobs for each USB drive repository; this is needed because a single USB drive contains different remote PBS sources.
> 
> If I flag "execute on mount", and "unmount after synced" on a single script, no problems. But If have more than one sync job, I would like to have a sequence, so:
> - first job, "executed on mount"
> - second job, "executed after first"
> - third job, "executed after second" - "unmount at end".
> 
> Is this possible or scheduled for a next release ? 

this is what should be happening, if you have multiple jobs marked with
"run on mount" they should run sequentially(ordered by job-id)[1], and
if any of the jobs has "unmount after" set the datastore will be
unmounted after the last one finishes.

If this is not happening, it's a bug :)

> 
> Thanks, Fabrizio
> 
> 
> 

~ Hannes

[1]
https://git.proxmox.com/?p=proxmox-backup.git;a=blob;f=src/api2/admin/datastore.rs;h=cca34055353273585327dcd38a2b5e5648ceb811;hb=refs/heads/master#l2535






^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Question regarding sync jobs
  2026-03-24  6:42 ` Hannes Laimer
@ 2026-03-25 10:27   ` Fabrizio Cuseo
  0 siblings, 0 replies; 3+ messages in thread
From: Fabrizio Cuseo @ 2026-03-25 10:27 UTC (permalink / raw)
  To: Hannes Laimer; +Cc: pve-user

Yes, is working :) 
Thank you very much.

----- Il 24-mar-26, alle 7:42, Hannes Laimer h.laimer@proxmox.com ha scritto:

> Hey Fabrizio,
> 
> On 2026-03-23 12:00, Fabrizio Cuseo wrote:
>> Hello.
>> I have searched with no results, so I ask if is possibile:
>> 
>> - several PBS servers with backups for different PVE clusters
>> - remote PBS server that handles USB drives for remote ad offline backup sync
>> - several sync jobs for each USB drive repository; this is needed because a
>> single USB drive contains different remote PBS sources.
>> 
>> If I flag "execute on mount", and "unmount after synced" on a single script, no
>> problems. But If have more than one sync job, I would like to have a sequence,
>> so:
>> - first job, "executed on mount"
>> - second job, "executed after first"
>> - third job, "executed after second" - "unmount at end".
>> 
>> Is this possible or scheduled for a next release ?
> 
> this is what should be happening, if you have multiple jobs marked with
> "run on mount" they should run sequentially(ordered by job-id)[1], and
> if any of the jobs has "unmount after" set the datastore will be
> unmounted after the last one finishes.
> 
> If this is not happening, it's a bug :)
> 
>> 
>> Thanks, Fabrizio
>> 
>> 
>> 
> 
> ~ Hannes
> 
> [1]
> https://git.proxmox.com/?p=proxmox-backup.git;a=blob;f=src/api2/admin/datastore.rs;h=cca34055353273585327dcd38a2b5e5648ceb811;hb=refs/heads/master#l2535



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-03-25 10:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-23 10:50 Question regarding sync jobs Fabrizio Cuseo
2026-03-24  6:42 ` Hannes Laimer
2026-03-25 10:27   ` Fabrizio Cuseo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal