ccollect_add_source - create new source for ccollect(1)
ccollect_add_source.sh <hostnames to create sources for>
ccollect_add_source.sh creates a new backup source for use with ccollect(1). It copies the files from to the source directory with the hostname below $CCOLLECT_CONF/sources. It is designed to run on a backup server to create new directories for new hosts.
Main configuration directory. $CCOLLECT_CONF is /etc/ccollect, if unset. All the following files reside below this directory.
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.
A link to the directory where to store the backups. Below this directory 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.
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.
ccollect(1), ccollect_analyse_logs.sh, ccollect_delete_source(1), ccollect_list_intervals(1), ccollect_logwrapper(1),
Nico Schottelius <nico-ccollect—@--schottelius.org>
Main web site: http://unix.schottelius.org/ccollect/
Copyright (C) 2007-2008 Nico Schottelius. Free use of this software is granted under the terms of the GNU General Public License Version 3 (GPLv3).