Networker

[Networker] How to automate cloning after command line save?

2003-11-24 15:10:07
Subject: [Networker] How to automate cloning after command line save?
From: George Sinclair <George.Sinclair AT NOAA DOT GOV>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Mon, 24 Nov 2003 15:09:58 -0500
Hi,

Just curious if it's possible to automate the cloning of a saveset after
the save command completes? I know it can be done from the gui by
setting the clone pool under the affected group, but if you're running a
save command from the command line, is there any way to do this aside
from just creating a script and having the script query the database for
the ssid and then have the script run the nsrclone command against it?

I see that there's a -g group option for save but seems like you'd have
to have the savesets already listed under the given client in nwadmin to
make it work. I can't hard code it ahead of time because this will be
running out of cron nightly. The script will back up and clone whatever
it finds in this one particular directory that matches a specific naming
convention but only if it's not yet been backed up or was but failed or
was incomplete. This is why I need to run it from a script. I want the
script to clone the saveset after it backs it up, so I was wondering if
I could get NetWorker to do it all from one command.

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>