Hello guys,
I’ve installed Duplicati on some Windows devices.
I’d like to shutdown the computers some minutes after the backup is completed.
How can I do that?
Thanks in advance.
Hello guys,
I’ve installed Duplicati on some Windows devices.
I’d like to shutdown the computers some minutes after the backup is completed.
How can I do that?
Thanks in advance.
You can have Duplicati run a script after a job completes, see this part of the manual.
The script will probably need to be a powershell script that has sufficient rights to shutdown the devices. Details on the Windows shutdown command here.
You might find that shutdown happens on operatons where you don’t want it. If so, you can add
if not %DUPLICATI__OPERATIONNAME% == Backup goto leave
(using syntax for a .bat file)
(also in you Duplicati folder) shows some more advanced capabilities possible if you need them.