]> git.treefish.org Git - backmeupscotty.git/blobdiff - backmeupscotty-example
Made everything a bit different.
[backmeupscotty.git] / backmeupscotty-example
index c49e2adb76d6c00eeb0a90531b9d10994de2be3d..b9acea7c639202dbefc444e137af0c16d699a3c0 100755 (executable)
@@ -3,14 +3,11 @@
 . ./backmeupscotty
 
 REMOTE_HOST=localhost
-REMOTE_BASE=/home/alex/backtest
-ARCHIVE_KEEPNBACKUPS=30
-ARCHIVE_KEEPNDAYS=1
-
-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
+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/*"
+
+backmeupscotty