Periodically, it may be required to resynchronize the test or development environment with current production data. This can be efficiently achieved using the Flashsnap feature of Storage Foundation and High Availability Solutions products.
To refresh a test environment
# vxdg deport testdevdg
# vxdg import testdevdg
# vxsnap -g appdg reattach snapvol source=appvol
# vxsnap -g appdg make src=appvol/nmirror=1/new=snapvol
# vxdg split appdg testdevdg snapvol
# vxdg deport testdevdg
# vxdg import testdevdg
Once this step is done, the snapvol present in testdevdg is ready to be used for testing or development purposes.
You can also create further snapshots of snapvol in order to create more test or development environments using the same snapshot. For this purpose, the following mechanisms can be used:
Mirror breakoff snapshots
Space-optimized snapshot
See Preparing a space-optimized snapshot for a database backup.
Veritas File System Storage Checkpoints
For more detailed information, see the Storage FoundationTM Administrator's Guide