Amanda-Users

Re: Delay puting to Tape/using less tapes

2006-06-28 12:32:39
Subject: Re: Delay puting to Tape/using less tapes
From: Steven Backus <backus AT whimsy.med.utah DOT edu>
To: amanda-users AT amanda DOT org
Date: Wed, 28 Jun 2006 10:25:54 -0600 (MDT)
Frank Smith <fsmith AT hoovers DOT com> writes:
> If you have sufficient holding disk space, just don't insert a tape
> a couple of times per week.  If you set 'autoflush yes' in your
> config it will write whatever is in your holding disk to tape when
> amanda runs and a tape is available.

Someone on this list gave me this useful suggestion.  I dump to
holding disk every night then autoflush to tape on fridays.  In
amanda.conf use /dev/fridaytape as your dump device, then use
something like this in crontab:

0 14 * * 1-4 /usr/local/sbin/amcheck -c -m config
0 19 * * 1-4 /usr/local/sbin/amdump config
30 12 * * 5 ln -s /dev/nst0 /dev/fridaytape; /usr/local/sbin/amcheck -m config
0 19 * * 5 /usr/local/sbin/amdump config; rm /dev/fridaytape

Note that on Fridays I load my tape at 12:30 in case I want to
leave early (very important).  Also note the -c switch to amcheck
because a missing /dev/fridaytape causes complaints.

Steve
-- 
Steven J. Backus                        Computer Specialist
University of Utah                      E-Mail:  steven.backus AT utah DOT edu
Biomedical Informatics                  Alternate:  backus AT math.utah DOT edu
391 Chipeta Way -- Suite D150           Office:  801.587.9308
Salt Lake City, UT 84108-1266           http://www.math.utah.edu/~backus

<Prev in Thread] Current Thread [Next in Thread>