Are we change nonarchive mode to archive mode using rman in enterprislinux
how can i change nonarchive mode to archive mode using Recovery manager in enterprise linux
Did you read the other post where you asked this same question: {message:id=3868427}
Similar Messages
-
Noarchive mode to archive mode
Hi,
I'm trying to backup my database in online mode. I've 2 instances: BDPROD and BDPROD2. BDPROD is already in archive mode. I'm trying to change BDPROD2, but when I shutdown the database and run startup mount, I received the error: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor. After trying again, I received 2 new errors: ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
Anyone have any ideia for help me?
Thanks11abcd94-7f56-4836-a39d-63d0d0de41d9 wrote:
Hi,
My Oracle runs in Linux.
My ORACLE_SID = BDPROD
My ORACLE_HOME = /usr/local/oracle/product/10.2.0/db_1
I've to change the ORACLE_SID?
It depends on how you are connecting to the database to do the shutdown/startup.
You should be doing it as a local connection. Log on to the linux server using the os account that owns the oracle installation, probably 'oracle'
set your environment variables correctly by using the oraenv utility as this:
oracle: . oraenv
That's "dot" "space" "oraenv"
You will be prompted for the correct ORACLE_SID.
After that you should be able to connect with a simple
oracle: sqlplus / as sysdba -
Deletion of archive log using RMAN Target in Oracle 10g
Hi All,
I recently have noticed that the archive logs have occupied 102 GBs out of the drive and I need to free up some space. When I tried to connect RMAN Catalog using
connect catalog user@dbI got error message as
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-06445: cannot connect to recovery catalog after NOCATALOG has been usedBut I was able to get through using
connect target user@dbMy Query is can I use
RMAN> delete noprompt expired archivelog all;as given in [how to delete archive log file |https://forums.oracle.com/forums/thread.jspa?threadID=2321257&start=0&tstart=0]
Or shall I take any other approach to delete the obsolete archive logs?
Regards,
*009*Hello;
I recently have noticed that the archive logs have occupied 102 GBs out of the drive and I need to free up some space. When I tried to connect RMAN Catalog using
connect catalog user@dbI got error message as
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-06445: cannot connect to recovery catalog after NOCATALOG has been usedBut I was able to get through using
connect target user@db
Are you trying to connect it through Grid control ? If connecting through a script, then please post its contents.
Make sure you are not connecting to the target database using "nocatalog".
rman target sys/<pwd_of_target>@<target_db> catalog <catalog_schema>/<catalog_schema_pwd>@<catalog_db>
My Query is can I use
RMAN> delete noprompt expired archivelog all;
as given in [how to delete archive log file |https://forums.oracle.com/forums/thread.jspa?threadID=2321257&start=0&tstart=0]
Or shall I take any other approach to delete the obsolete archive logs?
Regards,
*009*Are these archives backed up ? The above command only updates the RMAN repository if in case the archives were delete manually at OS level.
I would recommend you to backup these archives and then delete them.
RMAN>backup archivelog all not backedup 1 times delete input;If these archives are already backed up and have not been deleted from the disk, then you can use the below command
RMAN>delete force noprompt archivelog all completed before 'SYSDATE-n';where "n" is the number of days behind the current date. Make sure to verify if these archives have been backed up before deleting.
Regards,
Shivananda -
When to delete archive logs- using rman 10.1.0.5
Hello,
I am using rman to backup my database(10.1.0.5) along with backing up the archivelogs delete input. The retention of the backup is set to 1. I am backing the datafiles and archivelogs to disk /backupdata. I noticed that the /backupdata is filling up with a lot of backup archivelogs. Since the retention of the database is set to 1, does that mean that rman will also clean the archivelogs in /backupdata too? What I am asking is, since the retention is set to 1, does rman automatically determine witch archivelogs in the /backupdata to delete if rman determines that the archivelogs is not needed to satisfied the retention 1 condition??? Thank you in advance.rman won't automatically purge your backups. Retention policy can be defined to be 1 (what?) redundancy copies or recovery window?
You may have defined, let's say 1 redundant copy, which means you must have at least one backup to consider the other obsolete, and you will keep one redundant copy. The other backups are not automatically deleted, they are just marked obsolete, and you can delete them.
I suggest you to manually purge your backups, as they will fill up your storage. issue, from a recovery manager session:
rman> report obsolete;
rman > delete noprompt obsolete;
rman> report obsolete;
The delete noprompt obsolete will physically purge all backups reported as obsolete by the first command. You can confirm actions from the last command.
I suggest you to perform a periodic task to purge obsolete backups, schedule last command, it can be done once your regular backup ends.
If you have Enterprise manager DB Control console enabled, it can be scheduled using the internal scheduler, and it can be monitored from within EM.
~ Madrid. -
Colours are not changing when a certain value is used
Hi all. This might look strange. But anywayz...
I am developing a game related to controlling trains and preventing them from clashing into one another. Naturally, my game allows the user to control the colour of the signals present at each station. My game has 3 layers: the first one does the game calculations, the second does the rendering aspects of the game, and the third constantly passes latest game data to the rendering layer.
Now, the data for the signals comes from the first layer as an array of Integers. The array is named 'aspect'. Below is the code:
switch(aspect.intValue())
case 1:
objGraphics.setColor(java.awt.Color.RED);
break;
case 2:
objGraphics.setColor(java.awt.Color.ORANGE);
break;
case 3:
objGraphics.setColor(java.awt.Color.GREEN);
System.out.println("green");
The default colour of all the signals is red. Now while the game is in progress, if the user changes the colour of the signal to, for example, green, the change is not reflected on-screen. However, the SOP call works fine - the word 'green' is printed in the console.
What further surprises me is that if I change the statement 'case 1' to 'case 4', and then while the game is in progress, change the colour to green, then the change is reflected on the console.
I placed SOPs to find out if the values inside 'aspect' are correct. Ya they are correct - they contain values '1' at the start of the game, and when the user changes to green, then they contain '3'.
So what could be the problem?Jeez... sorry.. my mistake.
What I was doing was this: for drawing the signals, I take all the signals from the Calculations layer and store them in a Vector. Now this becomes a Vector of Integer arrays.
In the Rendering layer, I have a loop which draws the stations. I also have a method which draws the aspects for each station. Inside the loop, for each station, I call this method. But I don't know what I was thinking while writing the method - I wrote it such dat it draws all the signals for all stations. Thus, for each call, it would redraw all the signals, not the ones for the current station.
I have changed dat now, and it works. When the user selects a station and then selects the signal he wants, the change is rendered onscreen. Yippee!!
sabre150, u were right after all!!! Also, thanks to all those who stopped by to rack ur brains over an issue that shouldn't have been one in the first place.
But what I don't understand is this: Even with my wrong code, shouldn't the change be rendered? Ya, I know it was rendering the signals repeatedly, but then it should have rendered them rightly, isn't it? Or am I not getting something? -
Looking for an advice in changing to archive mode my DB
Hello buddies!
I'm going to change a DB from no archive mode to archive mode. It's a RAc with ASM, 2 nodes.
What I need that somebody verify these steps and give me suggestions.
1. Login to one of the nodes (i.e. linux1) and disable the cluster instance parameter by setting
cluster_database to FALSE from the current instance:
ORACLE_HOME=/home/oracle/product/10.2.0/db
export ORACLE_HOME
ORACLE_SID=YAWIDB1
export ORACLE_SID
2. sqlplus "/ as sysdba"
SQL> alter system set cluster_database=false scope=spfile sid='YAWIDB1';
3. Shutdown all instances accessing the clustered database:
$ srvctl stop database -d YAWIDB
Using the local instance, MOUNT the database:
$ sqlplus "/ as sysdba"
SQL> startup mount
Enable archiving:
SQL> alter database archivelog;
Re-enable support for clustering by modifying the instance parameter cluster_database to TRUE from the current instance:
• SQL> alter system set cluster_database=true scope=spfile sid=’YAWIDB1’;
• Shutdown the local instance:
• SQL> shutdown immediate
• Bring all instance back up using srvctl:
• $ srvctl start database -d YAWIDB
Since the archive destination is pointing to this path: Archive destination /home/oracle/product/10.2.0/db/dbs/arch
I think I should do the next steps to change that to ASM disk group, but in these steps I'm not sure. Please let me know If I'm wrong or correct? Or if I need to add something else.
ALTER SYSTEM SET LOG_ARCHIVE_DEST_1='+DG_DB1_ASM' SID='yawidb';
ALTER SYSTEM SWITCH LOGFILE;
The order of the complete steps, are correct or shoud be different?
Thanks for your comments and suggestions ;
AlYou do not need to change cluster parameter, see steps below:
On node1:
$ srvctl stop database -d <db_name>
$ srvctl status database -d <db_name>
Instance <instance1> is not running on node <node1>
Instance <instance2> is not running on node <node2>
$ srvctl start instance -d <db_name> -i <instance1> -o mount
$ srvctl status database -d <db_name>
Instance <instance1> is running on node <node1>
Instance <instance2> is not running on node <node2>
SQL> conn / as sysdba
Connected.
SQL> alter database archivelog;
Database altered.
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination <arch_dest>
Oldest online log sequence 67
Next log sequence to archive 68
Current log sequence 68
SQL> alter database open;
Database altered.
$ srvctl start instance -d <db_name> -i <instance2> -o open
$ srvctl status database -d <db_name>
Instance <instance1> is running on node <node1>
Instance <instance2> is running on node <node2>
SQL> conn / as sysdba
Connected.
SQL> select inst_id, log_mode from gv$database;
INST_ID LOG_MODE
1 ARCHIVELOG
2 ARCHIVELOGArchive log destination could be change any time.
Regards. -
CONFIGURE DATABASE IN ARCHIVE MODE
Hai
I am just trying to change the database to archive mode.As part of this I need to set the parameter LOG_ARCHIVE_START to TRUE in the init.ora file.But I am not able to find this parameter in the init.ora file(any of the archive parameter for that matter).Please advise where can I find and set LOG_ARCHIVE_START parameter.
Thanks
JayLOG_ARCHIVE_DEST
Parameter type
String
Syntax
LOG_ARCHIVE_DEST = filespec
Default value
Null
Parameter class
Dynamic: ALTER SYSTEM
Range of values
Any valid path or device name, except raw partitions
Real Application Clusters
Multiple instances can have different values.
Note:
For Enterprise Edition users, this parameter has been deprecated in favor of the LOG_ARCHIVE_DEST_n parameters. If Oracle Enterprise Edition is not installed or it is installed, but you have not specified any LOG_ARCHIVE_DEST_n parameters, this parameter is valid.
LOG_ARCHIVE_DEST is applicable only if you are running the database in ARCHIVELOG mode or are recovering a database from archived redo logs. LOG_ARCHIVE_DEST is incompatible with the LOG_ARCHIVE_DEST_n parameters, and must be defined as the null string ("") or (' ') when any LOG_ARCHIVE_DEST_n parameter has a value other than a null string. Use a text string to specify the default location and root of the disk file or tape device when archiving redo log files. (Archiving to tape is not supported on all operating systems.) The value cannot be a raw partition.
If LOG_ARCHIVE_DEST is not explicitly defined and all the LOG_ARCHIVE_DEST_n parameters have null string values, LOG_ARCHIVE_DEST is set to an operating system-specific default value on instance startup.
To override the destination that this parameter specifies, either specify a different destination for manual archiving or use the SQL*Plus statement ARCHIVE LOG START filespec for automatic archiving, where filespec is the new archive destination. To permanently change the destination, use the statement ALTER SYSTEM SET LOG_ARCHIVE_DEST = filespec, where filespec is the new archive destination.
Neither LOG_ARCHIVE_DEST nor LOG_ARCHIVE_FORMAT have to be complete file or directory specifiers themselves; they only need to form a valid file path after the variables are substituted into LOG_ARCHIVE_FORMAT and the two parameters are concatenated together.
See Also:
Oracle9i User-Managed Backup and Recovery Guide
"LOG_ARCHIVE_DUPLEX_DEST", "LOG_ARCHIVE_MIN_SUCCEED_DEST", and "V$ARCHIVE_DEST" for more information on setting this parameter
Your Oracle operating system-specific documentation for the default value and for an example of how to specify the destination path or filename using LOG_ARCHIVE_DEST
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96536/ch191.htm#REFRN10085
Joel Pérez -
Unable to enable archivelog mode and flashback mode
Hi,
I have oracle10g installed on Linux machine.
Everytime i try to enable ARCHIVELOG mode and FLASHBACK through the DB EM console and during the restart of the database, the database just startup and gets mounted, but does not get open. and not able to get the database to archive log mode.
and when i startup the database through the sqlplus i get this following error:
ORA-32004: obsolete and/or deprecated parameter(s) specified
i am not able to enable successfully archive log mode and flashback mode.
in sqlplus i did the following and got the following:
SQL> archive log list;
Database log mode No Archive Mode
Automatic archival Disabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 13585
Current log sequence 13587
so i was thinking maybe it is the archive log start sequence that is creating error.
because long back i had the database in archive log mode and because the archive log files got filled up, i disabled the archive mode and had to delete the archive log files.
Can someone help me bring the database in archive log mode which i am not able to successfully execute.
Thanks in advance,
Philip.Hi,
yes i looked in to the init.ora file and i got this
orcl.__db_cache_size=1308622848
orcl.__java_pool_size=167772160
orcl.__large_pool_size=16777216
orcl.__shared_pool_size=167772160
orcl.__streams_pool_size=16777216
*.audit_file_dest='/home/oracle/oracle/admin/orcl/adump'
*.background_dump_dest='/home/oracle/oracle/admin/orcl/bdump'
*.compatible='10.2.0.1.0'
*.control_files='/u01/oradata/orcl/control01.ctl','/u01/oradata/orcl/control02.ctl','/u01/oradata/orcl/control03.ctl'
*.core_dump_dest='/home/oracle/oracle/admin/orcl/cdump'
*.db_block_size=8192
*.db_domain='mslabs.noaa.gov'
*.db_file_multiblock_read_count=16
*.db_name='orcl'
*.db_recovery_file_dest='/u02/flash_recovery_area'
*.db_recovery_file_dest_size=64424509440
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
*.java_pool_size=159383552
*.job_queue_processes=10
*.open_cursors=300
*.pga_aggregate_target=562036736
*.processes=150
*.log_archive_start=FALSE
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=1687158784
*.shared_pool_size=157286400
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/home/oracle/oracle/admin/orcl/udump'
and there is a
*.log_archive_start=false
so do i have to delete it?
Thanks,
Philip. -
Changing of the timestamp in sender file adapter in archive mode
Hi,
I have a requirement where in I have to archive a file with timestamp different from that generated by XI.
Please let me know if this can be done and if so how can we handle the changes to be made to the timestamp in the sender adapter in archive mode.
regards,
Srinivas.Srinivas,
Option 1) Create a bat file..to run the perl script you call..
Perl script..
#!/usr/bin/perl -w
print("Starter that you want to change: ");
chomp($badex = <STDIN>);
print("Starter that you want added: ");
chomp($goodex = <STDIN>);
foreach $file (<$badex*>){
@fields = split(/$badex/,$file);
$goodfile = ("$goodex" . "$fields[1]");
rename("$file","$goodfile");
Run that on the os
That should fix it.........
Option 2) On your local Machine create a java file..add this code to it
public class Utils
public static int Randomizer(){
int randomInt = 0;
randomInt = (int) (Math.random()*1000);
return randomInt;
public static void main(String[] args)
Randomizer();
save and compile..
Create a bat file to add the number returned from the random to your targetFilename
so it would be something like..
mv oldFileName Newfilename+randomizer... and also get this command written to a file..helpful later on.........
Hope that helps
Regards
Ravi Raman
PS:Dont forget the points if helpful -
How to make the Business Area field from Change Mod to Display Mode in AS02
Hi Gurus,
I created a Customized T-code YAS02 for making the Business Area in Display mode with the help of SHD0.
But my client wants to do the same in standard T-code of AS02 and they don't like to use the customized T-code.
Kindly advise to make the Business Area from Change Mode to Display Mode in AS02.
Thanks in advance...
regs / Devi AparnaHi Devi,
check the following customization
asset accounting -> Integration with the General Ledger> Additional Account Assignment Objects-> Activate Account Assignment Objects---
Regards,
Ranjith -
How to change from archive mode to noarchive mode
Hi,
I am running 10gR2 on Windows.
Does any one know the steps to change the database which is current in archive mode to noarchive mode?
Thanksshutdown immediate
startup mount
alter database noarchivelog;
alter databae open;
archvie log list -- to check whether the archive mode is turned off or no.
Make sure you backup the database before and after.
Jaffar -
In my iPhone the images and videos are not changing into landscape mode
In my iPhone the images and the videos are not changing into landscape mode. And it is switching off automatically
Hi vijenderreddy,
Thanks for using Apple Support Communities. This article has some steps to try if your iPhone is unexpectedly powering off:
iPhone: Hardware troubleshooting
http://support.apple.com/kb/ts2802
Will not turn on, will not turn on unless connected to power, or unexpected power off
Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIsand corrosion.
Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
After at least 30 minutes, if:
The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
If the display turns on, go to step 4.
If the display remains black, go to next step.
Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
For the issue of images not changing orientation, see this article:
iOS: Screen does not rotate
http://support.apple.com/kb/ts3805
Cheers,
- Ari -
Like I will be checking on an account { page is fine} go to a different screen then go back.... This is the fun part. The page starts off normal then all the sudden it shrinks and moves to the right side of the page with out me touching anything. I have had this happen to me a few different times and could not seem to get the help I needed. I bring up another page, look at page info and it says Rendering mode - Standards compliance mode, but on the messed up page it says Quirks mode. How do I get it back to Standards compliance mode?
Good day ... As I leave California I am still very puzzled at how Yahoo can hijack my pages while on the internet ...? A friend of mine who lives here is also puzzled at how this is happening. I have taken screen grabs and would video it if that is possible ...? The screen grabs have the time taken on each grab, so one can see how fast this happens .. in a matter of seconds Yahoo jumps in with no relevance to my link I was trying to get to or the last hit or any thing stored in my history ... Is this possible ..? As I said I use a Macbook Pro 17", Os X 10.9.5, firefox 33.0.0 ..... Where is the fault ... Is my system compromised ..?
I am now in South Africa and the problem still exists ... Please see screen grabs that I took and uploaded before ... Please help as I like Firefox over Safari, and do not wish to change .... -
How to change DB into ARCHIVE mode
How can we switch a 10g DB into archive mode
on Unix?
Should the DB be shut down?
Any help
RegadsJane,
How can we switch a 10g DB into archive mode on Unix?Please refer to:
Note: 69739.1 - How to Turn Archiving ON and OFF
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=69739.1
Should the DB be shut down?Yes, you need to bounce the database. -
Recover from currnet log file corruption in archive mode
Hi,
I am using oracle 10.2.0 on windows xp. my database is in archivelog mode. I am learning recovery. I take backup of database using
RMAN> backup database;
Starting backup at 03-SEP-09
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00004 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
input datafile fno=00001 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
input datafile fno=00003 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF
input datafile fno=00002 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF
channel ORA_DISK_1: starting piece 1 at 03-SEP-09which completed.
my current logfile and current sequence no is
SQL> select * from v$log;
GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS
FIRST_CHANGE# FIRST_TIM
1 1 88 52428800 1 NO CURRENT
4475270 01-SEP-09
2 1 86 52428800 1 YES INACTIVE
4426127 31-AUG-09
3 1 87 52428800 1 YES INACTIVEThen i delete my only one redolog file in my current group. my instance crashes i want to recover now first i try
SQL> startup
ORACLE instance started.
Total System Global Area 289406976 bytes
Fixed Size 1248576 bytes
Variable Size 92275392 bytes
Database Buffers 188743680 bytes
Redo Buffers 7139328 bytes
Database mounted.
ORA-00313: open failed for members of log group 1 of thread 1
ORA-00312: online log 1 thread 1:
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
SQL> select open_mode from v$database;
OPEN_MODE
MOUNTED
SQL> recover database until cancel;
ORA-00279: change 4500421 generated at 09/03/2009 10:49:48 needed for thread 1
ORA-00289: suggestion : D:\1\ARC00088_0693601900.001
ORA-00280: change 4500421 for thread 1 is in sequence #88
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
cancel
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF'
ORA-01112: media recovery not startedit doesn't work then i do
RMAN> restore database
2> ;
Starting restore at 03-SEP-09
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
restoring datafile 00002 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF
restoring datafile 00003 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF
restoring datafile 00004 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
channel ORA_DISK_1: reading from backup piece D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2009_09_03
KP
channel ORA_DISK_1: restored backup piece 1
piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2009_09_03\O1_MF_NNNDF_TAG20090903T104947_5
channel ORA_DISK_1: restore complete, elapsed time: 00:02:16
Finished restore at 03-SEP-09
RMAN>
RMAN> recover database until sequence 87;
Starting recover at 03-SEP-09
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 09/03/2009 11:06:06
RMAN-06556: datafile 1 must be restored from backup older than scn 4444743It means i need an older backup but i have new backup how to restore or get my database up.
Thanks
umeshThanks for reply
i have this in my hand
RMAN> list backupset;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
1 Full 1.38G DISK 00:02:21 03-SEP-09
BP Key: 1 Status: AVAILABLE Compressed: NO Tag: TAG20090903T104947
Piece Name: D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2009_09_03\O1_MF_NNNDF_TAG20090903T104947_59YNHNSK_.BKP
List of Datafiles in backup set 1
File LV Type Ckp SCN Ckp Time Name
1 Full 4500421 03-SEP-09 D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
2 Full 4500421 03-SEP-09 D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF
3 Full 4500421 03-SEP-09 D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF
4 Full 4500421 03-SEP-09 D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
BS Key Type LV Size Device Type Elapsed Time Completion Time
2 Full 6.80M DISK 00:00:03 03-SEP-09
BP Key: 2 Status: AVAILABLE Compressed: NO Tag: TAG20090903T104947
Piece Name: D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2009_09_03\O1_MF_NCSNF_TAG20090903T104947_59YNN8J9_.BKP
Control File Included: Ckp SCN: 4500486 Ckp time: 03-SEP-09
SPFILE Included: Modification time: 03-SEP-09
RMAN> restore database preview;
Starting restore at 03-SEP-09
using channel ORA_DISK_1
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
1 Full 1.38G DISK 00:02:21 03-SEP-09
BP Key: 1 Status: AVAILABLE Compressed: NO Tag: TAG20090903T104947
Piece Name: D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2009_09_03\O1_MF_NNNDF_TAG20090903T104947_59YNHNSK_.BKP
List of Datafiles in backup set 1
File LV Type Ckp SCN Ckp Time Name
1 Full 4500421 03-SEP-09 D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
2 Full 4500421 03-SEP-09 D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF
3 Full 4500421 03-SEP-09 D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF
4 Full 4500421 03-SEP-09 D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
archive logs generated after SCN 4500421 not found in repository
Media recovery start SCN is 4500421
Recovery must be done beyond SCN 4500421 to clear data files fuzziness
Finished restore at 03-SEP-09
RMAN> backup archivelog all ;
Starting backup at 03-SEP-09
using channel ORA_DISK_1
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=60 recid=3 stamp=694522772
input archive log thread=1 sequence=61 recid=4 stamp=694543115
input archive log thread=1 sequence=62 recid=5 stamp=694693173
input archive log thread=1 sequence=63 recid=6 stamp=694707783
input archive log thread=1 sequence=64 recid=7 stamp=694785054
input archive log thread=1 sequence=65 recid=8 stamp=694787797
input archive log thread=1 sequence=66 recid=9 stamp=694794198
input archive log thread=1 sequence=67 recid=10 stamp=694799765
input archive log thread=1 sequence=68 recid=11 stamp=694806827
input archive log thread=1 sequence=69 recid=12 stamp=694809124
input archive log thread=1 sequence=70 recid=13 stamp=694868744
input archive log thread=1 sequence=71 recid=14 stamp=695132728
input archive log thread=1 sequence=72 recid=15 stamp=695210729
input archive log thread=1 sequence=73 recid=16 stamp=695330401
input archive log thread=1 sequence=74 recid=17 stamp=695399695
input archive log thread=1 sequence=75 recid=18 stamp=695412690
input archive log thread=1 sequence=76 recid=19 stamp=695511043
input archive log thread=1 sequence=77 recid=20 stamp=695557945
input archive log thread=1 sequence=78 recid=21 stamp=695597432
input archive log thread=1 sequence=79 recid=22 stamp=695728451
input archive log thread=1 sequence=80 recid=23 stamp=695729334
input archive log thread=1 sequence=81 recid=24 stamp=695729976
input archive log thread=1 sequence=82 recid=25 stamp=695835471
input archive log thread=1 sequence=83 recid=26 stamp=695988878
input archive log thread=1 sequence=84 recid=27 stamp=696160938
input archive log thread=1 sequence=85 recid=28 stamp=696333853
input archive log thread=1 sequence=86 recid=29 stamp=696360658
input archive log thread=1 sequence=87 recid=30 stamp=696454218
channel ORA_DISK_1: starting piece 1 at 03-SEP-09
channel ORA_DISK_1: finished piece 1 at 03-SEP-09
piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2009_09_03\O1_MF_ANNNN_TAG20090903T115246_59YR5VRV_.BKP tag=TAG20090903T1
=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:01:08
Finished backup at 03-SEP-09
RMAN> restore database preview;
Starting restore at 03-SEP-09
using channel ORA_DISK_1
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
1 Full 1.38G DISK 00:02:21 03-SEP-09
BP Key: 1 Status: AVAILABLE Compressed: NO Tag: TAG20090903T104947
Piece Name: D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2009_09_03\O1_MF_NNNDF_TAG20090903T104947_59YNHNSK_.BKP
List of Datafiles in backup set 1
File LV Type Ckp SCN Ckp Time Name
1 Full 4500421 03-SEP-09 D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
2 Full 4500421 03-SEP-09 D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF
3 Full 4500421 03-SEP-09 D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF
4 Full 4500421 03-SEP-09 D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
archive logs generated after SCN 4500421 not found in repository
Media recovery start SCN is 4500421
Recovery must be done beyond SCN 4500421 to clear data files fuzziness
Finished restore at 03-SEP-09now i have two backup one is full database backup which will not work another is backup of all archivelog upto sequence 87 i think it should work.
but rman is choosing full database backup for restore.
so i need to force rman to choose archivelog backups for restore but don't know how to do it. please suggest.
Thanks
umesh
Maybe you are looking for
-
I can't get my audiobook download from my emai on the computer to my iPhone. Can anyone help. I am useless at understanding how all this stuff works .
-
Printing of Production Order related smartforms while creation of P.O
Hi All, SCENARIO: Production order related smartforms have to print as soon as we create the P.O. It is happening when I create the P.O in CO01 in front end. PROBLEM: I am calling CO01 transaction in BDC method and creating the P.O, I have used MODE
-
Itunes freezes when trying to sync Ipod Touch
Hi, I have just installed the lastest version of itunes (11.2.2.3) after having issues with installing I finally cracked it with help fromn the support forum. I am now trying to sync my Ipod touch and everytime i try and sync itunes locks up and have
-
Replacing macbook aluminum screen 13"
So, I dropped my MacBook today. The glass on the screen cracked on the right hand side and the crack continues in a 'hairline" across the top to the left hand side. Obviously, I can still use my laptop with no interruption. But for the future, sho
-
17" crt monitor, but not all refresh rates showed
Its a duplicate from this thread: http://bbs.archlinux.org/viewtopic.php?id=89220 But this is the right subforum. Only some refresh rates are displayed as an option. Look xrandr: $ xrandr Screen 0: minimum 320 x 175, current 1280 x 1024, maximum 1600