2005-12-07 16:41:51 +00:00
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
ccollect.sh, Nico Schottelius, 2005-12-07
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
0. Runtime options
|
|
|
|
1. General configuration
|
|
|
|
2. Source configuration
|
|
|
|
|
2005-12-08 10:37:31 +00:00
|
|
|
--------------------------------------------------------------------------------
|
2005-12-07 16:41:51 +00:00
|
|
|
0. Runtime options
|
|
|
|
|
|
|
|
ccollect looks for its configuration in /etc/ccollect or, if set, in
|
|
|
|
the directory specified in $CCOLLECT_CONF.
|
|
|
|
|
|
|
|
There are also some self explaining parameters you can pass to ccollect, simply use
|
|
|
|
"ccollect.sh --help" for info.
|
|
|
|
|
|
|
|
The "intervall" is used to know how many backups to keep.
|
|
|
|
|
2005-12-08 10:37:31 +00:00
|
|
|
--------------------------------------------------------------------------------
|
2005-12-07 16:41:51 +00:00
|
|
|
1. General configuration
|
|
|
|
|
|
|
|
The general configuration can be found below $CCOLLECT_CONF/defaults or /etc/ccollect/defaults.
|
|
|
|
|
|
|
|
1.2. Intervall definition
|
|
|
|
|
|
|
|
Below this directory should be:
|
|
|
|
|
2005-12-08 10:37:31 +00:00
|
|
|
intervalls/<intervall name>
|
2005-12-07 16:41:51 +00:00
|
|
|
|
2005-12-08 10:37:31 +00:00
|
|
|
The number in this file tells ccollect how many versions to keep.
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
2005-12-07 16:41:51 +00:00
|
|
|
2. Source configuration
|
|
|
|
|
2005-12-08 10:08:15 +00:00
|
|
|
Each source configuration exists below $CCOLLECT_CONF/sources/$name.
|
|
|
|
The name describes the source.
|
|
|
|
|
|
|
|
Each source has at least
|
|
|
|
|
|
|
|
- source (a text file containing the path to backup)
|
|
|
|
- destination (a link to the directory we should backup to)
|
|
|
|
|
|
|
|
Additionally a source may have the following files:
|
|
|
|
|
|
|
|
- verbose whether to be verbose
|
|
|
|
- exclude excludes for rsync. One exclude specification on each line
|