2008-03-10 07:32:51 +00:00
|
|
|
ccollect_add_source(1)
|
2007-08-16 17:43:37 +00:00
|
|
|
======================
|
|
|
|
Nico Schottelius <nico-ccollect--@--schottelius.org>
|
|
|
|
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2008-03-09 22:06:18 +00:00
|
|
|
ccollect_add_source - create new source for ccollect(1)
|
2007-08-16 17:43:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
|
2008-03-09 22:06:18 +00:00
|
|
|
'ccollect_add_source.sh' <hostnames to create sources for>
|
2007-08-16 17:43:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2008-03-09 22:06:18 +00:00
|
|
|
ccollect_add_source.sh creates a new backup source for use with ccollect(1).
|
2007-08-16 17:56:42 +00:00
|
|
|
It copies the files from to the source directory with the hostname below
|
2008-03-09 22:06:18 +00:00
|
|
|
'$CCOLLECT_CONF/sources'. It is designed to run on a backup server to create
|
|
|
|
new directories for new hosts.
|
2007-08-16 17:43:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
FILES
|
|
|
|
-----
|
|
|
|
$CCOLLECT_CONF/defaults/sources::
|
|
|
|
Main configuration directory. $CCOLLECT_CONF is '/etc/ccollect', if unset.
|
|
|
|
All the following files reside below this directory.
|
|
|
|
|
|
|
|
exclude::
|
|
|
|
summary::
|
|
|
|
intervals::
|
|
|
|
pre_exec::
|
|
|
|
post_exec::
|
|
|
|
rsync_options::
|
|
|
|
verbose::
|
|
|
|
very_verbose::
|
|
|
|
Those are the standard configuration files known by ccollect(1).
|
|
|
|
If the file exist it will be copied to the newly created source.
|
|
|
|
Directories ('intervals') are copied recursively.
|
|
|
|
|
|
|
|
destination_base::
|
|
|
|
A link to the directory where to store the backups. Below this directory
|
2008-03-09 22:06:18 +00:00
|
|
|
`ccollect_add_source.sh` will create a directory with the hostname you
|
|
|
|
specified on the command line. A common valua for `destination_base` is
|
|
|
|
'/home/server/backup'.
|
2007-08-16 17:43:37 +00:00
|
|
|
|
|
|
|
source_prefix::
|
|
|
|
source_postfix::
|
|
|
|
`source_prefix` is put before the hostname, `source_postfix` is appended
|
|
|
|
after it. A common value for `source_prefix` maybe 'root@' and ':/'
|
|
|
|
for `source_postfix`.
|
|
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
2008-03-10 07:32:51 +00:00
|
|
|
ccollect(1), ccollect_analyse_logs.sh, ccollect_delete_source(1),
|
|
|
|
ccollect_list_intervals(1), ccollect_logwrapper(1),
|
2007-08-16 17:43:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
AUTHOR
|
|
|
|
------
|
|
|
|
Nico Schottelius <mailto:nico-ccollect--@--schottelius.org[]>
|
|
|
|
|
|
|
|
|
|
|
|
RESOURCES
|
|
|
|
---------
|
2009-07-01 08:00:18 +00:00
|
|
|
Main web site: http://www.nico.schottelius.org/software/ccollect/[]
|
2007-08-16 17:43:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
COPYING
|
|
|
|
-------
|
2008-03-10 07:32:51 +00:00
|
|
|
Copyright \(C) 2007-2008 Nico Schottelius. Free use of this software is
|
2007-08-16 17:43:37 +00:00
|
|
|
granted under the terms of the GNU General Public License Version 3 (GPLv3).
|