Introduction:
=============

Opalsync is a tool to sync files from one place to another mostly for
the purpose of backup.

Website:
--------

  http://inguza.com/software/opalsync

Configuration:
==============

Default configuration:
----------------------

Default configuration is done in
/etc/opalsync/default

Default file and directory excludes is done in
/etc/opalsync/default.exclude

Source configuration:
---------------------

For each source you then specify a configuration file named with .conf as
prefix. This file is used to override the default configuration or defaults
from the directory structure.

The HOST directive is the only directive needed in this configuration file
it used with rsyncoverssh as sync method.

HOST=

Group sources with separate default:
------------------------------------

It is possible to group data sources with a common default and default.exclude
file by placing them in a subdirectory. You can place a default and
default.exclude file in that directory that override the defaults from the
directory above it.

If you want to divide the data sources even further that is also possible
and configuration will be inherited from the directory above (that is
also inherited from the directory above, etc).

Example:
 /etc/opalsync
 /etc/opalsync/default
 /etc/opalsync/default.exclude
 /etc/opalsync/intranet
 /etc/opalsync/intranet/default
 /etc/opalsync/intranet/servers
 /etc/opalsync/intranet/servers/srv1.conf
 /etc/opalsync/intranet/servers/srv1.exclude
 /etc/opalsync/intranet/clients
 /etc/opalsync/intranet/clients/default
 /etc/opalsync/intranet/clients/default.exclude
 /etc/opalsync/intranet/clients/cl1.conf
 /etc/opalsync/intranet/clients/cl1.conf
 ...

Copyright:
==========

  Copyright (C) 2004-2006,2008-2011,2013,2015,2016,2017 Ola Lundqvist <ola@inguza.com>

This is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2, or (at your option) any later
version.

This is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License with
this source package as the file COPYING.  If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301 USA.
