]> git.treefish.org Git - backmeupscotty.git/blobdiff - backmeupscotty-example
Add functionality to list existing backups
[backmeupscotty.git] / backmeupscotty-example
index 8ac210036e4f5e44383ec5ddfb1b885e5e579872..15b05b561ade336fc39e8ce9dc3db936c555712b 100755 (executable)
@@ -3,9 +3,21 @@
 . ./backmeupscotty
 
 REMOTE_HOST=localhost
 . ./backmeupscotty
 
 REMOTE_HOST=localhost
-REMOTE_BASE=/home/alex/backtest
-ARCHIVE_KEEPNBACKUPS=30
-ARCHIVE_KEEPNDAYS=1
+REMOTE_DIR=/tmp/scotty/dest
+ARCHIVE_KEEPNBACKUPS=10
+ARCHIVE_KEEPNDAYS=0
+BACKUP_RUNEVERYNTHDAY=1
+SYNC_SRC="/tmp/scotty/src"
+SYNC_EXC="/gack,/gugu/*"
+BWLIMIT=600KiB
 
 
-scottysync /home/alex/backtest/source dest "abab"
-scottysync /home/alex/backtest/source2 dest2 "abab"
+function prepare {
+    echo "prepare"
+    sleep 5
+}
+
+function cleanup {
+    [ -z "$1" ] && echo "normal cleanup" || echo "abort cleanup"
+}
+
+backmeupscotty $@