Networker

Re: [Networker] savegroup start on a new tape

2003-02-26 16:31:18
Subject: Re: [Networker] savegroup start on a new tape
From: "Lewis, Terry {Info~Palo Alto}" <TERRY.LEWIS AT ROCHE DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Wed, 26 Feb 2003 13:29:05 -0800
Balki,

  I guess you could use savepnpc, but I'm not sure why you'd
want to go that route.  Whatever Client savepnpc runs on 
would have to have administrative authority for the Server to
use the nsrmm command, wouldn't it.  Anyway, since you
know the start time of your backup, it should fairly simple
to schedule execution beforehand of a command like this:

mminfo -m -q 'savetime<now,!full,!volrecycle' | tail +2 | awk '{print "nsrmm -o 
full -y " $1}' | sh -x

This non-full, non-recyclables tapes created so far and
marks them all as full volumes.  You probably need to
alter the '-q' criteria for your own set-up.

Terry

> -----Original Message-----
> From: Chamkura, Balki [SMTP:Balki.Chamkura AT sabre DOT com]
> Sent: Wednesday, February 26, 2003 1:13 PM
> To:   Lewis, Terry {Info~Palo Alto}; Legato NetWorker discussion; Tim Mooney
> Subject:      RE: [Networker] savegroup start on a new tape
> 
> Tim/ Terry:
> Can I use savepnpc to achieve this.  If so should I prefer before start of 
> savegroup or at the end of savegroup.
> How do I make the volume readable and full.  Will -c full change the status 
> to full.
> 
> Thanks for ur response,
> -Balki
> 
> (Balki Chamkura)
> 817-264-6342 (W)
> 
> -----Original Message-----
> From: Lewis, Terry {Info~Palo Alto} [mailto:TERRY.LEWIS AT ROCHE DOT COM]
> Sent: Wednesday, February 26, 2003 3:02 PM
> To: Legato NetWorker discussion; Ba Cham
> Subject: RE: [Networker] savegroup start on a new tape
> 
> BaCha,
> 
>  As Tim says, use nsrmm between backups to change the status
> of the most recently created backup tape(s).  However, instead
> of marking them readonly and/or recyclable, you probably want
> to mark them as full.  That way, NetWorker won't pick the tape(s)
> for subsequent backup cycles, but will still recycle the tape(s)
> according to whatever rules you have in effect.
> 
> Terry
> 
> > -----Original Message-----
> > From: Tim Mooney [SMTP:mooney AT DOGBERT.CC.NDSU.NODAK DOT EDU]
> > Sent: Wednesday, February 26, 2003 12:55 PM
> > To:   NETWORKER AT LISTMAIL.TEMPLE DOT EDU
> > Subject:      Re: [Networker] savegroup start on a new tape
> >
> > In regard to: [Networker] savegroup start on a new tape, Ba Cham said 
> > (at...:
> >
> > >I have a savegroup named full.  It takes little less than a DLT tape to
> > >backup the full each time.
> > >Can I force the save group to use a new tape each time it starts, rather
> > >than continue the existing tape till full and start another tape.
> > >This way if I recycle the tape,  I know what I am recycle.  How can I
> > >achive this.
> >
> > I'm not aware of any automatic way to do this within NetWorker.
> >
> > If you're comfortable writing a script in a language like perl or even
> > Bourne shell, it would be relatively trivial to accomplish this,
> > though.
> >
> > Your script needs to use the `mminfo' command to find all tapes (or
> > perhaps all "recent" tapes) that contain only full savesets, and then
> > your script must use the `nsrmm' command to make the tape manually
> > recycleable, and readonly.  Once you've done that, NetWorker will not try
> > write to that tape again.
> >
> > Tim
> > --
> > Tim Mooney                              mooney AT dogbert.cc.ndsu.NoDak DOT 
> > edu
> > Information Technology Services         (701) 231-1076 (Voice)
> > Room 242-J6, IACC Building              (701) 231-8541 (Fax)
> > North Dakota State University, Fargo, ND 58105-5164
> >
> > --
> > 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.
> > =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
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>