Networker

Re: [Networker] Cloning the bootstap pool tape

2003-02-21 10:38:54
Subject: Re: [Networker] Cloning the bootstap pool tape
From: Carl Farnsworth <carl.farnsworth AT DIGIDYNE DOT CA>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Fri, 21 Feb 2003 10:38:51 -0500
1)  This could be done, with a little bit of scripting.  The tricky bit is
re-labelling the clone tape.  You can't *recycle* it, because that would
also set the original savesets to recyclable, but you can re-label the
volume to start fresh.  That would require either hard-coding a volume
label into the script (not desirable), or using something like "mminfo -m -
q 'pool=<clonepool>,location=<jbname>'" and then picking out one of the
volume names to relabel with a "nsrjb -L -Y [-m] -b <clonepool> <volume>".
Then something like "mminfo -av -r "ssid" -
q "pool=<indexpool>,savetime>yesterday" | nsrclone -b <clonepool> -S -f -".

2)  Using the automatic cloning feature, you can't specify just part of the
group - it's all or nothing.  Some people like to save the indexes as a
separate session from regular groups, by turning off index saves on regular
groups and then scheduling a "savegrp -O" afterwards, but then you can't
invoke the automatic clone function (AFAIK).

Recommendation - use the scheduled nsrclone idea, but don't bother with
trying to re-label the tapes, if you have enough slots to support the
separate clone pool.

HTH
Carl Farnsworth
DigiDyne Inc.

On Thu, 20 Feb 2003 07:05:52 -0800, Dickinson, Ross
<ross.dickinson AT PSCNET DOT COM> wrote:

>Hello all,
>
>I set up a pool (bootstrap), which gets both bootstrap and indexes as its
>savesets. Now I have been asked to clone this tape so we can have two
copies
>of our indexes and bootstrap.
>
>*       Can I overwrite the clone tape on a daily basis, using the nsrclone
>command run from a cron?
>
>       OR
>
>*       Is there a way to just clone the indexes and bootstrap to this
>separate clone pool everytime a job saves the indexes and bootstrap to the
>bootstrap pool?

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

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