X-Git-Url: https://git.treefish.org/~alex/backmeupscotty.git/blobdiff_plain/055e2cc6e3d94e1e7cc1d7158f54c4c95cdafa0f..24d125dbe2a3ad4d43792e1e7f8894484d7fda41:/backmeupscotty-example diff --git a/backmeupscotty-example b/backmeupscotty-example index 8ac2100..c49e2ad 100755 --- a/backmeupscotty-example +++ b/backmeupscotty-example @@ -7,5 +7,10 @@ REMOTE_BASE=/home/alex/backtest ARCHIVE_KEEPNBACKUPS=30 ARCHIVE_KEEPNDAYS=1 -scottysync /home/alex/backtest/source dest "abab" -scottysync /home/alex/backtest/source2 dest2 "abab" +if ! isIncompleteOrNthDay dest; then + scottyinfo "This is not the nth day and no incomplete backup exists." + exit 0 +fi + +scottysync /home/alex/backtest/source dest "/gack,/gugu/*" +scottysync /home/alex/backtest/source2 dest2