Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: Backup & Recovery >> wrong RMAN backup location with CONFIGURE

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: wrong RMAN backup location with CONFIGURE
 eyecycas  Posted: Jul 04, 2008 04:21:24 AM

 Total Post: 9
 Joined: Nov, 2007






 Hello,

my RMAN-Backups are always listed in $ORACLE_HOME/dbs (see output filename).

Starting backup at 01-JUL-08
channel d1: starting datafile copy
input datafile fno=00001 name=...
output filename=/global/ora-dg/oracle-vol/product/10.2.0/dbs/data_D-TECRBR_I-935235287_TS-SYSTEM_FNO-1_9ajkd53s tag=TAG

But I want to give RMAN a new location (storage place) , where he can write to.

The RMAN script is startet out of another script.
With the command "backup format" in my RMAN cmd-file, RMAN writes it's output to my given storage place. Unfortunately this would have the disadvantage that, because of 8 instances, I have to create and execute my cmd-file for each instance dynamically, because every instance has another storage place for it's backups.
My intention is to configure RMAN through the instance with CONFIGURE!

Unfortunately the command below doesn't work

CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/global/<another_storage_place>/%U.bkp';

At the moment my cmd-File looks like this (with backup format):

run {
allocate channel d1 type disk;
allocate channel d2 type disk;
backup
format '/global/.../%U.bkp'
database plus archivelog;
release channel d1;
release channel d2;
}

My RMAN settings are:

RMAN> show all;

RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/global/<another_storage_place>/%F.bck';
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO COPY;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/global/<another_storage_place>/%U';
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/global/<another_storage_place>/snap_tecrbr.f';

How can I achieve through the instance !! (Default Permanent Settings mit CONFIGURE), that RMAN would write to the new storage place.

Can s.o. help me plz?


 Babu
Posted: Jul 05, 2008 06:31:35 AM  

 Total Post: 94
 Joined: Oct, 2007






 
>>Unfortunately the command below doesn't work

>>CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/global/<another_storage_place>/%U.bkp';

Why ? what happen ?

Babu

 eyecycas
Posted: Jul 07, 2008 05:37:24 AM  

 Total Post: 9
 Joined: Nov, 2007






 
Hello Babu,

thanks for replying.

>>Why ? what happen ?
Why? I have absolutely no idea!!
It need to work, but when I delete the "backup format"-command in my CMD-File and set my CONFIGURE CHANNEL parameter, my output files are written to $ORACLE_HOME/dbs again, and not to the path in CONFIGURE CHANNEL.
I don't understand it.

Any idea?

eyecycas

 Babu
Posted: Jul 08, 2008 06:36:43 PM  

 Total Post: 94
 Joined: Oct, 2007






 
Did you configured any catalog database ?

If yes; Using catalog only your taking backup. I'm correct?

Babu

 eyecycas
Posted: Jul 09, 2008 02:52:15 PM  

 Total Post: 9
 Joined: Nov, 2007






 
Hi Babu,

no I don't use a Recovery Catalog. But I found out the solution. S.o. from another forum told me. So check this out:

If I manually allocate channels, I will overwrite my default settings.
So I changed it to the following:

--Default permanent Settings of RMAN:
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/global/<another_storage_place>/%U.bkp';

--CMD-File

run {
backup database plus archivelog;
}

READY!

Thanks for you help, Babu!
Maybe we'll hear from each other again with another problem. ;o))

eyecycas

 Babu
Posted: Jul 09, 2008 09:11:36 PM  

 Total Post: 94
 Joined: Oct, 2007






 
Hi,

Thanks for information.

Actually I also faced same problem; but in my case I CLEAR backup format from production database itself not in catalog database.

Anyway; Once again thanks.

Babu

 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar857
  Mohammed Taj746
  positive fanatic483
  Jayanta Sur479
  Vigyan Kaushik386
  Gopu Gopi327
  Gitesh Trivedi322
  Vinoth Kumar264
  neeraj sharma258
  Ramesh Jois246






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software