Amrmtape: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
No edit summary
 
(formatting)
Line 1: Line 1:
==Name==
==Name==


amrmtape — remove a tape from the AMANDA database
'''amrmtape''' — remove a tape from the AMANDA database


==Synopsis==
==Synopsis==
Line 11: Line 11:
Amrmtape invalidates the contents of an existing backup tape in the configuration database. This is meant as a recovery mechanism when a good backup is damaged either by faulty hardware or user error, e.g. the tape is eaten by the drive or is overwritten.
Amrmtape invalidates the contents of an existing backup tape in the configuration database. This is meant as a recovery mechanism when a good backup is damaged either by faulty hardware or user error, e.g. the tape is eaten by the drive or is overwritten.


See the amanda(8) man page for more details about AMANDA.
See the [[amanda]](8) man page for more details about AMANDA.


==OPTIONS==
==OPTIONS==


-n
; -n :  Generate new tapelist and database files with label removed, but leave them in /tmp and do not update the original copies.


    Generate new tapelist and database files with label removed, but leave them in /tmp and do not update the original copies.
; -v :  List backups of hosts and disks that are being discarded. Enabled by default.
-v


    List backups of hosts and disks that are being discarded. Enabled by default.
; -q :  Opposite of -v.
-q


    Opposite of -v.
; -d Run in debugging mode so all executed commands are shown.
-d
 
    Run in debugging mode so all executed commands are shown.


==EXAMPLE==
==EXAMPLE==
Line 32: Line 27:
Remove tape labeled DAILY034 from the DailySet1 configuration.
Remove tape labeled DAILY034 from the DailySet1 configuration.


# amrmtape DailySet1 DAILY034
# amrmtape DailySet1 DAILY034


==AUTHOR==
==AUTHOR==
Line 42: Line 37:
==SEE ALSO==
==SEE ALSO==


amadmin(8), amanda(8)
[[amadmin]](8), [[amanda]](8)

Revision as of 00:21, 2 December 2005

Name

amrmtape — remove a tape from the AMANDA database

Synopsis

amrmtape [-n ] [-v ] [-q ] [-d ] config label

DESCRIPTION

Amrmtape invalidates the contents of an existing backup tape in the configuration database. This is meant as a recovery mechanism when a good backup is damaged either by faulty hardware or user error, e.g. the tape is eaten by the drive or is overwritten.

See the amanda(8) man page for more details about AMANDA.

OPTIONS

-n
Generate new tapelist and database files with label removed, but leave them in /tmp and do not update the original copies.
-v
List backups of hosts and disks that are being discarded. Enabled by default.
-q
Opposite of -v.
-d
Run in debugging mode so all executed commands are shown.

EXAMPLE

Remove tape labeled DAILY034 from the DailySet1 configuration.

# amrmtape DailySet1 DAILY034

AUTHOR

Adrian T. Filipi-Martin <[email protected]>: Original text

Stefan G. Weichinger, <[email protected]>, maintainer of the AMANDA-documentation: XML-conversion

SEE ALSO

amadmin(8), amanda(8)