Solved

backup-l

Posted on 2013-11-14
3
340 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

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…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now