?
Solved

location

Posted on 2014-04-08
4
Medium Priority
?
212 Views
Last Modified: 2014-06-10
RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'I:\Ora-Backup\DB001\BKP_%U';
RMAN> run
2> {
3> backup database;
4> backup archivelog all;
5> }


When we give this command

RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'I:\Ora-Backup\DB001\BKP_%U';


All the backup will go to that location

full datbaase and archivelog..
0
Comment
Question by:tonydba
[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
4 Comments
 
LVL 16

Accepted Solution

by:
Wasim Akram Shaik earned 1000 total points
ID: 39987981
Yes, back up will go to the location specified in the channel, but there can be more than one channel configured

 If you have multiple channels allocated, then check what all are configured in RMAN  by typing this command

RMAN > show all;

this will list you out all the parameters where in you can check how many channels are configured,

check output of show all command after you run your command and check for these words

CONFIGURE CHANNEL DEVICE TYPE, you can verify the output going to the location after setting the parameter
0
 
LVL 12

Assisted Solution

by:Praveen Kumar Chandrashekatr
Praveen Kumar Chandrashekatr earned 1000 total points
ID: 39988132
We can also override these setting by manually allocating the channels  and defining the new locations in the backup script as show below

RUN
{
  ALLOCATE CHANNEL ch1 DEVICE TYPE DISK FORMAT = '/backup/BKP_%U';
  backup database plus archivelog delete input;

}
0
 
LVL 23

Expert Comment

by:Steve Wales
ID: 40124029
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
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.
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.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

719 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