Tapedev: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
m (capitalize the firts word of a sentence)
(remove refs to no-rewind devices and rawtapedev)
Line 1: Line 1:
{{Glossary Entry}}
{{Glossary Entry}}


Specify the no-rewind tape device to use. The rewind device to use is specified by [[Rawtapedev|rawtapedev]]. Both are set per configuration in {{man|5|amanda.conf}}. For [[Vtape|vtapes]], specify the fully qualified directory where the tapes reside, e.g., for an external hard drive under Linux:
This configuration parameter specifes the kind of data storage to use. For a single-tape configuration, it may just name the tape device:
 
tapedev "tape:/dev/st0"
<pre>tapedev "file:/media/backs/amanda/DailySet1"</pre>
but in most cases it will name a changer that can find the volumes Amanda needs to do a backup or restore, e.g.,
 
tapedev "chg-disk:/media/backs/amanda/DailySet1"
In most Unixes, including Linux, there are two devices per tape drive, the rewind device and the no-rewind device. The rewind device rewinds after each access, the no-rewind device does not. So to read or write several files in sequence to the tape drive, you must use the no-rewind device, and you must manually rewind as necessary.
tapedev "my-changer" # refers to a "define changer" section elsewhere
tapedev "chg-multi:s3:mybackups/T{01,02,03,04,05,06,07}


See also [[FAQ:What's the difference between a device and a changer? Between tapedev and tpchanger?]].
See also [[FAQ:What's the difference between a device and a changer? Between tapedev and tpchanger?]].

Revision as of 14:24, 25 July 2010


This configuration parameter specifes the kind of data storage to use. For a single-tape configuration, it may just name the tape device:

tapedev "tape:/dev/st0"

but in most cases it will name a changer that can find the volumes Amanda needs to do a backup or restore, e.g.,

tapedev "chg-disk:/media/backs/amanda/DailySet1"
tapedev "my-changer" # refers to a "define changer" section elsewhere
tapedev "chg-multi:s3:mybackups/T{01,02,03,04,05,06,07}

See also FAQ:What's the difference between a device and a changer? Between tapedev and tpchanger?.