Before using the snapshot volumes to do a backup, you must first mount them.
dbed_vmclonedb
command as follows:
$ /opt/VRTS/bin/dbed_vmclonedb -S
ORACLE_SID -g
snap_dg
\
You can now back up an individual file or a group of files under a directory onto the backup media.
In this example, snapshot volumes are mounted.
$ /opt/VRTS/bin/dbed_vmclonedb -S PROD -g SNAP_PRODdg
\
-o mount,new_SID=NEWPROD -f snap1 -r /clone/single
dbed_vmclonedb started at 2004-04-02 15:35:41
Mounting /clone/single/prod_db on /dev/vx/dsk/SNAP_PRODdg/SNAP_prod_db.
Mounting /clone/single/prod_ar on /dev/vx/dsk/SNAP_PRODdg/SNAP_prod_ar.
dbed_vmclonedb ended at 2004-04-02 15:35:50
To mount a Storage Checkpoint carried over from the snapshot volumes to a secondary host
$
/opt/VRTS/bin/dbed_ckptmount -S
ORACLE_SID
-c
CKPT_NAME
\
-m MOUNT_POINT
$
/opt/VRTS/bin/dbed_vmclonedb -o umount,new_sid=
new_sid
\
-f SNAPPLAN
dbed_vmclonedb
command with the -o mount
option without the use of -r
relocate_path
.
dbed_vmclonedb
with the -o mount
option. After a clone database is created using dbed_vmclonedb
with the -o recoverdb
option, however, Storage Checkpoints are no longer present.
To back up the database using the snapshot
Note If you use the Oracle online backup method, you must also back up all the archived log files in order to do a complete restore and recovery of the database.