www.nico.schottelius.org/software/ccollect/doc/man/ccollect_add_source.1

79 lines
2.6 KiB
Groff
Raw Normal View History

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