This section provides many examples how to use the svsdbsnap command.
See the svsdbsnap (1M) manual page for more detailed information.
To display the FileSnap copies of a database
$ svsdbsnap -o display -P $ORACLE_HOME/dbs/initORCL.ora -------------------------------------------------------------------- NAME STATUS ARCH_DEST -------------------------------------------------------------------- new_snap VALID /oranfsdata2/primary/ARCH ORCL_SNAP_2011-04-01:13:29:30 VALID /oranfsdata2/primary/ARCH --------------------------------------------------------------------
To create a clone database from the FileSnap copy by new_snap
new_snap
:$ svsdbsnap -o create -P $ORACLE_HOME/dbs/initORCL.ora -n \ new_snap -c testdb Creating Clone database with ORACLE_SID = testdb Using new_snap Clone create control file created. Creating Clone pfile /new11gr2/home/dbs/inittestdb.ora Clone database is mounted. Clone Database Opened Successfully Database CLONE using DBSNAP new_snap created successfully Program Completed