hOT backup with rman

Posted on 2008-09-29
Last Modified: 2013-12-19
I need to do hotback up with rman can i get easy to follow steps. the db is in noarchive log mode

oracle 9i  on hp Unix
Question by:taaz
  • 3
  • 3
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 22599529
>the db is in noarchive log mode
then, you cannot do a hotbackup. full stop.
you have to get the database into archivelog mode first.

once you have that, here is a sample backup script:
rman target sys/*** nocatalog
run {
allocate channel t1 type disk;
format '/app/oracle/db_backup/%d_t%t_s%s_p%p'
( database );
release channel t1;

Open in new window


Author Comment

ID: 22599861
How to put the database in archive log mode
i know  alter database archivelog;
do i need to change any thing in the pfile or init.ora to make it permanent? and if so how do I ahve to go about that.

LVL 143

Accepted Solution

Guy Hengel [angelIII / a3] earned 500 total points
ID: 22599958
your pfile/init.ora needs this one to know where to write the archivelogs:

your "alter database archivelog" is to enable the archivelog mode indeed; it will not start the logging itself, though.

to start (stop) the logging process would be:
alter system archive log start;
alter system archive log stop;

your pfile/init.ora will need this setting, unless you want to actually start the logging manually each time you start the db:

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.


Author Comment

ID: 22600063
You almost complete the answer. if possibel please tell me how to get to open the pfile.
I guess  $ORACLE_HOME/dbs   and do vi and add the entry
log_archive_start=TRUE is this write or you have better solution to this.

LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 22600147
if you have a spfile, you don't open it actually.
you use:

if it's a init.ora (pfile), then you just open it with a text editor (vi for example).

Author Closing Comment

ID: 31407083
Always quick and great
Thanks Angellll

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Oracle SQL syntax check  without executing 6 108
Oracle SQL - Query help 7 80
best datatype for oracle table email creation 8 78
oracle differnce between two timestamps 5 40
This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Introduction A previously published article on Experts Exchange ("Joins in Oracle", makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
This video shows how to recover a database from a user managed backup
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question