Added script to run on server for nightly MongoDB backups

Forced to use IPv4 due to IPv6 connectivity issues with Swami.
This commit is contained in:
2018-02-06 11:00:40 +01:00
parent 6b56df9e9c
commit 2141aed06c
3 changed files with 33 additions and 1 deletions

5
docker/mongo-backup.cron Normal file
View File

@@ -0,0 +1,5 @@
# Change to suit your needs, then place in /etc/cron.d/mongo-backup
# (so remove the .cron from the name)
MAILTO=yourname@youraddress.org
30 5 * * * root /root/docker/mongo-backup.sh