Create cron.sh for running from cron also create config.sh
[backups/.git] / scripts / config.sh
1 #!/bin/echo This file should be sourced .
2
3 mailto='carl@ecbaldwin.net'
4 datadir="/var/lib/backups"
5 tmpdir="/dev/shm/backups"
6 currentfiles="$tmpdir/files.db"
7 backupdb="$datadir/backups.db"
8 backups="$tmpdir/backup-list.db"
9 statusfile="$tmpdir/backup-status.txt"
10 imagedir="/backup/imgs"
11 lastbackupfile="$imagedir/lastbackup"
12 dev="/dev/hdc"
13 sdev="ATA:1,0,0"
14
15 backupdirs="
16 /etc
17 /home
18 /var/backups
19 /var/lib/debfoster
20 /var/lib/dpkg
21 /var/lib/ip6tables
22 /var/lib/iptables
23 /var/lib/mailman
24 "