aboutsummaryrefslogtreecommitdiffstats
path: root/roles/host/templates
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-05-28 18:20:28 +0300
committerJan Tuomi <jan@jantuomi.fi>2026-05-28 18:21:44 +0300
commit224ef25da57b0957f190ca2e2e3bd0045792cdb8 (patch)
treefd139e250968bc8b88bc7e3052d93fac378ea374 /roles/host/templates
parentda2d3f0fe3eedc6a8949d8b041fedaa8d28e492c (diff)
Update backup logic
Diffstat (limited to 'roles/host/templates')
-rw-r--r--roles/host/templates/etc_crontab.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/host/templates/etc_crontab.j2 b/roles/host/templates/etc_crontab.j2
index 5cd0d86..33276ab 100644
--- a/roles/host/templates/etc_crontab.j2
+++ b/roles/host/templates/etc_crontab.j2
@@ -23,8 +23,8 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
# Take snapshots every day at 3:05 AM
5 3 * * * root /usr/local/bin/backup snapshot prune-local >>/var/log/backup 2>&1
-# Send backup snapshots to remote every third day at 4:05 AM
-5 4 */3 * * root /usr/local/bin/backup send-to-remote prune-remote notify >>/var/log/backup 2>&1
+# Send backup snapshots to remote every Monday at 4:05 AM
+5 4 * * 1 root /usr/local/bin/backup send-to-remote prune-remote notify >>/var/log/backup 2>&1
# Run pylogsentinel
*/10 * * * * root python -m pylogsentinel