SNAPVIEW Clone script for SQL server database on Windows 2003 server
We would to automate SNAPVIEW clone process for SQL server database on Windows 2003 server. We would like to automate synchronization, verification that sync is complete, fracture clone, mount and use clone on second host for reporting. repeat this process 4 times a day using the script. We are using Naviseccli commands manually for this process but No script. Does anybody have script to run on Windows 2003 server? Thank you.
I can't seem to find any of my clone scripts, i guess i never completed them. I did find a very simple snapshot script that might be helpful (had to recreate some it because I made some changes specific to another task).
Just need to pass the variables to the script (ie file.vbs VAR1 VAR2 VAR3 VAR4).
Dim lun, snapshot, session, storage_group Set args = WScript.Arguments
If WScript.Arguments.Count < 4 then WScript.Echo "Not enough Arguments Supplied" Wscript.Echo "ALU# - Snapshot - Session - Storagegroup" Wscript.Quit Else
lun = args.Item(0) 'ALU for Lun being snapped snapshot = args.Item(1) 'Snapshot name session = args.Item(2) 'Session name storage_group = args.Item(3) 'Storage group name End if
RRR
6 Operator
•
5739 Posts
212
0
Posted April 20th, 2009 04:00
I'm sorry I don't have examples for you, but perhaps this kicking up will trigger people to help you out.