Control file Autobackup [message #436671] |
Fri, 25 December 2009 01:31 |
zahidbashir
Messages: 34 Registered: September 2009
|
Member |
|
|
Hi,
I am configuring control file auto backup using RMAN.
I connected to RMAN and wrote this
RMAN> configure controlfile autobackup
2> format for device type disk
3> to '$HOME/BACKUP/RMAN/%F.bck';
new RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '$HOME/BACKUP/RM
AN/%F.bck';
new RMAN configuration parameters are successfully stored
starting full resync of recovery catalog
full resync complete
Before that i created the BACKUP>RMAN folders in oracle > Ora92
Again using RMAN i wanted to make a backup of the current control file and the response was...
RMAN> backup current controlfile;
Starting backup at 25-DEC-09
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current controlfile in backupset
channel ORA_DISK_1: starting piece 1 at 25-DEC-09
channel ORA_DISK_1: finished piece 1 at 25-DEC-09
piece handle=D:\ORACLE\ORA92\DATABASE\0HL1PPD0_1_1 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 25-DEC-09
Starting Control File and SPFILE Autobackup at 25-DEC-09
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_DISK_1
channel at 12/25/2009 12:14:27
ORA-19504: failed to create file "$HOME/BACKUP/RMAN/c-2298047733-20091225-02.bck
"
ORA-27040: skgfrcre: create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
why does it fail to create the file in the specified directory..
Please help coz em newbie...
Regards
|
|
|
|
|
|
|
|
|
|
Re: Control file Autobackup [message #436690 is a reply to message #436689] |
Fri, 25 December 2009 09:53 |
zahidbashir
Messages: 34 Registered: September 2009
|
Member |
|
|
Thanks Mahesh
Its done.. tnx alot for the help.
RMAN> configure controlfile autobackup
2> format for device type disk
3> to '%ORACLE_HOME%\BACKUP\RMAN\%F.bck';
old RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '$HOME\BACKUP\RM
AN\%F.bck';
new RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%ORACLE_HOME%\B
ACKUP\RMAN\%F.bck';
new RMAN configuration parameters are successfully stored
starting full resync of recovery catalog
full resync complete
RMAN> backup current controlfile;
Starting backup at 25-DEC-09
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current controlfile in backupset
channel ORA_DISK_1: starting piece 1 at 25-DEC-09
channel ORA_DISK_1: finished piece 1 at 25-DEC-09
piece handle=D:\ORACLE\ORA92\DATABASE\0TL1QNLJ_1_1 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
Finished backup at 25-DEC-09
Starting Control File and SPFILE Autobackup at 25-DEC-09
piece handle=D:\ORACLE\ORA92\BACKUP\RMAN\C-2298047733-20091225-08.BCK comment=NO
NE
Finished Control File and SPFILE Autobackup at 25-DEC-09
[Updated on: Fri, 25 December 2009 09:57] by Moderator Report message to a moderator
|
|
|
|