2009-07-01 20:44:36 +00:00
'\" t
2009-05-26 21:45:19 +00:00
. \" Title: ccollect_add_source
2009-07-01 20:44:36 +00:00
. \" Author: [see the "AUTHOR" section]
. \" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
2009-07-09 13:22:09 +00:00
. \" Date: 07/08/2009
2009-07-01 20:44:36 +00:00
. \" Manual: [FIXME: manual]
. \" Source: [FIXME: source]
. \" Language: English
2009-05-26 21:45:19 +00:00
. \"
2009-07-09 13:22:09 +00:00
.TH "CCOLLECT_ADD_SOURCE" "1" "07/08/2009" "[FIXME: source]" "[FIXME: manual]"
2009-07-01 20:44:36 +00:00
. \" -----------------------------------------------------------------
. \" * set default formatting
. \" -----------------------------------------------------------------
2009-05-26 21:45:19 +00:00
. \" disable hyphenation
.nh
. \" disable justification (adjust text to left margin only)
.ad l
2009-07-01 20:44:36 +00:00
. \" -----------------------------------------------------------------
. \" * MAIN CONTENT STARTS HERE *
. \" -----------------------------------------------------------------
2009-05-26 21:45:19 +00:00
.SH "NAME"
2009-07-01 20:44:36 +00:00
ccollect_add_source \- create new source for ccollect(1)
2009-05-26 21:45:19 +00:00
.SH "SYNOPSIS"
.sp
2009-07-01 20:44:36 +00:00
\fI ccollect_add_source\& .sh\fR <hostnames to create sources for>
2009-05-26 21:45:19 +00:00
.SH "DESCRIPTION"
.sp
2009-07-01 20:44:36 +00:00
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 \fI $CCOLLECT_CONF/sources\fR \& . It is designed to run on a backup server to create new directories for new hosts\& .
2009-05-26 21:45:19 +00:00
.SH "FILES"
.PP
$CCOLLECT_CONF/defaults/sources
.RS 4
2009-07-01 20:44:36 +00:00
Main configuration directory\& . $CCOLLECT_CONF is
\fI /etc/ccollect\fR , if unset\& . All the following files reside below this directory\& .
2009-05-26 21:45:19 +00:00
.RE
.PP
exclude, summary, intervals, pre_exec, post_exec, rsync_options, verbose, very_verbose
.RS 4
2009-07-01 20:44:36 +00:00
Those are the standard configuration files known by ccollect(1)\& . If the file exist it will be copied to the newly created source\& . Directories (\fI intervals\fR ) are copied recursively\& .
2009-05-26 21:45:19 +00:00
.RE
.PP
destination_base
.RS 4
2009-07-01 20:44:36 +00:00
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
2009-05-26 21:45:19 +00:00
destination_base
is
2009-07-01 20:44:36 +00:00
\fI /home/server/backup\fR \& .
2009-05-26 21:45:19 +00:00
.RE
.PP
source_prefix, source_postfix
.RS 4
source_prefix
is put before the hostname,
source_postfix
2009-07-01 20:44:36 +00:00
is appended after it\& . A common value for
2009-05-26 21:45:19 +00:00
source_prefix
maybe
\fI root@\fR
and
\fI :/\fR
for
2009-07-01 20:44:36 +00:00
source_postfix\& .
2009-05-26 21:45:19 +00:00
.RE
.SH "SEE ALSO"
.sp
2009-07-01 20:44:36 +00:00
ccollect(1), ccollect_analyse_logs\& .sh, ccollect_delete_source(1), ccollect_list_intervals(1), ccollect_logwrapper(1),
2009-05-26 21:45:19 +00:00
.SH "AUTHOR"
.sp
2009-07-01 20:44:36 +00:00
Nico Schottelius <nico\- ccollect\- \- @\- \- schottelius\& .org>
2009-05-26 21:45:19 +00:00
.SH "RESOURCES"
.sp
2009-07-01 20:44:36 +00:00
Main web site: http://www\& .nico\& .schottelius\& .org/software/ccollect/
2009-05-26 21:45:19 +00:00
.SH "COPYING"
.sp
2009-07-01 20:44:36 +00:00
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)\& .