Testing software applications that run on a database can sometimes change or corrupt the database. To ensure that you do not lose data while testing such applications, you can copy the data to another volume for testing purposes, break the SnapMirror relationship and return the destination volume to writable state, and run the test application on it. Upon completion of the test, you can resynchronize the source and the destination volume.
dst> snapmirror quiesce /vol/dst_vol/Testqtree dst> snapmirror break /vol/dst_vol/Testqtree
|The data has been altered in some way that is not useful and you want to import a fresh copy of the data for further testing.||From the destination system, enter the following command:snapmirror resync Test_vol
Note: For a qtree, the path must be specified as shown in the following example:
src> snapmirror resync dst_system:/vol/dst_vol/Testqtree /vol/src_vol/Testqtree
SnapMirror makes the former destination volume into a SnapMirror destination again and updates the destination with the latest data.
|The data has not been altered adversely, or you wish to stop testing.||The task is completed.|