aboutsummaryrefslogtreecommitdiff
path: root/content/blog
diff options
context:
space:
mode:
authorJulien Dessaux2024-10-09 09:56:24 +0200
committerJulien Dessaux2024-10-09 09:56:24 +0200
commiteeb06cb2a3893b99f6c40c59aa832301b5a8778a (patch)
tree97c88bf8b75cd1e9ead2961ea0ce26ecd2944e4c /content/blog
parentadd borg ansible role continued blog article (diff)
downloadwww-eeb06cb2a3893b99f6c40c59aa832301b5a8778a.tar.gz
www-eeb06cb2a3893b99f6c40c59aa832301b5a8778a.tar.bz2
www-eeb06cb2a3893b99f6c40c59aa832301b5a8778a.zip
delay borg jobs from a fixed random amount to spread out the backup load
Diffstat (limited to 'content/blog')
-rw-r--r--content/blog/ansible/borg-ansible-role-2.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/blog/ansible/borg-ansible-role-2.md b/content/blog/ansible/borg-ansible-role-2.md
index cf7e90c..d76d724 100644
--- a/content/blog/ansible/borg-ansible-role-2.md
+++ b/content/blog/ansible/borg-ansible-role-2.md
@@ -269,8 +269,10 @@ Finally the `jobs.timer` systemd timer file contains:
Description=BorgBackup job {{ client.name }} timer
[Timer]
+FixedRandomDelay=true
OnCalendar=daily
Persistent=false
+RandomizedDelaySec=3600
[Install]
WantedBy=timers.target