1AMRMTAPE(8) System Administration Commands AMRMTAPE(8)
2
3
4
6 amrmtape - remove a tape from the Amanda database
7
9 amrmtape [--changer changer-name] [--cleanup] [--dryrun] [-n] [--erase]
10 [--external-copy] [--keep-label] [--list-retention]
11 [--list-no-retention] [--remove-no-retention] [--quiet] [-q]
12 [--verbose] [-v] config [label]*
13
15 Amrmtape invalidates the contents of an existing backup tape in the
16 configuration database. This is meant as a recovery mechanism when a
17 good backup is damaged either by faulty hardware or user error, e.g.
18 the tape is eaten by the drive or is overwritten.
19
20 See the amanda(8) man page for more details about Amanda.
21
23 --changer changer-name
24 Specify which changer to use when erasing label
25
26 --cleanup
27 Remove logs and indexes associated with label. Otherwise, they'll
28 remain until the next run of amdump.
29
30 --dryrun, -n
31 Generate new tapelist(5) and database files with label removed, but
32 leave them in /tmp and do not update the original copies.
33
34 --erase
35 Attempt to erase the data contained on the volume with the given
36 label. This requires that Amanda be able to find that volume using
37 the tape changer. Erasure is not supported by all Amanda devices,
38 and the erasure is not "secure" in the sense that the data can most
39 likely be recovered by someone with the right tools.
40
41 --external-copy
42 The volume is erased but the label is kept in the tapelist and the
43 log file. This function must be used if you manually made a copy of
44 the volume that you can manually restore.
45
46 You should also mark the label as noreuse.
47
48 --keep-label
49 Do not remove label from the tapelist. The volume become like a new
50 labelled tape and can be reused by any storage using the same
51 tape-pool.
52
53 --list-retention
54 List all labels that are required for the policy of each storage.
55
56 --list-no-retention
57 List all labels that are not required for the policy of each
58 storage. They are the volumes that can be reused.
59
60 --remove-no-retention
61 Remove all labels that are not required for the policy of each
62 storage. Useful with --keep-label and/or --erase.
63
64 --verbose, -v
65 List backups of hosts and disks that are being discarded. Enabled
66 by default.
67
68 --quiet, -q
69 Opposite of -v.
70
72 Remove tape labeled DAILY034 and DAILY035 from the DailySet1
73 configuration.
74 # amrmtape DailySet1 DAILY034 DAILY035
75
77 amanda(8), amadmin(8)
78
79 The Amanda Wiki: : http://wiki.zmanda.com/
80
82 Adrian T. Filipi-Martin <atf3r@cs.virginia.edu>
83
84 Stefan G. Weichinger <sgw@amanda.org>
85
86
87
88Amanda 3.5.1 12/01/2017 AMRMTAPE(8)