| 1 | # Unison preferences file |
|---|
| 2 | #Root (source) |
|---|
| 3 | #root = /omd/sites/monitor |
|---|
| 4 | root = /home/ubuntu |
|---|
| 5 | |
|---|
| 6 | #Target Directory |
|---|
| 7 | #root = ssh://172.18.0.3//omd/sites/monitor |
|---|
| 8 | root = ssh://10.7.168.58//home/ubuntu |
|---|
| 9 | |
|---|
| 10 | # folder to sync |
|---|
| 11 | path = omd-labs-docker/site/etc/naemon/conf.d |
|---|
| 12 | path = omd-labs-docker/site/etc/naemon/naemon.d |
|---|
| 13 | #path = etc.mount/naemon/conf.d |
|---|
| 14 | #path = etc.mount/naemon/naemon.d |
|---|
| 15 | path = omd-labs-docker/site/etc/htpasswd |
|---|
| 16 | #path = etc.mount/htpasswd |
|---|
| 17 | path = omd-labs-docker/site/var/naemon/retention.dat |
|---|
| 18 | #path = var.mount/naemon/retention.dat |
|---|
| 19 | path = omd-labs-docker/site/var/naemon/naemon.log |
|---|
| 20 | #path = var.mount/naemon/naemon.log |
|---|
| 21 | path = omd-labs-docker/site/var/log/thruk.log |
|---|
| 22 | #path = var.mount/log/thruk.log |
|---|
| 23 | #path = Farm |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | #repeat = watch |
|---|
| 30 | |
|---|
| 31 | # fie to sync |
|---|
| 32 | #path = out.txt |
|---|
| 33 | #path = Tmp2/out2.txt |
|---|
| 34 | |
|---|
| 35 | # dirs |
|---|
| 36 | #path=Documents |
|---|
| 37 | #path=Photos |
|---|
| 38 | #path=Study |
|---|
| 39 | # files |
|---|
| 40 | #path=.bashrc |
|---|
| 41 | #path=.vimrc |
|---|
| 42 | |
|---|
| 43 | #ignore = Path lib |
|---|
| 44 | #ignore = Path lib/* |
|---|
| 45 | #ignore = Path share/* |
|---|
| 46 | #ignore = Path tmp/* |
|---|
| 47 | #ignore = Path version/* |
|---|
| 48 | |
|---|
| 49 | |
|---|
| 50 | |
|---|
| 51 | |
|---|
| 52 | # Roots of the synchronization |
|---|
| 53 | #root = /var/www |
|---|
| 54 | #root = ssh://lookhost2//var/www |
|---|
| 55 | |
|---|
| 56 | # Paths to synchronize |
|---|
| 57 | #path = current |
|---|
| 58 | #path = common |
|---|
| 59 | #path = .netscape/bookmarks.html |
|---|
| 60 | |
|---|
| 61 | # Some regexps specifying names and paths to ignore |
|---|
| 62 | #ignore = Path stats ## ignores /var/www/stats |
|---|
| 63 | #ignore = Path stats/* ## ignores /var/www/stats/* |
|---|
| 64 | #ignore = Path */stats ## ignores /var/www/somedir/stats, but not /var/www/a/b/c/stats |
|---|
| 65 | #ignore = Name *stats ## ignores all files/directories that end with "stats" |
|---|
| 66 | #ignore = Name stats* ## ignores all files/directories that begin with "stats" |
|---|
| 67 | #ignore = Name *.tmp ## ignores all files with the extension .tmp |
|---|
| 68 | |
|---|
| 69 | # When set to true, this flag causes the user interface to skip |
|---|
| 70 | # asking for confirmations on non-conflicting changes. (More |
|---|
| 71 | # precisely, when the user interface is done setting the |
|---|
| 72 | # propagation direction for one entry and is about to move to the |
|---|
| 73 | # next, it will skip over all non-conflicting entries and go |
|---|
| 74 | # directly to the next conflict.) |
|---|
| 75 | auto=true |
|---|
| 76 | |
|---|
| 77 | # When this is set to true, the user interface will ask no |
|---|
| 78 | # questions at all. Non-conflicting changes will be propagated; |
|---|
| 79 | # conflicts will be skipped. |
|---|
| 80 | batch=true |
|---|
| 81 | |
|---|
| 82 | # !When this is set to true, Unison will request an extra |
|---|
| 83 | # confirmation if it appears that the entire replica has been |
|---|
| 84 | # deleted, before propagating the change. If the batch flag is |
|---|
| 85 | # also set, synchronization will be aborted. When the path |
|---|
| 86 | # preference is used, the same confirmation will be requested for |
|---|
| 87 | # top-level paths. (At the moment, this flag only affects the |
|---|
| 88 | # text user interface.) See also the mountpoint preference. |
|---|
| 89 | confirmbigdel=true |
|---|
| 90 | |
|---|
| 91 | # When this preference is set to true, Unison will use the |
|---|
| 92 | # modification time and length of a file as a `pseudo inode |
|---|
| 93 | # number' when scanning replicas for updates, instead of reading |
|---|
| 94 | # the full contents of every file. Under Windows, this may cause |
|---|
| 95 | # Unison to miss propagating an update if the modification time |
|---|
| 96 | # and length of the file are both unchanged by the update. |
|---|
| 97 | # However, Unison will never overwrite such an update with a |
|---|
| 98 | # change from the other replica, since it always does a safe |
|---|
| 99 | # check for updates just before propagating a change. Thus, it is |
|---|
| 100 | # reasonable to use this switch under Windows most of the time |
|---|
| 101 | # and occasionally run Unison once with fastcheck set to false, |
|---|
| 102 | # if you are worried that Unison may have overlooked an update. |
|---|
| 103 | # The default value of the preference is auto, which causes |
|---|
| 104 | # Unison to use fast checking on Unix replicas (where it is safe) |
|---|
| 105 | # and slow checking on Windows replicas. For backward |
|---|
| 106 | # compatibility, yes, no, and default can be used in place of |
|---|
| 107 | # true, false, and auto. See the section "Fast Checking" for more |
|---|
| 108 | # information. |
|---|
| 109 | fastcheck=true |
|---|
| 110 | |
|---|
| 111 | # When this flag is set to true, the group attributes of the |
|---|
| 112 | # files are synchronized. Whether the group names or the group |
|---|
| 113 | # identifiers are synchronizeddepends on the preference numerids. |
|---|
| 114 | group=true |
|---|
| 115 | |
|---|
| 116 | # When this flag is set to true, the owner attributes of the |
|---|
| 117 | # files are synchronized. Whether the owner names or the owner |
|---|
| 118 | # identifiers are synchronizeddepends on the preference |
|---|
| 119 | # extttnumerids. |
|---|
| 120 | owner=true |
|---|
| 121 | |
|---|
| 122 | # Including the preference -prefer root causes Unison always to |
|---|
| 123 | # resolve conflicts in favor of root, rather than asking for |
|---|
| 124 | # guidance from the user. (The syntax of root is the same as for |
|---|
| 125 | # the root preference, plus the special values newer and older.) |
|---|
| 126 | # This preference is overridden by the preferpartial preference. |
|---|
| 127 | # This preference should be used only if you are sure you know |
|---|
| 128 | # what you are doing! |
|---|
| 129 | prefer=newer |
|---|
| 130 | |
|---|
| 131 | # When this preference is set to true, the textual user interface |
|---|
| 132 | # will print nothing at all, except in the case of errors. |
|---|
| 133 | # Setting silent to true automatically sets the batch preference |
|---|
| 134 | # to true. |
|---|
| 135 | silent=true |
|---|
| 136 | |
|---|
| 137 | # When this flag is set to true, file modification times (but not |
|---|
| 138 | # directory modtimes) are propagated. |
|---|
| 139 | times=true |
|---|
| 140 | |
|---|
| 141 | # Unison will request an extra confirmation if it appears that the entire replica has been deleted |
|---|
| 142 | #confirmbigdeletes=true |
|---|
| 143 | |
|---|
| 144 | # allow sync delete file without confirm |
|---|
| 145 | confirmbigdel=false |
|---|