Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scheduling Cloning 2

Status
Not open for further replies.
Sep 26, 2000
1
US
Hi All,

We clone one of the group to a separate pool.
By Default cloning happens at the time of backup itself.
I know there is a way to automate cloning a whole group at a later time, when backup server is relatively free. This way I can optimally utilize my backup resources and my backup will not depend on the availabilty of Clone Pool Tapes.

Please note that I am not looking for manually cloning the volumes.

I will appreciate any suggestions.

Vipin [sig][/sig]
 
You could adapt the following :-

# where name is the save set name
#

Start_time="Thu Aug 31 00:50:09 NZST 2000"

End_time="Thu Aug 31 07:50:09 NZST 2000"

# MMinfo to get names of CP tapes used

host=`uname -n`
savesets=`mminfo -s $host -q&quot;name=backint:MRP,name=backint:symlinks,copies=1,client=$host,savetime>=$Start_time,savetime<=$End_time&quot; -r ssid`

echo Initiating cloning of following saveset ids:
echo $savesets | fmt
echo

nsrclone -v -s $host -b &quot;Production Clone&quot; -S $savesets [sig][/sig]
 
Any chance of you translating that text into NT-related text for me? I kinda have it so far, but the UNIX referenced text throws me off. I'm still learning UNIX.

Thank you,



CF cfowler@city.london.on.ca
 
I have the same problem with NT scripting. I will try and get one of our NT people to translate it. In the meantime here is a rough explanation of what it is doing....

Start_time=&quot;Thu Aug 31 00:50:09 NZST 2000&quot; This will write the start time into a string. This is called just before the backup starts.This example writes the date manually.
End_time=&quot;Thu Aug 31 07:50:09 NZST 2000&quot; same thing only after
# MMinfo to get names of CP tapes used
host=`uname -n` Writes the host’s/client’s name to string
The following writes the outcome of the mminfo command into the string ‘savesets’ ready to pass to the nsrclone command. $ indicates a string
savesets=`mminfo -s $host
-q&quot;name=backint:MRP,name=backint:symlinks, name of the backup as it is known to Solstice/Legato. In this case 2 names are quoted
copies=1,
client=$host read the name from the string host
,savetime>=$Start_time,savetime<=$End_time&quot; Check for backups taken during this period only
-r ssid` Return a list of ssids
echo Initiating cloning of following saveset ids: Not required for info only

nsrclone -v -s $host -b &quot;Production Clone&quot; -S $savesets clone using list of ssids from string savesets
 
I'd sure love to see something like this in an NT format. I know most of you folks are UNIX, but I can only spell NT.
 
I just implemented a custom cloning system on my Windows 2000 NetWorker server that I got from The Networker Journal ( This system interrogates new savesets that are added each night, and clones them when tape drives are available. It also clones by volume (by chasing the PSSID chain), so it makes cloning quicker, yet still uses the standard Legato nsrclone mechanism. It's really working out well for us!

-jar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top