X-Git-Url: https://git.treefish.org/~alex/backmeupscotty.git/blobdiff_plain/24d125dbe2a3ad4d43792e1e7f8894484d7fda41..333d926de93d4427e4c32c52e7dd18649132a00b:/backmeupscotty-example?ds=sidebyside diff --git a/backmeupscotty-example b/backmeupscotty-example index c49e2ad..9418571 100755 --- a/backmeupscotty-example +++ b/backmeupscotty-example @@ -3,14 +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/*" -if ! isIncompleteOrNthDay dest; then - scottyinfo "This is not the nth day and no incomplete backup exists." - exit 0 -fi +function prepare { + echo "prepare" +} -scottysync /home/alex/backtest/source dest "/gack,/gugu/*" -scottysync /home/alex/backtest/source2 dest2 +function cleanup_normal { + echo "cleanup" +} + +function cleanup_abrt { + echo "cleanup_abrt" +} + +backmeupscotty