On this page

7.5 Power, Wake-on-LAN and catch-up

The PDC-Backup server may run on an ordinary PC that sleeps or is turned off at night, and the machines being backed up are not always on either. Schedules and plans account for this on three levels: the server keeps itself awake and wakes itself for the next job, missed appointments are caught up once, and sleeping agents can be woken with Wake-on-LAN.

Server PC: staying awake and waking up

Power management of the server exists only on Windows. On other operating systems, Settings shows the note "not managed on this OS (Windows only)" next to Power in the Server section.

Staying awake

While runs are active or queued, the server prevents Windows from going to sleep. As soon as no runs are active or waiting, it releases the request again. Power shows the current state ("keeping the PC awake for active runs") and below it the line "keep awake during runs: on · wake timers: off".

Waking up for the next job

With the wake timer, the PC wakes itself from sleep.

Option

Effect

Default

Wake this PC for scheduled jobs (Settings, Server section, admins only)

The server sets a wake timer shortly before the next scheduled run of any enabled job. This includes jobs with rules and jobs from plans. The display shows the scheduled time ("armed for …") or "on, none armed"

off

wake_timers in the [power] section of server.toml

the same setting as a configuration value. The switch in the interface overrides it as soon as it has been set once

false

wake_lead_minutes in the [power] section

lead time: the timer fires this many minutes before the run

2

keep_awake in the [power] section

turns staying awake during runs on or off

true

Requirements and limits:

  • In the Windows power options, "Allow wake timers" must be turned on.

  • The timer wakes the PC from sleep (standby), not from hibernation, and not when the PC is turned off.

  • The appointments of jobs are taken into account. The server's daily configuration backup does not trigger a wake timer.

The server.toml values are listed in chapter 13 Configuration Reference.

Settings: Server section with the Power row
Settings: in the Server section, the Power row shows the state of staying awake and the wake timer

Catching up missed runs

If the server was not running at the appointment, that is, the PC was off or asleep, the server makes up the run as soon as it is working again. The option Catch up missed runs after server downtime in the job's schedule controls this (see section 7.1 Schedule kinds). It is on by default.

How catching up works:

  1. The scheduler checks every 15 seconds which jobs are due. An appointment counts as missed if it is more than 5 minutes in the past. Smaller delays, for example because the server was busy, do not count as an outage.

  2. With the option turned on, one run per job is created, no matter how many appointments were missed. Its trigger is "catch_up" instead of "schedule", and its log states the number of missed appointments since the first one (for example "3 occurrence(s) since 2026-11-14 02:00 were missed … one run replaces them").

  3. The run gets the strongest type of all missed appointments (for the precedence see section 7.3 Schedule rules). A missed Full backup is therefore not lost.

  4. A missed Synthetic full becomes "backup, then synthetic full", because the machine has not been read since the outage.

  5. A periodic full from the job editor (see section 7.2 Backup types) that was due on one of the missed days also runs once.

  6. Afterwards the server calculates the next regular appointment from now. Missed appointments do not run in series.

Without the checkmark at Catch up missed runs after server downtime, missed appointments are skipped and the job runs again only at the next regular appointment.

No duplicate runs

If a run of the same job is still waiting (in the queue or for its agent because the machine is off), no second run is added for further due appointments. If a stronger type becomes due in the meantime, the waiting run takes over that type. The log then says: "another run was due while this one waited: now …". The same applies to blackout windows (see section 7.4 Blackout windows).

For workloads without backup types (databases, Docker, Proxmox) there is no type precedence; missed appointments are still combined into one run.

Waking the machines being backed up (Wake-on-LAN)

If a machine is turned off or asleep at the appointment, the run waits for the agent (see chapter 05 Agents). With Wake-on-LAN (WoL), the server then sends the machine a magic packet, and the run starts as soon as the agent reports in.

Settings per agent

The options are under Agents, in the agent itself on the Settings tab, in the Wake-on-LAN section. Admins and operators can change them (not the read-only role); Save settings applies them.

Option

Effect

Default

Wake the machine when a run waits for it

turns WoL on for this agent

off

MAC

MAC address of the network card, format aa:bb:cc:dd:ee:ff. An invalid format is rejected with "The MAC address must look like aa:bb:cc:dd:ee:ff." The selection list offers the interfaces reported by the agent

empty: the server takes the first reported interface, preferring one with an IPv4 address

Send to

Destination of the magic packet as an address with port, for example 192.168.1.255:9. For machines in another subnet, enter that subnet's broadcast address here

empty: 255.255.255.255:9 plus the /24 broadcast of the agent's last known private IPv4 address

Effective:

shows the MAC address the server actually uses, or "unknown (no interface report)"

display only

Wake now

sends a magic packet immediately. Selectable only if the agent is offline and a MAC address is known

button

In addition, the Power and load section has the option Sleep after scheduled jobs (if nobody is logged in). It is off by default. When on, the agent puts the machine back to sleep after a scheduled backup, but only if no other job is running and nobody is logged in at the machine. The agent cannot tell whether someone is working through a remote tool without a session.

The settings RPO and Low CPU and I/O priority for jobs are in the same form; for the RPO see section 7.8 RPO and RTO.

Settings of an agent
Settings of an agent: RPO, Wake-on-LAN, power and load

What happens when waking

  1. A run waits for an offline agent. If WoL is enabled for this agent, the server sends a magic packet once per run (UDP, 6 times 0xFF followed by 16 times the MAC address) to each target: only to Send to if it is set, otherwise to the default address and to the /24 broadcast of the agent's last known private IPv4 address.

  2. The run log notes which address the packet went to ("Wake-on-LAN: magic packet for … sent to …; waiting for the agent"). If no MAC address is known, a warning appears there.

  3. The run starts as soon as the agent connects, like every waiting run.

  4. If the agent does not report within wait_minutes (default 10), the server writes a warning to the log. The run keeps waiting regardless.

The defaults are in the [wol] section of server.toml:

Key

Effect

Default

broadcast

Default destination of the magic packets if no Send to is set on the agent (limited broadcast, port 9)

"255.255.255.255:9"

wait_minutes

Minutes after the packet until a missing wake-up is reported in the log

10

Through the REST interface, POST /api/v1/agents/<id>/wake sends a magic packet immediately, and PUT /api/v1/agents/<id>/settings sets the fields wol_enabled, wol_mac, and wol_target.

Limits of Wake-on-LAN

  • WoL must be enabled in the BIOS/UEFI and in the network card driver.

  • It works from sleep (S3) and, depending on the hardware, from hibernation or "soft off".

  • Magic packets do not cross routers unless directed broadcasts are forwarded. For machines in other subnets, enter the subnet's broadcast address under Send to.

  • Wi-Fi adapters rarely support WoL.

Putting it together: a typical home network setup

Machine

Setting

Result

Server PC

Wake this PC for scheduled jobs on, "Allow wake timers" in Windows

The PC wakes 2 minutes before the first job and stays awake during runs

Laptop or workstation

Wake the machine when a run waits for it on, WoL on in BIOS and driver

The server wakes the machine when its backup is due

Workstation

Sleep after scheduled jobs (if nobody is logged in) on

The machine goes back to sleep after the backup

All jobs

Catch up missed runs after server downtime on (default)

What fails anyway is made up once

Last updated Nov 16, 2026