Just some ideas on reducing verbosity while maintaining readability and functionality
[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 imagedir="/backup/imgs"
7 currentfiles="$tmpdir/files.db"
8 backupdb="$datadir/backups.db"
9 backups="$tmpdir/backup-list.db"
10 statusfile="$imagedir/backup-status.txt"
11 lastbackupfile="$imagedir/lastbackup"
12 dev="/dev/dvdrw"
13 sdev="ATA:1,0,0"
14 noburnfile="$imagedir/noburn"
15
16 backupdirs="
17 /etc
18 /home
19 /var/backups
20 /var/lib/debfoster
21 /var/lib/dpkg
22 /var/lib/ip6tables
23 /var/lib/iptables
24 /var/lib/mailman
25 "
26
27 excludedirs="
28 "
29
30 function err() {
31   echo 2>&1 "-E- $1"
32   exit 1
33 }