Guidelines for Protecting Data using HP StorageWorks Storage Mirroring with Volume Shadow Copy Service (VSS) (T2558-96332, March 2009)

The sample batch files provided are only examples. Because no two environments or configurations
are exactly the same, you MUST modify the sample scripts in order to make the solution work in
your environment.
Figure 1 SAMPLE_PRESNAPSHOT.TXT
.
NOTE:
Because the following files use the login command, which displays the password of the user ID
specified, you may not want to use the network administrator account.
You can create a user account specifically for this purpose, add it to the HP StorageWorks Storage
Mirroring Admin security group, and grant it the minimal access necessary to complete this task.
2. Create a batch file to run this script using the following sample
PRESNAPSHOT.BAT
batch file.
Figure 2 SAMPLE_PRESNAPSHOT.BAT
.
3. After the snapshot process is complete, you will want to resume execution of operations on the
target. To do this, create a batch file called
postsnapshot.txt
using the following sample file. Save this file to the location where Storage Mirroring is installed.
Sample Implementation18