Networker

[Networker] Need advice on mminfo command

2003-11-24 18:24:27
Subject: [Networker] Need advice on mminfo command
From: George Sinclair <George.Sinclair AT NOAA DOT GOV>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Mon, 24 Nov 2003 18:24:21 -0500
Hi,

I want to query the database from a shell or perl script to determine if
a particular saveset (pathname) has already been backed up. The pathname
is a one-time full that is recoverable but not browsable. Indexing is
turned off on the backup pool for the affected saveset(s). If it has not
been backed up yet, or if it has, but for some reason it's reported as
incomplete or suspect or bad or anything like that then I want to back
it up; otherwise, don't. I'm okay with spanning savesets. I'm thinking I
need to run the mminfo command from my script like:

mminfo -s server -c client -v -q 'name=path'

and then if it returns something then check the flag values? I know
there are a lot of other switches and options, though. Does anyone have
any advice on a better way to run this command. Will this work? What
options should I be checking? Maybe I'm forgetting something?

I will also need to determine if it's been cloned, and if the clone is
good, and if not I need to clone it.

Would appreciate any suggestions on how to run the command(s) to
determine this. I can write perl or Bourne shell. If perl, it will
probably be executed from cron using Bourne shell.

We're running 6.1.1 using Solaris primary server (2.8) and Linux storage
node server.

Thanks.

George
George.Sinclair AT noaa DOT gov

--
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>
  • [Networker] Need advice on mminfo command, George Sinclair <=