Ramin Hossaini's Blog

14Mar/10

Backing up an Oracle database without RMAN

If you aren’t using RMAN for your backups (and are using something like Netapp’s snapshots, or the simple copy-command) (in Oracle 9i this can only be done when the Database is in mounted-mode, not opened), you can do this:

Note: Archivelog must be enabled for this to work.

ALTER DATABASE BEGIN BACKUP;

At this point, you can begin copying/taking snapshots. When you’re done:

ALTER DATABASE END BACKUP;

In older databases, you’ll have to use (run for every tablespace):

ALTER TABLESPACE tablespace_name BEGIN BACKUP;
ALTER TABLESPACE tablespace_name END BACKUP;
Tagged as: , No Comments
8Mar/10

Starting, stopping, and Status of Oracle Enterprise Manager (EM)

To start the Oracle Enterprise Manager Database Control (from the command-line):

emctl start dbconsole

To get the status:

emctl status dbconsole

To stop the dbconsole

emctl stop dbconsole

To access the EM (with default settings):

http://hostname:5500/em
Tagged as: , , No Comments
Private
Page 1 of 11
Bear