Oracle8(TM)
Getting Started for Windows NT Release 8.0.3 A54894-01 |
|
This chapter provides information on backing up and recovering your database.
Specific topics discussed are:
Backing up and recovering your Oracle8 database is one of the most critical operations that a DBA performs. For this reason, it is extremely important that a DBA choose the correct tool for performing backup and recovery. The table below describes each available backup and recovery tool and makes recommendations on which tool to use with your Oracle8 database.
Tool | Tool and Description | Analysis of Tool | To Use this Tool, See... |
---|---|---|---|
Oracle Enterprise Manager Backup Manager |
The Oracle Enterprise Manager Database Application Tools include a Backup Manager for backing up and recovering your Oracle8 database. The Backup Manager:
The Backup Manager enables you to back up and recover your database through a graphical user interface (GUI). This GUI enables you to use either of the two backup subsystems:
|
Highly recommended for backing up and recovering your Oracle8 database because of capabilities and ease of use. Works in conjunction with Recovery Manager (RMAN80.EXE). Backing up to tape requires an optional media management layer (MML) from a third-party vendor. |
Oracle Enterprise Manager Administrator's Guide for instructions |
Recovery Manager (RMAN80.EXE) in command line mode |
Recovery Manager in command line mode is an Oracle8 tool that manages the process of backing up, restoring, and recovering files. Recovery Manager uses a special PL/SQL interface to the server for invoking backup functions. The user is unaware of this interface and instead interfaces only with a command line. |
Command line usage only. Must clearly understand the command line syntax described in Oracle8 Server Backup and Recovery before using. Backing up to tape requires an optional MML from a third-party vendor. |
Chapter 4, "Database Tools" for instructions on accessing this tool and Oracle8 Server Backup and Recovery for instructions on using this tool |
Third-party vendor products |
Third-party vendors such as Cheyenne and Legato provide tape backup software that works with Backup Manager and RMAN80.EXE. |
Can back up to tape. Contact your third-party vendors for additional information. |
Third-party vendor documentation |
NT Backup Manager and NT Recovery Manager (GUI tools) |
NT Backup Manager and NT Recovery Manager are Oracle tools that enable you to perform database backups to disk or tape. |
Can back up to 4mm tape. Can perform hot and cold backups. To perform a hot backup, you must first use OCOPY to copy the files to a staging area, and then use NT Backup Manager. This is the last release of this product on Oracle8. |
Online help included with these tools. |
OCOPY |
An Oracle executable that behaves like Windows NT's XCOPY command. OCOPY is needed when performing a hot backup manually (that is, backing up a tablespace that is in offline backup mode). |
Command line usage only. Can back up only to disk. Can only perform local backups. |
The sections "Backing Up Files with OCOPY" and "Recovering Files with OCOPY" in this chapter |
Use OCOPY for both hot and raw database file backups of the following file types:
This table describes the two copy modes in which to use OCOPY:
This table describes the syntax to use when backing up all file types to hard disk or multiple diskettes.
Note: Always use a fresh diskette for each OCOPY procedure; do not use OCOPY to back up a file onto a diskette that contains part or all of another file backed up using OCOPY. |
The table below describes the syntax to use when recovering all file types from hard disk or multiple diskettes.
Restore From... | File Type to Restore | Syntax |
---|---|---|
Hard Disk1 |
FAT or NTFS files |
Use the Windows NT COPY command. |
|
Logical raw |
C:\> OCOPY80 new_file \\.\c: |
|
Physical raw |
C:\> OCOPY80 new_file \\.\physicaldriveN |
Multiple diskettes2 |
FAT or NTFS files |
C:\> OCOPY80 /R a: restore_dir Note: First insert the disk containing the initial part of the backed up file. |
|
Logical raw |
C:\> OCOPY80 /R a: \\.\c: |
|
Physical raw |
C:\> OCOPY80 /R a: \\.\physicaldriveN |
1 These are files
originally backed up without the /B option. 2 These are files originally backed up with the /B option. |
|
Copyright © 1997 Oracle Corporation. All Rights Reserved. |
|