Solved

db_recovery_dest for flashback

Posted on 2010-11-28
4
2,472 Views
Last Modified: 2012-05-10
in order to flashback database, I used the following steps..
but I could not create the destination..
I already created a file called dest.txt
still shows error. What could be the reason?
SQL> alter system set db_recovery_file_dest=c:\n.txt;
alter system set db_recovery_file_dest=c:\n.txt
                                        *
ERROR at line 1:
ORA-00922: missing or invalid option


SQL> alter system set db_recovery_file_dest= c:\n.txt;
alter system set db_recovery_file_dest= c:\n.txt
                                         *
ERROR at line 1:
ORA-00922: missing or invalid option


SQL> alter system set db_recovery_file_dest='c:\n.txt';
alter system set db_recovery_file_dest='c:\n.txt'
*
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-01261: Parameter db_recovery_file_dest destination string cannot be
translated
ORA-01263: Name given for file destination directory is invalid
OSD-04018: Unable to access the specified directory or device.
O/S-Error: (OS 2) The system cannot find the file specified.


SQL> alter system set db_recovery_file_dest='c:dest.txt';
alter system set db_recovery_file_dest='c:dest.txt'
*
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-01261: Parameter db_recovery_file_dest destination string cannot be
translated
ORA-01263: Name given for file destination directory is invalid
OSD-04018: Unable to access the specified directory or device.
O/S-Error: (OS 2) The system cannot find the file specified.


0
Comment
Question by:nobleit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
manzoor_dba earned 500 total points
ID: 34228988
Hi,

By default the db_recovery_file_dest will be configured with the Flashback desination folder. If you want to configure you own desination the proceed as per below..

1) You need to enter the value of the desination folder where you flashback files will be stored. You are not supposed to specify any file name  ( here you have mentioned a file name)..

If database is stared up using pfile:-

1) shutdown the database.
2) Modify the below parameter in the pfile.
   db_recovery_file_dest = 'C:\FLASHBACK'
   
  Here i have give the folder name as flashback which already exists in the c: drive.

3) The startup your database using the modified pfile.

If the database is started using spfile then.

1)
SQL> alter system set db_recovery_file_dest = 'C:\FLASHBACK'  SCOPE=Both;
System altered.


Thanks...

 




0
 
LVL 5

Expert Comment

by:anand_20703
ID: 34282733
manzoor_dba has given the pin pointed answer.
0
 

Author Comment

by:nobleit
ID: 34432593
Sorry for the delay. The issue is solved. Thank you for all your support..
0
 

Author Comment

by:nobleit
ID: 34528745
accept manzoor_dba and give points..
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
Via a live example, show how to take different types of Oracle backups using RMAN.

717 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