1AMFLUSH(8)                                                          AMFLUSH(8)
2
3
4

NAME

6       amflush - flush Amanda backup files from holding disk to tape
7

SYNOPSIS

9       amflush [-b] [-f] [-s] [-D datestamp] config [host [disk...]...]
10               [-o configoption]...
11

DESCRIPTION

13       Amflush writes Amanda backups from the holding disks to tape, and
14       updates the Amanda info database and tapelist accordingly. Backups may
15       stay in a holding disk when something is wrong with the tape at the
16       time amdump is run. When this happens, the problem must be corrected
17       and amflush run by hand.
18

OPTIONS

20       -b
21           Run amflush in batch mode. All datestamps are selected unless
22           specified. The flush is started without confirmation.
23
24       -f
25           Run amflush in foreground.  Amflush normally detaches itself from
26           the tty and runs as a background process. With the -f option,
27           amflush stays in the foreground. This is useful if amflush is run
28           as part of another script that, for example, advances the tape
29           after the flush is completed.
30
31       -s
32           Write log to stdout/stderr instead of the amflush log file.
33           Requires the -f option.
34
35       -D datestamp
36           specify a datestamp expression you want to flush, see the
37           "DATESTAMP EXPRESSION" section of amanda(8) for a description.  -D
38           20001225-7 will flush all dumps from 25 december 2000 to 27
39           december 2000.
40
41       host [disk]*
42           Specify the host and disk on which the command will work.
43
44       -o configoption
45           See the "CONFIGURATION OVERWRITE" section in amanda(8).
46
47       You can specify many host/disk expressions, only disks that match an
48       expression will be flushed. All disks are flushed if no expressions are
49       given. see the "HOST & DISK EXPRESSION" section of amanda(8) for a
50       description.
51
52       Amflush will look in the holding disks specified by the amanda.conf
53       file in /usr/local/etc/amanda/config for any non-empty Amanda work
54       directories. It then prompts you to select a directory or to process
55       all of the directories. The work directories in the holding disks are
56       named by the date at the time amdump was run, e.g.  19910215.
57
58       See the amanda(8) man page for more details about Amanda.
59

EXAMPLE

61       Amflush will search for holding areas associated with the daily
62       configuration. After you select which holding area to flush, amflush
63       writes the data to tape, updates the databases and sends a mail report
64       similar to amdump(8).
65
66           % amflush daily
67           Scanning /amanda-hold...
68             20001113: found Amanda directory.
69             20001114: found Amanda directory.
70
71           Multiple Amanda directories, please pick one by letter:
72             A. 20001113
73             B. 20001114
74           Select directories to flush [A..B]: [ALL] all
75
76           Flushing dumps in 20001113, 20001114,
77           today: 20001117
78           to tape drive /dev/rmt/0mn.
79           Expecting tape DMP014 or a new tape.  (The last dumps were to tape DMP013)
80           Are you sure you want to do this? yes
81           Running in background, you can log off now.
82           You'll get mail when amflush is finished.
83

AUTHOR

85       James da Silva, <jds@amanda.org> : Original text
86
87       Stefan G. Weichinger, <sgw@amanda.org>, maintainer of the
88       Amanda-documentation: XML-conversion
89

SEE ALSO

91       amanda(8), amdump(8)
92
93
94
95                                  02/07/2007                        AMFLUSH(8)
Impressum