3 .\" Author: Dustin J. Mitchell <dustin@zmanda.com>
4 .\" Generator: DocBook XSL Stylesheets vsnapshot_8273 <http://docbook.sf.net/>
6 .\" Manual: System Administration Commands
7 .\" Source: Amanda 3.2.0
10 .TH "AMVAULT" "8" "10/18/2010" "Amanda 3\&.2\&.0" "System Administration Commands"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
16 .\" disable justification (adjust text to left margin only)
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
22 amvault \- Copy Amanda dumps from one volume to another
24 .HP \w'\fBamvault\fR\ 'u
25 \fBamvault\fR [\fB\-o\fR\ \fIconfigoption\fR...] [\-q] [\-\-quiet] [\-n] [\-\-dry\-run] [\-\-fulls\-only] [\-\-export] [\fB\-\-src\-timestamp\fR\ \fIsrc\-timestamp\fR]
27 \fB\-\-label\-template\fR\ \fIlabel\-template\fR \fB\-\-dst\-changer\fR\ \fIdst\-changer\fR [\fB\-\-autolabel\fR\ \fIautolabel\-arg\fR...]
29 \fIconfig\fR [\fIhostname\fR\ [\ \fIdisk\fR\ [\ \fIdate\fR\ [\ \fIlevel\fR\ [\ \fIhostname\fR\ [\&.\&.\&.]\ ]\ ]\ ]\ ]]
32 This application is not yet in its final form, and is subject to major revision in subsequent versions of Amanda\&. Backward compatibility is not guaranteed\&.
34 Note that Amanda restore/recover operations will request tertiary media by label when dumpfiles are not found on secondary media, but there is no provision to automatically fetch such media from a different changer
36 Feedback on and patches to this application are invited and encouraged!
39 Amvault is conceptually equivalent to "amfetchdump | taper"\&. That is, it reads specified dumps from secondary media and re\-writes them on tertiary media\&.
42 Copies data from the run with timestamp
44 onto volumes using the changer
45 \fBdst\-changer\fR, and labeling new volumes with
46 \fBlabel\-template\fR\&. If
48 is "latest", then the most recent amdump or amflush run will be used\&. If
50 is given, then only full (level\-0) dumps are copied\&.
54 (\fB\-q\fR) option will eliminate non\-error messages, and is useful when running amvault from cron\&. The
56 (\fB\-n\fR) option will cause amvault to print the dumps it would vault, but not actually perform any vaulting operations\&.
59 The dumps to be read from secondary media can be specified by any combination of dump specifications,
60 \fB\-\-fulls\-only\fR, and
61 \fB\-\-src\-timestamp\fR\&. At least one must be specified, lest amvault attempt to vault all dumps in the catalog\&. See
63 for more information on dump specifications\&.
65 Note that the datestamp given in the dumpspec is the
67 datestamp \- the run in which the backup was taken on the Amanda client\&. The
68 \fB\-\-src\-timestamp\fR, on the other hand, is the
70 timestamp \- the run in which the dump was written to secondary media\&. The latter option facilitates duplicating the results of an entire backup run, including any dumps that might have been flushed from holding disk\&.
74 \fB\-\-dst\-changer\fR
75 must be specified, and names the changer in which tertiary media are stored\&. In general, this should be different from the secondary changer, to eliminate the possibility of overwriting secondary media with tertiary data\&.
77 The changer parameter should specify the name of a changer defined in
78 \fBamanda.conf\fR(5)\&. For example:
81 define changer vaulting_tape {
83 tpchanger "chg\-zd\-mtx"
85 changerfile "vaulting\-changer\&.conf"
90 \fB\-\-label\-template\fR
91 option is required, and specifies a label template which is used to generate new labels for tertiary volumes\&. The
93 option works just like the
96 \fBamanda.conf\fR(5), and can be specified multiple times if necessary\&. The default is \'empty\'\&.
102 splitting parameters, then amvault will use them without any additional configuration\&. However, if the configuration still uses the old splitting parameters (\fBtape_splitsize\fR,
103 \fBsplit_diskbuffer\fR, and
104 \fBfallback_splitsize\fR), then amvault will need some additional configuration in order to properly split dumps to tertiary media\&. To do so, specify a new tapetype in
105 \fBamanda.conf\fR(5), say "TERTIARY", and set the
107 and other appropriate parameters there\&. Then reference that tapetype in the amvault invocation:
110 amvault \-otapetype=TERTIARY \&.\&.\&.
115 option will cause amvault to attempt to move completed tertiary volumes to import/export slots, where they can be more easily removed by an operator\&.
119 \fBamanda-changers\fR(7),
123 : http://wiki.zmanda.com/
126 \fBDustin J\&. Mitchell\fR <\&dustin@zmanda\&.com\&>
128 Zmanda, Inc\&. (http://www\&.zmanda\&.com)