X-Git-Url: https://git.treefish.org/~alex/backmeupscotty.git/blobdiff_plain/055e2cc6e3d94e1e7cc1d7158f54c4c95cdafa0f..10c111b53ee316fa7f2b3dd027730043e4ea92b2:/backmeupscotty-example?ds=sidebyside diff --git a/backmeupscotty-example b/backmeupscotty-example index 8ac2100..44d97cd 100755 --- a/backmeupscotty-example +++ b/backmeupscotty-example @@ -3,9 +3,23 @@ . ./backmeupscotty REMOTE_HOST=localhost -REMOTE_BASE=/home/alex/backtest -ARCHIVE_KEEPNBACKUPS=30 -ARCHIVE_KEEPNDAYS=1 +REMOTE_DIR=/home/regina/backtest/dest +ARCHIVE_KEEPNBACKUPS=10 +ARCHIVE_KEEPNDAYS=0 +BACKUP_RUNEVERYNTHDAY=1 +SYNC_SRC="/home/regina/backtest/source" +SYNC_EXC="/gack,/gugu/*" -scottysync /home/alex/backtest/source dest "abab" -scottysync /home/alex/backtest/source2 dest2 "abab" +function prepare { + echo "prepare" +} + +function cleanup_normal { + echo "cleanup" +} + +function cleanup_abort { + echo "cleanup_abort" +} + +backmeupscotty $@