update path myunison/master
authorIan Kelling <ian@iankelling.org>
Sun, 15 Jan 2017 18:34:48 +0000 (10:34 -0800)
committerIan Kelling <ian@iankelling.org>
Sun, 15 Jan 2017 18:34:48 +0000 (10:34 -0800)
myunison

index d8f23bcf64464ac6336c4f5a530147e33cf534fd..2e0f14928f37ab4f294ae7f38a5d092150ef1ff8 100755 (executable)
--- a/myunison
+++ b/myunison
@@ -3,6 +3,11 @@
 set -eE -o pipefail
 trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
 
+# note, we could have done machine specific subvols,
+# but there were so few files, it just didn't seem
+# necessary to have an rw copy on those machines
+# which did not have the whole p subvol.
+
 gen_args=()
 do_snapshot=true
 batch=false
@@ -81,9 +86,9 @@ fi
 if s $f  "$host"; then
     if [[ $host == frodo ]]; then
         # only send data to the machine i do full backups to
-        p=/q/p/c/machine_specific/$HOSTNAME/.unison/
+        p=/p/c/machine_specific/$HOSTNAME/.unison/
         s rsync -rlptgohi $p root@$host:$p
     fi
-    p=/q/p/c/machine_specific/$host/.unison/
+    p=/p/c/machine_specific/$host/.unison/
     s rsync -rlptgohvi root@$host:$p $p
 fi