Why does `amrecover` start over and over again, when I tell it to extract from tape?

From wiki.zmanda.com
Revision as of 21:49, 6 April 2007 by Dustin (talk | contribs) (reformatting)
Jump to navigation Jump to search

Template:Troubleshooting Category Template:Troubleshooting Problem When running amrecover

Template:Troubleshooting Solution Make sure you call amrecover with the proper non-rewinding device as option, for example (on Linux):

 amrecover daily -d /dev/nst0

Template:Troubleshooting Explanation This is related to the usage of the rewinding tape-device.

amrecover basically runs amrestore in the background, which searches through your tape(s) for the tar/dump-file containing the requested files. If you use the rewinding tapedevice, amrestore will restore the requested files, after that the tape-device will rewind, which will cause amrestore to find the same tar/dump-file again, and start over ....

The bad thing about this is that this loop won't end and the restored files will be wiped out at every turn, also your tape will be stressed ...