07-04-08, 17:12 #1Registered User
- Join Date
- Jul 2008
Unanswered: Wrong RMAN backup location with CONFIGURE
my RMAN-Backups are always listed in $ORACLE_HOME/dbs (see output filename).
I don't use a Flash Recovery Area, and won't use it in the future.
My RMAN logfile looks like this:
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
As you can see, my backups are listed in $ORALCE_HOME/dbs. 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):
allocate channel d1 type disk;
allocate channel d2 type disk;
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.
What am I doing wrong?
Can s.o. help me plz?
07-04-08, 17:32 #2Registered User
Provided Answers: 1
- Join Date
- Aug 2003
- Where the Surf Meets the Turf @Del Mar, CA
>Unfortunately the command below doesn't work
Your post does not work, either.
My car does not work.
Tell me how to make my car go.
One possibility is the use of environmental variable & "here script".
Another possibility would be via softlinks made by invoking driver script.
If the $ORACLE_SID is part of every file name, then all database can be saved to same directory.
Last edited by anacedent; 07-04-08 at 17:39.You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.
Good judgement comes from experience. Experience comes from bad judgement.