Update cron nuc-server
This commit is contained in:
parent
e64c5f6c19
commit
fd8bf7013b
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
||||||
"0 9 * * * root rsync -avr /Local-Storage/Data/Docker/ifargle.com/vpn-stack/ /Storage/Data/Docker/ifargle.com/vpn-stack/"
|
"0 9 * * * root rsync -avr /Local-Storage/Data/Docker/ifargle.com/vpn-stack/ /Storage/Data/Docker/ifargle.com/vpn-stack/"
|
||||||
"0 8 * * * root rsync -avr /Local-Storage/Data/Docker/ifargle.com/dsm-kmip/ /Storage/Data/Docker/ifargle.com/dsm-kmip/"
|
"0 8 * * * root rsync -avr /Local-Storage/Data/Docker/ifargle.com/dsm-kmip/ /Storage/Data/Docker/ifargle.com/dsm-kmip/"
|
||||||
"0 7 * * * root rsync -avr /Local-Storage/Data/Docker/ifargle.com/dsm-kmip-backup/ /Storage/Data/Docker/ifargle.com/dsm-kmip-backup/"
|
"0 7 * * * root rsync -avr /Local-Storage/Data/Docker/ifargle.com/dsm-kmip-backup/ /Storage/Data/Docker/ifargle.com/dsm-kmip-backup/"
|
||||||
|
"* * * * * root rsync -avr /Storage/Data/docker-compose/ /Local-Storage/Data/docker-compose/"
|
||||||
# Back up running containers weekly
|
# Back up running containers weekly
|
||||||
"0 0 * * * root rm -rf /Storage/Backups/Docker/ifargle.com/*; for i in $(docker ps --format '{{.Names}}'); do docker export $i | gzip -cf | cat > /Storage/Backups/Docker/ifargle.com/$i.tar.gz; done"
|
"0 0 * * * root rm -rf /Storage/Backups/Docker/ifargle.com/*; for i in $(docker ps --format '{{.Names}}'); do docker export $i | gzip -cf | cat > /Storage/Backups/Docker/ifargle.com/$i.tar.gz; done"
|
||||||
# Restart the VPN stack
|
# Restart the VPN stack
|
||||||
|
|
Loading…
Reference in a new issue