Networker

Re: [Networker] Legato On Demand Backup Question

2007-06-08 13:45:59
Subject: Re: [Networker] Legato On Demand Backup Question
From: "Werth, Dave" <dave.werth AT GARMIN DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Fri, 8 Jun 2007 12:42:50 -0500
Heather,

If they are on-demand backups that you can set up in a Legato Group then
it's not too hard to do.  We run Oracle on Solaris and I've set up a
script that periodically checks the space used on the file system where
the redo log archives are written.  When it reaches a certain level the
script kicks off a NetWorker Group save which runs another script that
saves the archives then deletes them.

The part of the script that starts the save group looks like this:

=============================
# start oracle redo logs save
echo "
  . type: NSR group;
  name: Save-redologs
  update Autostart: Start now" | nsradmin -s NetWorkerServer -i -
 
# Check status, wait until done
StatF=/tmp/RDLstat$$.tmp
sgDone=0
while [ sgDone -eq 0 ]
do
 sleep 30
 echo "
  show status
  print type: NSR group;
  name: Save-redologs" | nsradmin -s NetWorkerServer -i - > $StatF
#
  if grep "status: idle;" $StatF
  then
        sgDone=1
  fi
done
=============================

Notes:  Save-redologs is the name of NetWorker save group and
NetWorkerServer is the name of your networker server.  The first
nsradmin command starts the group then under check status it checks
every 30 seconds until the status of the group returns to idle.

Then in the Client Setup the Backup command points to a script that
includes the command:

        save "$@"

Which executes the save command with the parameters passed to the script
by NetWorker ($@).

David Werth
Garmin AT, Inc
Salem, Oregon
dave.werth<at>garmin.com

-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] 
Sent: Thursday, June 07, 2007 7:05 AM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: [Networker] Legato On Demand Backup Question

All,

         I have a need to do on-demand backups for a Unix Solaris
client. My customer has 7 scripts they need to run nightly but I do not
have any command line experience with Legato and not sure where to start
or what commands to give them for their scripts. Sorry to all you Unix
folks I am running Legato on a Windows server and using the GUI please
excuse me!!! :-) 

 

Thanks in advance for any help on the commands!!!

 

Heather 


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

------------------------- 
This e-mail and any attachments may contain confidential material for the sole 
use of the intended recipient.  If you are not the intended recipient, please 
be aware that any disclosure, copying, distribution or use of this e-mail or 
any attachment is prohibited.  If you have received this e-mail in error, 
please contact the sender and delete all copies. 
Thank you for your cooperation 

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