]> git.treefish.org Git - backmeupscotty.git/blob - backmeupscotty-example
Fix fake super
[backmeupscotty.git] / backmeupscotty-example
1 #!/bin/bash
2
3 . ./backmeupscotty
4
5 REMOTE_USER=root
6 REMOTE_HOST=localhost
7 REMOTE_DIR=/tmp/scotty/dest
8 ARCHIVE_KEEPNBACKUPS=10
9 ARCHIVE_KEEPNDAYS=0
10 BACKUP_RUNEVERYNTHDAY=1
11 SYNC_SRC="/tmp/scotty/src"
12 SYNC_EXC="/gack,/gugu/*"
13 BWLIMIT=600KiB
14 FAKE_SUPER=0
15
16 function prepare {
17     echo "prepare"
18     sleep 5
19 }
20
21 function cleanup {
22     [ -z "$1" ] && echo "normal cleanup" || echo "abort cleanup"
23 }
24
25 backmeupscotty $@