services.borgmatic.enable
Whether to run scheduled borgmatic backups as a user service. Set the schedule with .
On Linux, this creates a systemd user service and timer. The service only runs on AC power and waits three minutes before starting borgmatic. It runs with reduced CPU and I/O priority and inhibits sleep and shutdown while the backup runs. The persistent timer catches up on missed runs and adds a randomized delay of up to ten minutes.
On Darwin, this creates a LaunchAgent with the configured schedule. The Linux power check, startup delay, scheduling priorities, sleep inhibition, randomized delay, and timer catch-up behavior are not configured for it.
Type: boolean
Default:
false
Example:
true
Declared by:
services.borgmatic.frequency
How often to run borgmatic when
services.borgmatic.enable = true.
This value is passed to the systemd timer configuration as
the onCalendar option. See
systemd.time(7)
for more information about the format.
On Darwin, it must be one of: hourly, daily, weekly, monthly, semiannually, annually, which are implemented as defined in systemd.time(7).
Type: string
Default:
"hourly"
Declared by: