Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: backup and restore

Re: backup and restore

From: John Chiu <johnymc_at_netscape.net>
Date: Thu, 4 Nov 1999 18:32:06 -0500
Message-ID: <7vt50n$m3d$1@news2.tor.accglobal.net>


Before you do hot backup, get the current redo log file information by issuing

               SVRMGR> archive log list this will give you the archive destination and the starting log sequence. then you set the destination tablespace to hot backup mode

              SVRMGR> alter tablespace xxxx begin backup; backup your tablespace datafile using os command, then reset the tablespace hot backup mode

              SVRMGR> alter tablespace xxxx end backup; get the archive log information again. This is the last redo file sequence you keep as part of your backup.

              SVRMGRL> archive log list Force a logfile switch so that the redo will be stored in another logfile

              SVRMGRL> alter system switch logfile; backup your archived logfiles and controlfile For recovery, just restore the datafiles and redo logfile, then perform a tablespace recovery.

hth

John Chiu. Received on Thu Nov 04 1999 - 17:32:06 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US