|
|
|
@ -2,12 +2,12 @@
|
|
|
|
|
|
|
|
|
|
###### Osync - Rsync based two way sync engine with fault tolerance
|
|
|
|
|
###### (L) 2013-2015 by Orsiris "Ozy" de Jong (www.netpower.fr)
|
|
|
|
|
###### Config file rev 2015091201
|
|
|
|
|
###### Config file rev 2015111801
|
|
|
|
|
|
|
|
|
|
## ---------- GENERAL OPTIONS
|
|
|
|
|
|
|
|
|
|
## Sync job identification
|
|
|
|
|
SYNC_ID="sync_test"
|
|
|
|
|
INSTANCE_ID="sync_test"
|
|
|
|
|
|
|
|
|
|
## Directories to synchronize.
|
|
|
|
|
## Initiator is the system osync runs on. The initiator directory must be a local path.
|
|
|
|
@ -47,8 +47,6 @@ MINIMUM_SPACE=10240
|
|
|
|
|
## Bandwidth limit Kbytes / second. Leave 0 to disable limitation
|
|
|
|
|
BANDWIDTH=0
|
|
|
|
|
|
|
|
|
|
## If enabled, synchronization on remote system will be processed as superuser. See documentation for /etc/sudoers file configuration.
|
|
|
|
|
SUDO_EXEC=no
|
|
|
|
|
## Paranoia option. Don't change this unless you read the documentation.
|
|
|
|
|
RSYNC_EXECUTABLE=rsync
|
|
|
|
|
## Remote rsync executable path. Leave this empty in most cases
|
|
|
|
@ -67,6 +65,9 @@ REMOTE_HOST_PING=no
|
|
|
|
|
## Be aware some DNS like opendns redirect false hostnames. Also, this adds an extra execution time of a bit less than a minute.
|
|
|
|
|
REMOTE_3RD_PARTY_HOSTS="www.kernel.org www.google.com"
|
|
|
|
|
|
|
|
|
|
## If enabled, synchronization commands on remote system will be processed as superuser. See documentation for /etc/sudoers file configuration.
|
|
|
|
|
SUDO_EXEC=no
|
|
|
|
|
|
|
|
|
|
## ---------- MISC OPTIONS
|
|
|
|
|
|
|
|
|
|
## Preserve ACLS. Make sure source and target FS can manage same ACLs or you'll get loads of errors.
|
|
|
|
@ -137,7 +138,7 @@ SMTP_PASSWORD=
|
|
|
|
|
|
|
|
|
|
## ---------- EXECUTION HOOKS
|
|
|
|
|
|
|
|
|
|
## Commands can will be run before and / or after sync process (remote execution will only happen if REMOTE_SYNC is set).
|
|
|
|
|
## Commands can will be run before and / or after sync process (remote execution will only happen if REMOTE_OPERATION is set).
|
|
|
|
|
LOCAL_RUN_BEFORE_CMD=""
|
|
|
|
|
LOCAL_RUN_AFTER_CMD=""
|
|
|
|
|
|
|
|
|
|