When you have finished using a clone database or want to refresh it, you can resynchronize it with the original database. This is also known as refreshing the snapshot volume or merging the split snapshot image back to the current database image. After resynchronizing, the snapshot can be retaken for backup or decision-support purposes.
There are two choices when resynchronizing the data in a volume:
The recovery method is different depending on how the SNAPSHOT_MODE is set in the snapplan.
See Snapshot mode.
Before resynchroninzing the snapshot to your database, make sure the following conditions are met:
Prerequisites |
|
Usage notes |
|
In this example, the snapshot image is resynchronized with the primary database.
$ /opt/VRTS/bin/db2ed_vmsnap -D PROD -f snap1 -o resync
db2ed_vmsnap started at 2006-03-10 14:57:36 The option resync has been completed. db2ed_vmsnap started at 2006-03-10 14:58:05