Académique Documents
Professionnel Documents
Culture Documents
Archive Software
On-Line HOT Backup;
Two backup utilities which allow you to continue using the database while it is being backed up are Veritas'
Backup Exec and Cheyenne's ArcServe Utility. These Backup Utilities provide an Optional software
product called an Oracle Agent. It is this software, Oracle Agent, when installed as part of BackupExec or
ArcServe provides an On-Line HOT backup of the CommerceAgency Oracle database.
Off-Line COLD Backup:
Some backup software (including BackupExec and ArcServe) has the ability to run external procedures
(specifically DOS batch files) before and after it performing the normal backup of the files on a Server. For
these programs, we have created batch files to stop, backup, and restart the Oracle instance. The base
versions of these batch files are contained within the DBScripts directory of the CommerceAgency
Installation CD-Rom.
If the backup software cannot run an external procedure, you must shutdown the Oracle instance manually,
perform the backup, then restart the instance. The LifeMarkets supplied batch files can perform this
Function.
Ensuring that a complete and restorable Oracle Database backup file is created and accessible for future
recovery requires several setup steps and constant monitoring of the backup logs to ensure the success of a
future restore.
5. If during the RECOVER Datafile steps, a datafile is unable to be recovered due to the Oracle system
unable to find the REDO log files (Recovery is looking for a particular Thread and Sequence #) then
Archive Mode will need to be disabled, then the Recovery steps repeated.
a.
b.
c.
d.
e.
f.
g.
h.
i.
j.
k.
l.
m.
n.
o.
p.
6. Before users access the database, turn Archive Log Mode back on. Follow the published instructions to
turn Archive Log Mode on.
Oracle 8i
1.
2.
3.
4.
5.
If you must close the Command Prompt window, type exit to close the Server Manager and type exit to
close the Command Prompt. Proceed with your backup.
Type startup
The last two lines of startup messages should contain
Database mounted.
Database opened.
Type exit to exit the Server Manager
Type exit to close the Command Prompt window
These are general instructions to perform an Oracle database recovery. Depending on what Oracle database
files are corrupt or lost will determine the process used to restore the database. I would recommend one of
the Oracle DBA Handbooks available from independent bookstores as a reference guide to administering an
Oracle database and performing a database backup and restore.
To Test the Oracle backup you can use the following steps. In the case of an actual disaster the state
of the database at the time of the problem will need to be determined and these steps may need to
be altered.
1) Restore the lost Oracle database files from the backup tape
2) Restore any Archive Log (Redo) files from the backup tape. You will only need the Archive log files that
contain dated transactions after the Oracle backup started. (example: If the backup started at 2:00am, only
the Archive Log files that contain transactions after 2:00am will be needed). This may require restoring
Archive Log files that have a creation date just before the Oracle backup starts.
3) Mount the database (do not perform a full database startup
(From a DOS prompt, issue the following commands)
When prompted, enter the file names of each of the requested Archived Log (Redo) files that had been
created since the previous Oracle database backup. These files will be located within the Oracle
Home directory structure, and should also have been backed up to tape. Enter the files names by
date, starting with the oldest file first. When all the Archive Log files have been processed, start the
database.
SVRMGRL> alter database open;
Shutdown the database, and start with a normal startup command.
SVRMGRL> shutdown immediate;
SVRMGRL> startup
4) Start the CommerceAgency application and look at the data, try to determine if the data contained within
the database is correct, and reflects the condition of the database up to the failure.