On Wed, 19 May 2004 at 11:44pm, Chris Miller wrote
> "amadmin find" shows a record of the location on tape (record number)
> where each dump record exists. Given this information, why does amrecover
> start at the beginning of the tape during a restore and read each record
> sequentially on the tape until it finds the correct record? I can
> significantly reduce restore times by suspending amrecover and using "mt
> fsf <n>" to pre-position the tape one or two records before the record it
> wants. I gather the code is doing a pattern match for hostname, diskname,
> and date. Why not use this information to get the record number and
> position the tape appropriately?
If you're using at least 2.4.4, put the following in your amanda.conf:
amrecover_do_fsf yes
and it'll do exactly what you want.
--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University
|