On Tue, May 02, 2006 at 09:57:50AM -0600, Steven Backus wrote:
> > How are you forcing the dumps to stay in holding disk?
> > May be the taper error could be a consequence of that.
>
> In amanda.conf:
>
> tapedev "/dev/fridaytape"
> autoflush
>
> In crontab:
>
> 0 14 * * 1-4 /usr/local/sbin/amcheck -c -m genepi
> 0 19 * * 1-4 /usr/local/sbin/amdump genepi
> 30 12 * * 5 ln -s /dev/nst0 /dev/fridaytape; /usr/local/sbin/amcheck -m genepi
> 0 19 * * 5 /usr/local/sbin/amdump genepi; rm /dev/fridaytape
>
Perhaps amrecover has an error handler that if the tapedevice is not
available, even if it ultimatly will not be needed, causes it to abort.
Try running amrecover with the fridaytape link present.
BTW, trivial crontab simplification, one amdump line for all 5 days
with the rm redirected to devnull (2> /dev/null).
> Note I do the amcheck at 12:30 on Friday so I can leave early if
> possible. :)
Dreamer :)
--
Jon H. LaBadie jon AT jgcomp DOT com
JG Computing
4455 Province Line Road (609) 252-0159
Princeton, NJ 08540-4322 (609) 683-7220 (fax)
|