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
Solved

db_recovery_dest for flashback

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.

837 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