1AMFETCHDUMP(8)          System Administration Commands          AMFETCHDUMP(8)
2
3
4

NAME

6       amfetchdump - extract backup images from multiple Amanda tapes.
7

SYNOPSIS

9       amfetchdump [-pcClawns] [-d device] [-O directory] [-b blocksize]
10                   config hostname
11                   [disk [ date [ level [ hostname [...] ] ] ]]
12                   [-o configoption]...
13

DESCRIPTION

15       Amfetchdump pulls one or more matching dumps from tape or from the
16       holding disk, handling the reassembly of multi-tape split dump files as
17       well as any tape autochanger operations.
18
19       It will automatically use the logs created by amdump(8) to locate
20       available dumps on tape, in the same way that the find feature of
21       amadmin(8) lists available dumps. If these logs are unavailable, it can
22       search tape-by-tape to find what it needs, and can generate new logs to
23       serve as an emergency tape inventory.
24
25       The hostname, diskname, datestamp, and level dump pattern-matching
26       works as in amrestore(8), with the added requirement that at minimum a
27       hostname must be specified when not in inventory mode.
28
29       Unless -p is used, backup images are extracted to files in the current
30       directory named:
31
32       hostname.diskname.datestamp.dumplevel
33

OPTIONS

35       -p
36           Pipe exactly one complete dump file to stdout, instead of writing
37           the file to disk. This will restore only the first matching
38           dumpfile (where "first" is determined by the dump log search
39           facility).
40
41       -d device
42           Restore from this tape device instead of the default.
43
44       -O directory
45           Output restored files to this directory, instead of to the current
46           working directory.
47
48       -c
49           Compress output, fastest method available.
50
51       -C
52           Compress output, smallest file size method available.
53
54       -l
55           Leave dumps in the compressed/uncompressed state in which they were
56           found on tape. By default, amfetchdump will automatically
57           uncompress when restoring.
58
59       -a
60           Assume that all tapes are already available, via tape changer or
61           otherwise, instead of prompting the operator to ensure that all
62           tapes are loaded.
63
64       -w
65           Wait to put split dumps together until all chunks have been
66           restored. Normally, amfetchdump will attempt to read pieces of a
67           split file from tape in order, so that it can assemble them simply
68           by appending each file to the first. This option disables the
69           appending behavior, and instead restores each piece as an
70           individual file and reassembles them only after all have been
71           restored.
72
73               Note
74               This requires at least double the size of your dump in free
75               disk space, in order to build the final assembled dumpfile.
76           This behavior is implicitly invoked in circumstances where knowing
77           the location of all dumps on tape in advance is not possible, such
78           as when you are restoring without log files.
79
80       -n
81           Do not reassemble split dump files at all, just restore each piece
82           as an individual file.
83
84       -s
85           Do not fast-forward straight to needed files on tape. This will
86           slow down most restores substantially. Only use this option if your
87           tape drive does not properly support the fast-forward operation.
88
89       -b blocksize
90           Force a particular block size when reading from tapes. This value
91           will usually be autodetected, and should not normally need to be
92           set.
93
94       -o configoption
95           See the "CONFIGURATION OVERRIDE" section in amanda(8).
96

EXAMPLES

98       All the examples here assume your configuration is called SetA.
99
100       Here´s a simple case, restoring all known dumps of the host vanya to
101       the current working directory.
102       $ amfetchdump SetA vanya
103
104       A more likely scenario involves restoring a particular dump from a
105       particular date. We´ll pipe this one to GNU-tar as well, to
106       automatically extract the dump.
107       $ amfetchdump -p SetA vanya /home 20051020 | gtar -xvpf -
108

CAVEATS

110       Amfetchdump is dependent on accessing your server´s config, tape
111       changer, and (normally) dump logs. As such, it´s not necessarily the
112       most useful tool when those have all been wiped out and you desperately
113       need to pull things from your tape. Pains have been taken to make it as
114       capable as possible, but for seriously minimialist restores, look to
115       amrestore(8) or dd(8) instead.
116

SEE ALSO

118       amanda(8), amadmin(8), amrestore(8), tar(1), restore(8), :
119       http://wiki.zmanda.com
120

AUTHORS

122       John Stange <building@nap.edu>
123           National Academies Press
124
125       Ian Turner <ian@zmanda.com>
126           Zmanda, Inc. (http://www.zmanda.com)
127
128
129
130Amanda 2.6.1p2                    11/05/2009                    AMFETCHDUMP(8)
Impressum