Veritas Storage Foundation 5.1 SP1: Storage and Availability Management for Oracle (5900-1504, April 2011)
To create a snapshot
1
Change directories to the working directory in which your snapplan is stored:
$ cd /working_directory
2
Create the snapshot image using the dbed_vmsnap command.
$ /opt/VRTS/bin/dbed_vmsnap -S ORACLE_SID -f SNAPPLAN \
-o snapshot [-F]
The snapshot volumes now represent a consistent backup copy of the database.
You can backup the database by copying the snapshot volumes to tape or
other backup media.
See “Backing up the database from snapshot volumes (dbed_vmclonedb)”
on page 177.
3
You can also create another Oracle database for decision-support purposes.
See “Cloning a database (dbed_vmclonedb)” on page 181.
Example to create a snapshot image of the database PROD
In this example, a snapshot image of the database, PROD, is created for a
same-node configuration. In this case, the SECONDARY_HOST parameter is set
the same as the PRIMARY_HOST parameter in the snapplan.
Note: You must issue commands as an Oracle database administrator in the
following procedure.
$ /opt/VRTS/bin/dbed_vmsnap -S PROD -f snap1 -o snapshot
dbed_vmsnap started at 2006-03-02 14:15:27
VxDBA repository is up to date.
The database is running in archivelog mode.
A snapshot of ORACLE_SID PROD is in DG SNAP_PRODdg.
Snapplan snap1 is used for the snapshot.
If -r <relocate_path> is used in dbed_vmclonedb, make sure
<relocate_path> is created and owned by Oracle DBA. Otherwise,
the following mount points need to be created and owned by
Oracle DBA:
Using Database FlashSnap for backup and off-host processing
FlashSnap commands
176