Networker

Re: [Networker] Running a backup from the networker client

2005-09-27 10:49:29
Subject: Re: [Networker] Running a backup from the networker client
From: David Ranieri <DRanieri AT EVERGREENINVESTMENTS DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Tue, 27 Sep 2005 10:45:48 -0400
Thanks for the help.   Used a couple suggestions put together.  Here's the 
final result.    Just tested it and it works fine and dandy.

Thanks again.


os_backup
# more *
#!/bin/sh
# Client side backup script for Legato

GROUP="OS_ODYMERCDEV"
SCHED="EI_Friday_1"

echo ". type:nsr group;name:$GROUP\nupdate schedule:$SCHED" | 
/usr/sbin/nsradmin -s sunlegato -i -
echo ". type:nsr group;name:$GROUP\nupdate Autostart:start now" | 
/usr/sbin/nsradmin -s sunlegato -i -
RC=$?
if [ $RC -eq 0 ];then
        exit 0
else
        exit $RC
fi
# 



Thanks   - Dave

David M. Ranieri
Evergreen Investments
200 Berkeley st
Boston, Mass. 02116-5034
Phone 617-210-2337
Fax 617-210-3755


The information contained in this e-mail is confidential, proprietary and 
intended only for the recipient on this message.  If you are not the 
intended recipient you are hereby notified that any disclosure, 
dissemination, distribution or unauthorized use is strictly prohibited and 
subject to prosecution to the fullest extent of the law!  If you are not 
the intended recipient please delete this e-mail and DO NOT ACT UPON, 
FORWARD, COPY OR OTHERWISE DISSEMINATE IT OR ITS CONTENTS.






"Werth, Dave" <dave.werth AT GARMIN DOT COM> 
Sent by: Legato NetWorker discussion <NETWORKER AT LISTSERV.TEMPLE DOT EDU>
09/26/2005 05:24 PM
Please respond to
Legato NetWorker discussion <NETWORKER AT LISTSERV.TEMPLE DOT EDU>; Please 
respond to
"Werth, Dave" <dave.werth AT GARMIN DOT COM>


To
NETWORKER AT LISTSERV.TEMPLE DOT EDU
cc

Subject
Re: [Networker] Running a backup from the networker client






David,

I initiate backups from a Solaris 7 system to a Networker Server running 
on
Windows 2K with the following code (korn shell):

==================================================================
# start oracle redo logs save
# see save_ora_redo* for the actual script that gets run
echo "
  . type: NSR group;
  name: ora-redologs
  update Autostart: Start now" | nsradmin -s NwkrServer -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: ora-redologs" | nsradmin -s NwkrServer -i - > $StatF
#
  if grep "status: idle;" $StatF
  then
        sgDone=1
  fi
done
===============================================================

I'm not sure what the exact coding would be on Windows but I think it's 
been
posted on the list before so you might check the archives.

Basically you can communicate with the NetWorker Server from a client
through the nsradmin command.

Hope this helps, Dave

David Werth
Garmin AT, Inc
Salem, Oregon
dave.werth AT garmin DOT com

-----Original Message-----
From: David Ranieri [mailto:dranieri AT EVERGREENINVESTMENTS DOT COM] 
Sent: Monday, September 26, 2005 1:45 PM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: [Networker] Running a backup from the networker client

Hello,
We are currently running networker 7.2.  My goal is to initiate a backup 
from a networker client machine.   Im wondering if there is a command I 
can 
use that will also accept schedule, and directive options.  I am looking 
at "save" but it dosent look like it will use a schedule for running full, 

and incrmental backups.   Anyone have any ideas?

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


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