Solved

location

Posted on 2014-04-08
4
195 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
4 Comments
 
LVL 16

Accepted Solution

by:
Wasim Akram Shaik earned 250 total points
Comment Utility
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:praveencpk
praveencpk earned 250 total points
Comment Utility
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 22

Expert Comment

by:Steve Wales
Comment Utility
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

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

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many‚Ķ
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 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.

771 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

11 Experts available now in Live!

Get 1:1 Help Now