Re: Weekly amflush
2003-07-09 23:15:09
On Wed, Jul 09, 2003 at 11:28:26PM +0200, Paul Bijnens wrote:
> Steven J. Backus wrote:
> > I'd like to do my daily dumps to the holding disk, then amflush
> >it to the tapes over the weekend. The suggestion I've heard here
> >is to leave out the tapes, then put them in on Friday night, but
> >what if I want to take Friday off? Is there a way to do this
> >automatically?
>
> Put a fake tapedev in amanda.conf (but *not* /dev/null), e.g.
>
> tapedev "/dev/fridaytape"
>
> (do *not* use /dev/null!)
> Then make a symlink to the correct device just before you flush:
>
> ln -s /dev/rmt/0n /dev/fridaytape
> amflush -b -f TheConfig
> rm /dev/fridaytape
>
With the autoflush feature of current amanda releases
this could be automated in the crontab so the tape could
be inserted any time before friday's amdump.
--
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)
|
|
|