| 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 |
Send this thread to your friend |