📄 amserverconfig.8
字号:
.\" Title: amserverconfig.\" Author: .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>.\" Date: 05/13/2008.\" Manual: .\" Source: .\".TH "AMSERVERCONFIG" "8" "05/13/2008" "" "".\" disable hyphenation.nh.\" disable justification (adjust text to left margin only).ad l.SH "NAME"amserverconfig - program to setup initial Amanda configuration.SH "SYNOPSIS".HP 15\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".PPAfter Amanda rpms are successfully installed,\fBamserverconfig\fRwill setup initial\fIAmanda\fRconfiguration files\. It will create /var/lib/amanda/guntar\-lists directory if one does not exist\.\fBamserverconfig\fRdoes not change existing\fIAmanda\fRconfigurations\.\fBamserverconfig\fRmust be run by user amandabackup\..SH "OPTIONS".PPOptions may be abbreviated, as long as the abbreviation is not ambiguous\. Option argument can either separated by \'=\' or a space\. Example: \-\-templ=harddisk \-\-tapedev /dev/nst0.PP\fBamserverconfig\fRbuilds a new "config"\fIAmanda\fRconfiguration\. Customize the configuration with the options below\..PP\fB\-\-template template\fR.RS 4build\fIAmanda\fRconfiguration with pre\-configured template files\. Currently,\fBharddisk\fR,\fBsingle\-tape\fR,\fBtape\-changer\fRand\fBS3\fRare 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\..spIf tape\-changer is chosen for this option, program mtx is required\.\fBamserverconfig\fRwill search for mtx in the following directory: "/usr/sbin", "/usr/local/sbin", "/usr/local/bin", "/usr/bin", "/bin" and amandabackup\'s PATH\..spIf harddisk is chosen and \-\-no\-vtape is not specified,\fBamserverconfig\fRwill create and label virtual tape file://var/lib/amanda/vtapes/$config\..RE.PP\fB\-\-no\-vtape\fR.RS 4Do not create virtual tapes in the harddisk template case\..RE.PP\fB\-\-tapedev tapedev\fR.RS 4The path name of non\-rewinding tape device\. default [file://var/lib/amanda/vtapes/$config].RE.PP\fB\-\-tpchanger tpchanger\fR.RS 4The name of the tape changer\. default [chg\-disk].RE.PP\fB\-\-changerdev changerdev\fR.RS 4A tape changer configuration parameter\. default [/dev/null].RE.PP\fB\-\-changerfile changerfile\fR.RS 4A tape changer configuration parameter\. default [/etc/amanda/$config/changer\.conf].RE.PP\fB\-\-labelstr labelstr\fR.RS 4The tape label constraint regular expression\. default [^$config\-[0\-9][0\-9]*$].spIf this option is used with \-\-template=harddisk, only alphanumeric string is supported\..RE.PP\fB\-\-tapetype tapetype\fR.RS 4The type of tape drive associated with tapedev or tpchanger\. default [HARDDISK].RE.PP\fB\-\-mailto mailto\fR.RS 4A space separated list of recipients for mail reports\. default [amandabackup].RE.PP\fB\-\-dumpcycle dumpcycle\fR.RS 4The number of days in the backup cycle\. default [1week].RE.PP\fB\-\-runspercycle runspercycle\fR.RS 4The number of days in the backup cycle\. default [5].RE.PP\fB\-\-runtapes runtapes\fR.RS 4The maximum number of tapes used in a single run\. default [1].RE.PP\fB\-\-tapecycle tapecycle\fR.RS 4The size of tape rotation\. default [25].RE.PP\fB\-\-help\fR.RS 4Display usage\..RE.SH "FILES".PP\fB/var/lib/amanda/template\.d\fR.RS 4Amanda configuration template files install location.RE.PP\fB/var/lib/amanda\fR.RS 4amandabackup home directory.RE.PP\fB/var/lib/amanda/gnutar\-lists\fR.RS 4A directory which contains backup timestamp and list of files backed up\..RE.PP\fB/etc/amanda/$config\fR.RS 4\fIAmanda\fRconfiguration files location for $config(e\.g: DailySet1)\..RE.PP\fB/etc/amanda/template\.d\fR.RS 4A directory contains dumptypes and tapetypes files used by all\fIAmanda\fRconfigurations\..RE.PP\fB/etc/amandates\fR.RS 4\fIAmanda\fRfile on the client\. It keeps track of structures of previous dumps\..RE.PP\fB/tmp/amanda\fR.RS 4directory contains\fIAmanda\fRdebug log files\..RE.SH "RETURN VALUE"On success, zero is returned\. On error, 1 is returned\..SH "AUTHOR".PPThe tool and its documentation was written by Zmanda, Inc (http://www\.zmanda\.com/)\..SH "SEE ALSO".PP\fBamanda\fR(8),\fBamanda.conf\fR(5),\fBamaddclient\fR(8),\fI\%http://wiki.zmanda.com\fR
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -