Browse Source

Update the sample systemd timer with a shorter random delay when catching up on a missed run.

Dan Helfman 3 days ago
parent
commit
5029ab1ffd
2 changed files with 2 additions and 1 deletions
  1. 1 0
      NEWS
  2. 1 1
      sample/systemd/borgmatic.timer

+ 1 - 0
NEWS

@@ -1,6 +1,7 @@
 2.0.13.dev0
 2.0.13.dev0
  * #1194: Fix for an incorrect diff command shown when running the "generate config" action with a
  * #1194: Fix for an incorrect diff command shown when running the "generate config" action with a
    source configuration file. 
    source configuration file. 
+ * Update the sample systemd timer with a shorter random delay when catching up on a missed run.
 
 
 2.0.12
 2.0.12
  * #1127: Fix for the database hooks not respecting the "working_directory" option.
  * #1127: Fix for the database hooks not respecting the "working_directory" option.

+ 1 - 1
sample/systemd/borgmatic.timer

@@ -4,7 +4,7 @@ Description=Run borgmatic backup
 [Timer]
 [Timer]
 OnCalendar=daily
 OnCalendar=daily
 Persistent=true
 Persistent=true
-RandomizedDelaySec=3h
+RandomizedDelaySec=10m
 
 
 [Install]
 [Install]
 WantedBy=timers.target
 WantedBy=timers.target