parent
d5d4a158c5
commit
0397da0a40
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
# Back up the docker containers weekly:
|
||||
''@weekly root ssh nuc-docker01 "rm -rf /Storage/Backups/Docker/sysctl.io/*"; for i in $(docker ps --format '{{.Names}}'); do docker export $i | gzip -cf | ssh root@nuc-docker01 "cat > /Storage/Backups/Docker/sysctl.io/$i.tar.gz"; done''
|
||||
# Set a random Pi-Hole password
|
||||
''* * * * * /usr/bin/docker exec pihole sudo pihole -a -p $(openssl rand -hex 128)''
|
||||
''* * * * * root docker exec pihole sudo pihole -a -p $(openssl rand -hex 128)''
|
||||
# Run the ClamAV scan
|
||||
''@monthly root /Storage/Data/docker-compose/sysctl.io/scripts/clamscan-cron.sh''
|
||||
# Back up Loki logs monthly
|
||||
|
|
Loading…
Reference in a new issue