Solved

db_recovery_dest for flashback

Posted on 2010-11-28
4
2,456 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Repeat query 13 74
upgrading Oracle 10g/ 11g / 11g R2 to Oracle 12c 25 89
date show only hh:mm 2 40
error starting form builder in 11g 2 27
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
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.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

730 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