AMFLUSH(8)

NAME
amflush - flushes Amanda backup files from holding disk to tape

SYNOPSIS
amflush [ -f ] config

DESCRIPTION
Amflush writes all the Amanda backup files from the holding disk to tape, and updates the Amanda info database and tape list accordingly. The backups go to the holding disk when something is wrong with the tape at the time amdump is run, usually at night. When this happens, the operator must correct the problem and run amflush by hand the next day.

Amflush will look in the holding disk specified by the amanda.conf file in /usr/local/etc/amanda/config for any non-empty Amanda work directories. It then prompts the operator to select the correct directory. The work directories on the holding disk are named by the date at the time amdump was run.

Amflush normally detaches from the user's tty and runs as a background process. With the -f option, amflush stays in the foreground; this is useful if amflush is run as part of another script that, for example, advances the tape in a carousel after the flush is completed. See the amanda(8) man page for more details about Amanda.

EXAMPLE

% amflush DailySet1
    If the 19910215 directory exists in the holding disk work directory, amflush will prompt the operator then write all the backups for Feb 15, 1991 from the holding disk to the tape. Amflush then updates the databases and sends a mail report to the operators, as specified by the "DailySet1" configuration.

AUTHOR
James da Silva <jds@cs.umd.edu>
University of Maryland, College Park

SEE ALSO
amanda(8), amdump(8).