2017-08-26 10:45:43 +02:00
|
|
|
# supply all the paths the script needs to run
|
|
|
|
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
|
|
SHELL=/bin/bash
|
|
|
|
|
2017-08-24 23:27:49 +02:00
|
|
|
# backup mail, once every 2 hours
|
2017-08-26 09:55:32 +02:00
|
|
|
30 */2 * * * /root/backup/backupscript.sh -q -k 20 mail
|
2017-08-24 23:27:49 +02:00
|
|
|
# backup userdirs
|
2017-08-26 09:55:32 +02:00
|
|
|
0 5 * * tue /root/backup/backupscript.sh -q -k 3 nfs
|
2017-08-24 23:27:49 +02:00
|
|
|
# backup everything else, every morning at 3AM
|
2017-08-26 09:55:32 +02:00
|
|
|
0 3 * * * /root/backup/backupscript.sh -q -k 7 -x mail -x nfs .
|
2017-08-24 23:27:49 +02:00
|
|
|
# clean up once a day at 12:10 (takes several hours)
|
2017-08-26 09:55:32 +02:00
|
|
|
10 12 * * * /root/backup/prune.sh -q
|