Networker

Re: [Networker] mminfo and nsrclone

2006-04-20 17:38:50
Subject: Re: [Networker] mminfo and nsrclone
From: Itzik Meirson <imeirson AT MBI.CO DOT IL>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Fri, 21 Apr 2006 00:36:41 +0300
Tony,
Restore/stage/clone will by default try to read from the saveset that
has the lowest "cloneid".
The cloneid for the saveset on the RO adv_file device will by default be
the one with the lower cloneid.
As such you do not really have to specify the cloneid.
Itzik

-----Original Message-----
From: Legato NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU]
On Behalf Of Tony Skalski
Sent: Friday, April 21, 2006 00:10
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: Re: [Networker] mminfo and nsrclone

I found if I pipe the mminfo output to 'sed 1d', I can get rid of the
column header.

However, I am still curious about my first question: if you give
nsrclone an ssid (without a cloneid) of a save set that exists on an
adv_file device, from which device does Networker read the actual
adv_file device or the read-only counterpart?

ajs

Tony Skalski wrote:
> When cloning savesets from adv_file devices to tape (via a script) 
> from which device does networker read, the actual adv_file device or 
> the _AF_readonly device?
> 
> In other words, do I need to feed nsrclone the ssid/cloneid to 
> explicitly tell it to read from the read-only device, and if so, is 
> there a way to tell mminfo to not print the column headers?
> 
> I am using:
> 
>   mminfo -r "ssid,cloneid" -q "written=0,incomplete=false" | nsrclone 
> -S -f -
> 
> The above yields "nsrclone: ssid/clone-id is not a valid save set." I 
> would like to avoid writing the ssid/cloneids to a file and then 
> processing that, but that is a possible workaround.
> 
> Thanks,
> 
> ajs

--
Tony Skalski
Systems Administrator
507-646-3227
ajs AT stolaf DOT edu
-------------------------------------------------------
St. Olaf College                   1510 St. Olaf Avenue
Information and                          Northfield, MN
Instructional Technologies                   55057-1097
=======================================================

To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems wit this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or via RSS at
http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the
body of the email. Please write to networker-request AT listserv.temple DOT edu 
if you have any problems
wit this list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

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