For more information on the tasks the Backup Manager performs, see the Oracle7 Server Administrator's Guide. For information about standard elements of your operating system, see your operating system-specific documentation.
Attention: Many Backup Manager tasks require SYSDBA privileges.
After the Backup Manager has successfully connected to a database, the Backup Manager main window displays. Figure 12 - 1 shows this window.
Figure 12 - 1. Backup Manager Main Window
As Figure 12 - 1 shows, the Tablespaces and Redo Log Groups containers display in a tree list on the left side of the Backup Manager window. These containers are contained in the database container, which displays the name of the database to which the application is connected.
The display on the right side of the window is determined by the object selected on the left side of the screen. The right side may contain a multi-column scrolling list or a property sheet.
For general information about:
When you select:
Tablespace | Name of the tablespace. |
Size (M) | Total size in megabytes of the datafiles that comprise the tablespace. |
Backup Status | Backup status of the tablespace: Active (an online backup of this tablespace is currently in progress), Not Active (no online backup of this tablespace is currently in progress); or Offline. |
Online Backup Started | Date and time the online backup of this tablespace started. If this column is empty, no online backup of this tablespace is currently in progress. |
Filename | Directory path and filename of this datafile. |
File ID | File ID of this datafile. |
Status | Status of this datafile: Available, Invalid, or Undefined. |
Size (M) | Total size in megabytes of this datafile. |
When you select:
Group | Group number of the redo log group. |
Sequence | Sequence number of the redo log group. |
Size (K) | Space allocated in kilobytes to the redo log group. |
Status | Logging status of the redo log group: Current, Active, or Inactive. |
Archived? | Indicates whether the redo log group has been archived. YES or NO. |
Low SCN | System Change Number for the first change recorded in the redo log group. |
Time of Low SCN | Date and time of the low SCN. |
Member Filename | Filename and directory path for the redo log member. |
Group | Group number of the redo log group to which this redo log member belongs. |
File Status | Status of this redo log member: In Use, Invalid (the file is inaccessible), Stale (the contents of the file are incomplete), or Deleted (the file is no longer in use). |
Group Status | Status of the redo log group to which this redo log member belongs: Current, Active, or Inactive. |
Archived? | Indicates whether this redo log member has been archived: YES or NO. |
Group # | Displays the redo log group number for this redo log group. |
Use Existing File(s) | Click this button to allow Oracle Enterprise Manager to use existing file(s). |
New File(s) Size | Click this button in order to specify the size of the new Redo Log Group file(s). |
KM Bytes | If you click the New File(s) Size button, enter the new file(s) size in the Bytes box and click K (default) to specify that the new file(s) size is in kilobytes, or M to specify that the new file(s) size is in megabytes. |
Current Members | Displays the filenames and directory paths for the redo log members of this redo log group. |
Remove | Disabled in this property sheet. |
New Member | Enter a new member for this redo log group in the New Member box. |
.... | Click the Browse button to display the Open dialog box, from which you can select the redo log file you want to enter in the New Member box. |
Add | Adds a new redo log member to this redo log group. |
The Add button is enabled when you enter a new redo log member in the New Member box. | |
Filename | Enter the new filename of the redo log group member. |
Group | Displays the redo log group to which the redo log member belongs. |
Shutdown Database | Shuts down the database. For more information, see "Shutting Down the Database," . |
Startup Database | Starts up the database. For more information, see "Starting Up the Database," . |
Restrict Sessions | Makes the database accessible only to users with the RESTRICTED SESSION system privilege. Users already connected are not affected. |
Allow All Sessions | Makes the database accessible to all users with the CREATE SESSION system privilege. |
Backup Tablespace Wizard | Allows you to create a job script for backing up the tablespaces of the database. For more information, see "Backing Up Tablespaces of the Database," . |
Begin Online Backup | Prepares the selected tablespace for an online backup. |
When you choose Begin Online Backup, two columns of the Tablespaces multicolumn list indicate that fact: the Backup Status column changes to "Active,"and the Online Backup Started column shows the data and time the backup was started. For more information on the Tablespaces multicolumn list, see "Multicolumn List for the Tablespaces Container," . | |
The Begin Online Backup menu item is enabled when an individual tablespace is selected, that tablespace is online, and the backup status of that tablespace is not currently active. | |
End Online Backup | Notifies the database that the online backup is complete. |
When you choose End Online Backup, two columns of the Tablespaces multi-column list indicate that fact: the Backup Status column changes to "Not Active,"and the Online Backup Started column no longer contains any information for that tablespace. For more information on the Tablespaces multi-column list, see "Multicolumn List for the Tablespaces Container," . | |
The End Online Backup menu item is enabled when an individual tablespace is selected, that tablespace is offline, and that tablespace is currently being backed up. | |
Place Tablespace Online | Places the selected tablespace online. |
The Place Tablespace Online menu item is enabled when an individual tablespace is selected, and that tablespace is offline. | |
Take Tablespace Offline | Places the selected tablespace online. |
The Place Tablespace Offline menu item is enabled when an individual tablespace is selected, and that tablespace is online. | |
Backup Control File | Displays the Backup Control File dialog box, from which you can enter the name and directory location of the backup control file for the database. |
Instead of entering this information, you can click on the Browse button to display the standard Open dialog box, from which you can select the destination for the control file backup. | |
Enable Automatic Archiving | Enables automatic archiving of online redo log files. |
Disable Automatic Archiving | Disables automatic archiving of online redo log files. |
Show Archive Log Info | Displays archive log information. For more information, see "Displaying Archive Log Information," . |
Manually Archive | Allows you to manually (explicitly) archive specified redo log files for the current database instance. For more information, see "Manually Archiving Redo Log Files," . |
Switch Logfile | Allows you to switch redo log groups. Choosing Switch Logfile automatically enables the next redo log group to become the current redo log group. |
Force Checkpoint | Forces a checkpoint. During a checkpoint, all modified database buffers are written to the appropriate datafiles. |
Add Log Group | Creates a new redo log group for the database. For more information, see "Adding a Redo Log Group," . |
Drop Log Group | Allows you to remove a redo log group from the database. |
The Drop Log Group menu item is enabled when an individual redo log group container is selected. | |
Add Log Member | Allows you to create a new member for an existing redo log group. For more information, see "Creating a New Member for an Existing Redo Log Group," . |
Drop Log Member | Allows you to remove a redo log file from a redo log group. |
The Drop Log Member menu item is enabled when an individual redo log file is selected. | |
Attention: Before shutting down a release 7.1 or later database, you must connect as SYSDBA or SYSOPER. Before shutting down a release 7.0 database, you must connect as INTERNAL.
The items of the Shutdown property sheet are described below:
Shutdown Options | Normal: Shuts down the database in normal mode. |
Immediate: Shuts down the database in immediate mode. (This is the default.) | |
Abort: Shuts down the database in the abort mode. | |
Shut Down | Click this button to shut down the database in the mode you have selected. |
Attention: Before starting up a release 7.1 or later database, you must connect as SYSDBA or SYSOPER. Before starting up a release 7.0 database, you must connect as INTERNAL.
The items of the Startup property sheet are described below:
Startup Options | Force: Forces an instance to start regardless of the operating circumstances. |
Restrict: Starts an instance in restricted mode. Connections are limited to those users who have been granted the RESTRICTED SESSION system privilege. | |
Parallel: Allows multiple instances to access a single database concurrently. | |
No Mount: Starts up the instance and mounts the database. The database is accessible only to database administrators. | |
Mount: Mounts a database upon instance startup. The database is accessible only to database administators. | |
Mount and Open: Starts up the instance, and mounts and opens the database. | |
Don't Use Stored Parameters (checkbox) | This checkbox only appears when initialization parameters are stored in the repository. If visible and not checked, a new INIT.ORA file will be created. |
Parameter File | Name of the parameter file used to start the instance. |
If you do not specify a parameter file, Oracle Enterprise Manager looks for the parameter file in the default location on your local machine. For information about the default location for the parameter file, see your operating system-specific Oracle documentation. | |
Browse: Displays the standard Open dialog box, allowing you to locate the parameter file. | |
Startup | Click this button to start up the database. |
To create a backup job script in order to back up one or more tablespaces of the database, choose Backup Tablespace Wizard from the Backup menu. The Backup Tablespace Wizard displays.
Attention: It is best to create a separate backup job script for each database you plan to back up, as it is highly unlikely that the data structures of any two databases would match.
The Backup Tablespace Wizard includes four pages that you complete in order to create a backup job script, which you can then run from the Job subsystem of the Console. These pages are described below:
Up | Click this button if you want to back up the tablespace(s) when the database is still operating (up). (This is the default.) |
Tablespaces online (hot): Click this button if you want to back up the tablespace(s) when the database is up and the tablespace(s) are online. | |
This button is enabled only when the Up button is selected. When the Up button is selected, this button is selected by default. | |
Tablespaces offine (cold): Click this button if you want to back up the tablespace(s) when the database is up and the tablespace(s) are offline. | |
This button is enabled only when the Up button is selected. | |
Down | Click this button if you want to back up the tablespace(s) when the database is down. |
Selected Tablespaces | Lists the tablespaces of the database that you want to back up. |
Arrow buttons | Use the left arrow button to add tablespaces selected in the Available Tablespaces box to the list of tablespaces in the Selected Tablespaces box. Use the right arrow button to remove tablespaces selected from the Selected Tablespaces box to the list of tablespaces in the Available Tablespaces box. |
Double-clicking on a tablespace in either box performs the same operation the arrow keys perform --it transfers the tablespace from one of these boxes to the other. | |
Available Tablespaces | Select tablespaces in this box which you want to back up. |
Write to Disk | Click this button to specify that the backup be written to disk. (This backup method is the default.) |
Directory: Enter the directory path for the backup file in this box. | |
The Directory box is enabled only when the Write to Disk button is selected. | |
Write to Tape | Click this button to specify that the backup be written to tape. |
Tape Label: Enter the label for the backup tape. | |
The Tape Label box is enabled only when the Write to Tape button is selected. | |
Device ID: Enter the Device ID of the tape drive to be used for the backup. | |
The Device ID box is enabled only when the Write to Tape button is selected. | |
Archive Using OS Command Line | Click this button if you want to archive the backed up tablespaces using a command at the operating system prompt. |
Command: In this box, enter the command to be invoked at the operating system prompt. | |
The Command box is enabled only when the Archive Using OS Command Line button is selected. | |
Arguments: In this box, enter the arguments for the command you entered in the Command box. | |
The Arguments box is enabled only when the Archive Using OS Command Line button is selected. | |
Command Process | Because the backup job script you are creating could be run on any remote platform, it is necessary to specify whether the operating system command you are specifying operates on multiple files or on a single file. |
Multiple Files: Click this button to specify that this operating system command can operate on multiple files. (Thus, if multiple backup files are to be archived, this command will be entered only once.) | |
The Multiple Files button is enabled only when the Archive Using OS Command Line button is selected. | |
Individual Files: Click this button to specify that this operating system command operates on a single backup file. (Thus, if multiple backup files are to be archived, this command will be entered for each of these files.) | |
The Individual Files button is enabled only when the Archive Using OS Command Line button is selected. | |
Filename | In this box, enter the filename and directory path of the file that will contain the backup script. |
.... | Click the Browse button in order to use a standard Save As dialog box to select a file that will contain the backup job script. This file will then appear in the Filename box. |
Finish | Click this button to create the backup job script. (This script is not a TCL script.) |
If creating the backup script was not successful, a message indicates how to correct the problem. If the backup script was created successfully, a message indicates that fact. | |
The Archive Log Information window includes the following information:
Database Log Mode | Indicates the currently enabled archive log mode: Archive Mode or No Archive Mode. |
Automatic Archival | Indicates the current status of automatic archival: Enabled or Disabled. |
Archive Destination | Indicates the current destination device or directory for the archived redo log group. |
Oldest Online Log Sequence | Indicates the log sequence number of the oldest filled online redo log group. |
Next Log Sequence to Archive | Indicates the log sequence number of the next filled online redo log group to archive. |
Current Log Sequence | Indicates the log sequence number of the current online redo log group. |
Current | Archives the current redo log group, as well as any filled, but not yet archived online redo log groups. |
All | Archives all filled, but not yet archived, online redo log groups. |
Next | Archives the next online redo log group that has been filled but not yet archived. |
Group | Archives the selected redo log group. |
Logfile | Archives the redo log group associated with the selected redo log file (member). |
Destination Directory | In this box, enter the destination directory for the redo log group(s) you are archiving manually. (The default destination directory is that specified in the Archive Destination field of the Archive Log Information window.) |
.... | Click this button to display a standard Open dialog box, from which you can select a destination directory for the redo log group(s) you are archiving manually. |
The Create Redo Log Group property sheet is described below:
Group # | Displays the redo log group number that Oracle Enterprise Manager has automatically generated for this new redo log group. (For example, if redo log groups 1 and 2 already exist for the database, 3 appears by default in the Group # box.) |
You can change this default group number if you want. | |
Use Existing File(s) | Click this button to allow Oracle Enterprise Manager to reuse existing file(s). |
New File(s) Size | Click this button in order to specify the size of the new Redo Log Group file(s). |
KM Bytes | If you click the New File(s) Size button, enter the new file(s) size in the Bytes box and click K (default) to specify that the new file(s) size is in kilobytes, or M to specify that the new file(s) size is in megabytes. |
Current Members | Displays the current members of this redo log group. |
The Current Members box is empty when the Create Redo Log Group property sheet first displays. After you add a new member to this redo log group, the new member then appears in this box. | |
Remove | Click this button to remove the redo log group member that is selected in the Current Members box. |
New Member | Enter a new member for this redo log group in the New member box. |
.... | Click this button to display the Open dialog box, from which you can select the redo log file you want to enter in the New Member box. |
Add | Click this button to add the new member for this redo log group that you entered in the New Member box. |
Create | Click this button to create the new redo log group. |
The Create Redo Log Member property sheet is described below:
Filename | Enter the filename of the new member of the redo log group shown in the Group box. |
Group | From this box, select the redo log group to which you want to add a new member. |
Use Existing File | Click this button to specify that Oracle Enterprise Manager reuse an existing file. |
New File | Click this button to specify that Oracle Enterprise Manager create a new file. |