How To:Restore from a RAIT Device

From wiki.zmanda.com
Revision as of 19:45, 26 February 2009 by Dustin (talk | contribs) (add note on paddy's request)
Jump to navigation Jump to search

Note that RAIT devices work just like any other device for the normal restore methods -- amrecover(8) and amfetchdump(8).

When performing a manual restore from a RAIT tapeset, you can just use amrestore on the device, like so:

$ amrestore -f 10 'rait:/dev/rmt/tps0d{4,5,6}n'

If one of the devices in a RAIT array fails, you can specify it with the string ERROR to get a read-only RAIT device capable of supporting restores. This works both for amrestore and in amanda.conf:

tapedev "rait:{/dev/rmt/tps0d4,ERROR,/dev/rmt/tps0d6}"

If you're using chg-rait, you can specify ERROR in a similar fashion to enable read-only use of the RAIT changer:

tpchanger "rait:{robot1,ERROR,robot3}"

Other than these details, restores from a RAIT device are like any other kind of restore.