Connecting To The Database; Starting The Database; Backing Up The Database - Novell ZENWORKS LINUX MANAGEMENT 7.2 IR2 - ADMINISTRATION GUIDE 09-25-2008 Administration Manual

Table of Contents

Advertisement

9.3.3 Connecting to the Database

You can use either of the following methods to connect to the Oracle database being used for the
Data Store:
Start RMAN at the operating system command line without connecting to a database, by
issuing the RMAN command without any connection options:
$ rman RMAN> CONNECT TARGET /
Start the RMAN executable at the operating system command line while connecting to the
database:
$ rman TARGET /
If the database is already mounted or open, RMAN displays output similar to the following:
Recovery Manager: Release 9.2.0.0.0
connected to target database: RMAN (DBID=1237603294)
The DBID value displayed is the database identifier for the target database.
If the target database is not started, RMAN shows the following message:
connected to target database (not started)
RMAN>
# the RMAN prompt is displayed

9.3.4 Starting the Database

1 Start the database using the following command:
RMAN> startup mount
This command starts an Oracle instance if it is not already started, and mounts the database but
does not open it.
If the mount was successful, then the following output is displayed:
Oracle instance started
database mounted
Otherwise, appropriate error messages are displayed, indicating the causes of failure and
suitable solutions.

9.3.5 Backing Up the Database

You can back up the database to the default disk location. The default location is OS-specific. On
Linux, the default path where backup files are stored is $ORACLE_HOME/dbs.
To make a full backup of the data files, control files, and the current server parameter file to the
default device type (which is the disk), use the following backup command at the RMAN prompt:
RMAN> BACKUP DATABASE;
In the above command, the FORMAT parameter is not specified, so RMAN automatically gives
each backup piece a unique name and stores it in the OS-specific default location
($ORACLE_HOME/dbs on Linux).
To specify a filename for the backup piece, use the backup command with the FORMAT parameter:
ZENworks Object Store and Data Store Maintenance
91

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zenworks linux management 7.2ir2

Table of Contents