Feature request / Help Request | Shutdown after sync/backup job completes

AngryAdm

Member
Sep 5, 2020
145
30
18
94
Hi, is there a way to have PBS shut down after a remote sync is complete?

I would like the server to shut down and auto start up (by BIOS) to pull the sync down, then shut down again.
I see no reason to have the 2nd off-site server powered on more time than required due to security concerns.

If not possible, it would be a nice addition to backup jobs / sync jobs to have such a tickbox:
[X] Shutdown server when job is completed.
 
not builtin no, you could probably script something though with cron/systemd timers (e.g. check if there is a running sync task and if not, shutdown )

the checkbox probably does not make sense for most people, but some hookscript functionality i could imagine (like vzdump on pve for example)