Page 1 of 1
Scripts to sync tasks
Posted: Mon Nov 14, 2011 9:49 pm
by KelphiD
Hi to everybody...!! we´re working in our backup solution with Data Protector, and we need to automate some tasks, like in EVAs with RSM or RAID Manager with XP arrays (create mirror-snapshot from vdisk, break synchronization, mount to host backup, backup with DP and re sync again, and so on in a cycle...) it´s posible in 3Par doing this... what command we should to use??
Thanks for your help and comments...
Re: Scripts to sync tasks
Posted: Fri Nov 18, 2011 4:21 pm
by Richard Siemers
This post has a basic script you can use as a template.
viewtopic.php?f=17&t=45Basic workflow may be:
createsv to create the snaps.
createvlun to export it to backup host
mount the LUNs within the host OS
run the backup
unmount the LUNs
removevlun to take the luns away from the host
removevv to remove the name of the SNAPSHOT.
I think the best place for such a script to run would be in the pre and post execution scripts of the backup job on the backup server.
--Richard
Re: Scripts to sync tasks
Posted: Tue Nov 22, 2011 1:17 pm
by KelphiD
Hi Richard, Tks for your response...
I was review this post, and effectively I was used it to work with it in my script...
Very good, eh? This guided me... Now I have to remove to use plink, because our customer don´t accept this because this is "not supported for HP".... So this is my first task to modified...
Later I'll post the scripts that we created based on that found in the forum ...
Thanks for all, very usefull for people that work with 3Pars...