1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188
|
'\" t
.\" Title: amserverconfig
.\" Author: Kevin Till <kevin.till@zmanda.com>
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 12/01/2017
.\" Manual: System Administration Commands
.\" Source: Amanda 3.5.1
.\" Language: English
.\"
.TH "AMSERVERCONFIG" "8" "12/01/2017" "Amanda 3\&.5\&.1" "System Administration Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
amserverconfig \- program to setup initial Amanda configuration
.SH "SYNOPSIS"
.HP \w'\fBamserverconfig\fR\ 'u
\fBamserverconfig\fR \fIconfig\fR [\-\-template\ \fItemplate\fR] [\-\-no\-vtape] [\-\-tapetype\ \fItapetype\fR] [\-\-tpchanger\ \fItpchanger\fR] [\-\-tapedev\ \fItapedev\fR] [\-\-changerfile\ \fIchangerfile\fR] [\-\-changerdev\ \fIchangerdev\fR] [\-\-labelstr\ \fIlabelstr\fR] [\-\-mailto\ \fImailto\fR] [\-\-dumpcycle\ \fIdumpcycle\fR] [\-\-runspercycle\ \fIrunspercycle\fR] [\-\-runtapes\ \fIruntapes\fR] [\-\-tapecycle\ \fItapecycle\fR] [\-\-help]
.SH "DESCRIPTION"
.PP
After Amanda rpms are successfully installed,
\fBamserverconfig\fR
will setup initial Amanda configuration files\&. It will create /var/lib/amanda/guntar\-lists directory if one does not exist\&.
\fBamserverconfig\fR
does not change existing Amanda configurations\&.
\fBamserverconfig\fR
must be run by user backup\&.
.SH "OPTIONS"
.PP
Options may be abbreviated, as long as the abbreviation is not ambiguous\&. Option argument can either separated by \*(Aq=\*(Aq or a space\&. Example: \-\-templ=harddisk \-\-tapedev /dev/nst0
.PP
\fBamserverconfig\fR
builds a new "config" Amanda configuration\&. Customize the configuration with the options below\&.
.PP
\fB\-\-template template\fR
.RS 4
build Amanda configuration with pre\-configured template files\&. Currently,
\fBharddisk\fR,
\fBsingle\-tape\fR,
\fBtape\-changer\fR
and
\fBS3\fR
are the valid inputs for this option\&. Pre\-configured template files can be found in /var/lib/amanda/template\&.d\&. This option may be combined with other options\&.
.sp
If tape\-changer is chosen for this option, program mtx is required\&.
\fBamserverconfig\fR
will search for mtx in the following directory: "/usr/sbin", "/usr/local/sbin", "/usr/local/bin", "/usr/bin", "/bin" and backup\*(Aqs PATH\&.
.sp
If harddisk is chosen and \-\-no\-vtape is not specified,
\fBamserverconfig\fR
will create and label virtual tape file://var/lib/amanda/vtapes/$config\&.
.RE
.PP
\fB\-\-no\-vtape\fR
.RS 4
Do not create virtual tapes in the harddisk template case\&.
.RE
.PP
\fB\-\-tapedev tapedev\fR
.RS 4
The path name of non\-rewinding tape device\&. default [file://var/lib/amanda/vtapes/$config]
.RE
.PP
\fB\-\-tpchanger tpchanger\fR
.RS 4
The name of the tape changer\&. default [chg\-disk]
.RE
.PP
\fB\-\-changerdev changerdev\fR
.RS 4
A tape changer configuration parameter\&. default [/dev/null]
.RE
.PP
\fB\-\-changerfile changerfile\fR
.RS 4
A tape changer configuration parameter\&. default [/etc/amanda/$config/changer\&.conf]
.RE
.PP
\fB\-\-labelstr labelstr\fR
.RS 4
The tape label constraint regular expression\&. default [^$config\-[0\-9][0\-9]*$]
.sp
If this option is used with \-\-template=harddisk, only alphanumeric string is supported\&.
.RE
.PP
\fB\-\-tapetype tapetype\fR
.RS 4
The type of tape drive associated with tapedev or tpchanger\&. default [HARDDISK]
.RE
.PP
\fB\-\-mailto mailto\fR
.RS 4
A space separated list of recipients for mail reports\&. default [backup]
.RE
.PP
\fB\-\-dumpcycle dumpcycle\fR
.RS 4
The number of days in the backup cycle\&. default [1week]
.RE
.PP
\fB\-\-runspercycle runspercycle\fR
.RS 4
The number of days in the backup cycle\&. default [5]
.RE
.PP
\fB\-\-runtapes runtapes\fR
.RS 4
The maximum number of tapes used in a single run\&. default [1]
.RE
.PP
\fB\-\-tapecycle tapecycle\fR
.RS 4
The size of tape rotation\&. default [25]
.RE
.PP
\fB\-\-help\fR
.RS 4
Display usage\&.
.RE
.SH "FILES"
.PP
\fB/var/lib/amanda/template\&.d\fR
.RS 4
Amanda configuration template files install location
.RE
.PP
\fB/var/lib/amanda\fR
.RS 4
backup home directory
.RE
.PP
\fB/var/lib/amanda/gnutar\-lists\fR
.RS 4
A directory which contains backup timestamp and list of files backed up\&.
.RE
.PP
\fB/etc/amanda/$config\fR
.RS 4
Amanda configuration files location for $config(e\&.g: DailySet1)\&.
.RE
.PP
\fB/etc/amanda/template\&.d\fR
.RS 4
A directory contains dumptypes and tapetypes files used by all Amanda configurations\&.
.RE
.PP
\fB/etc/amandates\fR
.RS 4
Amanda file on the client\&. It keeps track of structures of previous dumps\&.
.RE
.PP
\fB/tmp/amanda\fR
.RS 4
directory contains Amanda debug log files\&.
.RE
.SH "RETURN VALUE"
On success, zero is returned\&. On error, 1 is returned\&.
.SH "SEE ALSO"
.PP
\fBamanda\fR(8),
\fBamanda.conf\fR(5),
\fBamaddclient\fR(8)
.PP
The Amanda Wiki:
: http://wiki.zmanda.com/
.SH "AUTHOR"
.PP
\fBKevin Till\fR <\&kevin\&.till@zmanda\&.com\&>
.RS 4
Zmanda, Inc\&. (http://www\&.zmanda\&.com)
.RE
|