Preventing Sleep Mode During Duplicati Backups

Hi,
I am planning to use Duplicati on a PC that is also used for TV recording. I want to set the PC to sleep mode when no recording is currently in progress or scheduled for the next few minutes. For this, I am using a batch script.

Is there any way to check if a Duplicati backup is currently running, so I can prevent the PC from entering sleep mode during that time?

Thomas

Welcome to the forum @tms

If on 2.0.8.1 or newer, maybe third-party tool duplicati-client.
If on 2.1 and willing to run Canary test build or a future Beta:
ServerUtil - How to show running backups

There is also an indirect way that might work. The job database is open during backup.
Sysinternals Handle (or similar) could likely report that to you.

I don’t think this should cause a problem, but I haven’t tried it recently.

serverutil status sounds great. Can you estimate when this command will be part of a beta version?

There is already a Duplicati.CommandLine.ServerUtil.exe in beta 2.1.0.2?

But status was added four days ago. Can 2.1.0.2 ServerUtil do what is wanted here?

My bad, I misread the post. Yes, you need the status command to get the server status, so you need 2.1.0.106 or later.

1 Like