Solved

backup-l

Posted on 2013-11-14
3
348 Views
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..
0
Comment
Question by:dev_dba
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 37

Accepted Solution

by:
Geert Gruwez earned 500 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:
http://docs.oracle.com/cd/E11882_01/backup.112/e10643/rcmsubcl010.htm#BABBCDDA
0
 
LVL 23

Expert Comment

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

Author Closing Comment

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

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
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 Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

707 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