Posted on 2013-11-14
Medium Priority
Last Modified: 2013-11-17
When we backup the database the backup will go to the default location..?

how we will change the default location..
Question by:dev_dba
LVL 38

Accepted Solution

Geert G earned 2000 total points
ID: 39650478
it depends how you backup
if you run rman with "backup database" it will go to the default location

logging into rman command line:
(change orcl with the sid of your oracle database)
set oracle_sid=orcl
rman target /

Open in new window

you can see the default device config with this:

rman>show default device type;

Open in new window

%F is the default format option for disk (see below for link)

you can change the default device configuration in rman to backup to a different default location
to place the backups in folder 'd:\oracle_backups\orcl'

configure default device type to disk format 'd:\oracle_backups\%F';

Open in new window

if you want other options for the format:
LVL 23

Expert Comment

ID: 39651402
Or are you using a tool other than RMAN?

Author Closing Comment

ID: 39655468
Thank you under stood the command for backup location other default location..

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

607 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