fix rsnapshot cron

This commit is contained in:
2025-04-13 09:45:54 +02:00
parent b197fb987b
commit b05dc6b57e
2 changed files with 12 additions and 0 deletions

View File

@@ -3,6 +3,8 @@ services:
container_name: rsnapshot
image: linuxserver/rsnapshot:1.4.5
restart: unless-stopped
environment:
- TZ=Europe/Amsterdam
volumes:
- /opt/rsnapshot:/config
- /mnt/yotta/xenon/rsnapshot:/host/scratch

10
rsnapshot/crontabs/root Normal file
View File

@@ -0,0 +1,10 @@
0 3 * * * rsnapshot -c /config/os.conf daily
0 4 * * 0 rsnapshot -c /config/os.conf weekly
0 5 30 * * rsnapshot -c /config/os.conf monthly
0 3 * * * rsnapshot -c /config/docker.conf daily
0 4 * * 0 rsnapshot -c /config/docker.conf weekly
0 5 30 * * rsnapshot -c /config/docker.conf monthly
0 3 * * * rsnapshot -c /config/users.conf daily
0 4 * * 0 rsnapshot -c /config/users.conf weekly
0 5 30 * * rsnapshot -c /config/users.conf monthly
* * * * * date > /host/scratch/date