X-Git-Url: https://git.treefish.org/~alex/backmeupscotty.git/blobdiff_plain/1aa0158b6b4d4aaca7f413d76aec814a206a212b..0984727e5376cebd26b5ff6e9469cfc63d0c756d:/backmeupscotty-example?ds=inline diff --git a/backmeupscotty-example b/backmeupscotty-example index b9acea7..d7a1d07 100755 --- a/backmeupscotty-example +++ b/backmeupscotty-example @@ -3,11 +3,20 @@ . ./backmeupscotty REMOTE_HOST=localhost -REMOTE_DIR=/home/regina/backtest/dest +REMOTE_DIR=/tmp/scotty/dest ARCHIVE_KEEPNBACKUPS=10 ARCHIVE_KEEPNDAYS=0 BACKUP_RUNEVERYNTHDAY=1 -SYNC_SRC="/home/regina/backtest/source" +SYNC_SRC="/tmp/scotty/src" SYNC_EXC="/gack,/gugu/*" -backmeupscotty +function prepare { + echo "prepare" + sleep 5 +} + +function cleanup { + [ -z "$1" ] && echo "normal cleanup" || echo "abort cleanup" +} + +backmeupscotty $@