Restore with brtools - need more archive redolog files
Good day
I will make online backup my oracle database with brtools
(Oracle 10g, BRBACKUP 7.00 (39))
brbackup -c -d util_file_online -t online -m all -u /
bdztoexw anf 2009-01-23 15.27.40 ; 2009-01-23 16.47.21 ; 1 ............... 57 56 0 17671 226215105 17676 226268039 ALL
online util_file_online -
7.00 (39)
BR0280I BRBACKUP time stamp: 2009-01-23 16.43.38
BR0232I 57 of 57 files saved by backup utility
BR0230I Backup utility called successfully
BR0280I BRBACKUP time stamp: 2009-01-23 16.43.40
BR0340I Switching to next online redo log file for database instance VPP ...
BR0321I Switch to next online redo log file for database instance VPP successful
BR0117I ARCHIVE LOG LIST after backup for database instance VPP
Parameter Value
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /oracle/VPP/oraarch/VPParch
Archive format %t_%s_%r.dbf
Oldest online log sequence 17673
Next log sequence to archive 17676
Current log sequence 17676 SCN: 226268039
Database block size 8192 Thread: 1
Current system change number 226268041 ResetId: 603135330
After brbackup I'll do "brarchive" in the same script:
brarchive -c -d util_file -sd -u / > $br_out_file
#ARCHIVE.. 17670 /oracle/VPP/oraarch/VPParch1_17670_603135330.dbf ; 2009-01-23 15.10.36 ; 43450368 226202112 1
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............
#COPIED... ........ ... ................. .......... ........ ........... ............
#DELETED.. adztolzu svd 2009-01-23 16.51.11
#ARCHIVE.. 17671 /oracle/VPP/oraarch/VPParch1_17671_603135330.dbf ; 2009-01-23 15.36.12 ; 43430912 226215105 1
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............
#COPIED... ........ ... ................. .......... ........ ........... ............
#DELETED.. adztolzu svd 2009-01-23 16.51.11
#ARCHIVE.. 17672 /oracle/VPP/oraarch/VPParch1_17672_603135330.dbf ; 2009-01-23 15.40.27 ; 43515904 226227928 1
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............
#COPIED... ........ ... ................. .......... ........ ........... ............
#DELETED.. adztolzu svd 2009-01-23 16.51.11
#ARCHIVE.. 17673 /oracle/VPP/oraarch/VPParch1_17673_603135330.dbf ; 2009-01-23 15.41.06 ; 43729408 226238784 1
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............
#COPIED... ........ ... ................. .......... ........ ........... ............
#DELETED.. adztolzu svd 2009-01-23 16.51.11
#ARCHIVE.. 17674 /oracle/VPP/oraarch/VPParch1_17674_603135330.dbf ; 2009-01-23 16.06.06 ; 43450368 226250315 1
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............
#COPIED... ........ ... ................. .......... ........ ........... ............
#DELETED.. adztolzu svd 2009-01-23 16.51.11
#ARCHIVE.. 17675 /oracle/VPP/oraarch/VPParch1_17675_603135330.dbf ; 2009-01-23 16.43.40 ; 13243904 226263012 1
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............
#COPIED... ........ ... ................. .......... ........ ........... ............
#DELETED.. adztolzu svd 2009-01-23 16.51.11
VPP util_file adztolzu svd 2009-01-23 16.47.22 ; 2009-01-23 16.54.47 ; 1 ........... 17670 17675 0 0 ------- 7.00 (39) @0603135330
BR0280I BRARCHIVE time stamp: 2009-01-23 16.51.11
BR0232I 6 of 6 files saved by backup utility
BR0230I Backup utility called successfully
BR0016I 6 offline redo log files processed, total size 220.128 MB
Then I take tape with this data and try restore only from this tape
all datafiles and relevant archive redologs files (17670-17675) restored without errors
but in the end ERROR occurred
ERROR at line 1:
ORA-01195: online backup of file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/oracle/VPP/sapdata1/system_1/system.data1'
ORA-00279: change 226268039 generated at 01/23/2009 16:43:40 needed for thread
1
ORA-00289: suggestion : /oracle/VPP/oraarch/VPParch1_17676_603135330.dbf
ORA-00280: change 226268039 for thread 1 is in sequence #17676
My online backup ended, before switch to redolog 17676
Why I need this file? I think files (17670-17675) should be enough?
Besides, the change 226268039 generated exactly at moment Switching to next online redo.
Can I try open database regardless of this error?
Thank you for your prompt response
Andrey Timofeev
Edited by: Andrey Timofeev on Jul 21, 2009 3:52 PM
<P>Good day, sorry for TAG. Once more time. <BR>
I will make online backup my oracle database with brtools<BR>
(Oracle 10g, BRBACKUP 7.00 (39))</P>
<P>brbackup -c -d util_file_online -t online -m all -u /</P>
<HR>
<P>bdztoexw anf 2009-01-23 15.27.40 2009-01-23 16.47.21 1 ............... 57 56 0 17671 226215105 17676 226268039 ALL<BR>
online util_file_online </P>
<HR>
<P> BR0280I BRBACKUP time stamp: 2009-01-23 16.43.38</P>
<HR>
<BR>
<P>BR0232I 57 of 57 files saved by backup utility<BR>
BR0230I Backup utility called successfully</P>
<P>BR0280I BRBACKUP time stamp: 2009-01-23 16.43.40<BR>
BR0340I Switching to next online redo log file for database instance VPP ...<BR>
BR0321I Switch to next online redo log file for database instance VPP successful</P>
<P>BR0117I ARCHIVE LOG LIST after backup for database instance VPP</P>
<P>Parameter Value</P>
<P>Database log mode Archive Mode<BR>
Automatic archival Enabled<BR>
Archive destination /oracle/VPP/oraarch/VPParch<BR>
Archive format %t_%s_%r.dbf<BR>
Oldest online log sequence 17673<BR>
Next log sequence to archive 17676<BR>
Current log sequence 17676 SCN: 226268039<BR>
Database block size 8192 Thread: 1<BR>
Current system change number 226268041 ResetId: 603135330</P>
<HR>
<BR>
<P>After brbackup I'll do "brarchive" in the same script:</P>
<P>brarchive -c -d util_file -sd -u / > $br_out_file</P>
<HR>
<P>#ARCHIVE.. 17670 /oracle/VPP/oraarch/VPParch1_17670_603135330.dbf 2009-01-23 15.10.36 43450368 226202112 1<BR>
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............<BR>
#COPIED... ........ ... ................. .......... ........ ........... ............<BR>
#DELETED.. adztolzu svd 2009-01-23 16.51.11<BR>
#<BR>
#ARCHIVE.. 17671 /oracle/VPP/oraarch/VPParch1_17671_603135330.dbf 2009-01-23 15.36.12 43430912 226215105 1<BR>
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............<BR>
#COPIED... ........ ... ................. .......... ........ ........... ............<BR>
#DELETED.. adztolzu svd 2009-01-23 16.51.11<BR>
#<BR>
#ARCHIVE.. 17672 /oracle/VPP/oraarch/VPParch1_17672_603135330.dbf 2009-01-23 15.40.27 43515904 226227928 1<BR>
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............<BR>
#COPIED... ........ ... ................. .......... ........ ........... ............<BR>
#DELETED.. adztolzu svd 2009-01-23 16.51.11<BR>
#<BR>
#ARCHIVE.. 17673 /oracle/VPP/oraarch/VPParch1_17673_603135330.dbf 2009-01-23 15.41.06 43729408 226238784 1<BR>
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............<BR>
#COPIED... ........ ... ................. .......... ........ ........... ............<BR>
#DELETED.. adztolzu svd 2009-01-23 16.51.11<BR>
#<BR>
#ARCHIVE.. 17674 /oracle/VPP/oraarch/VPParch1_17674_603135330.dbf 2009-01-23 16.06.06 43450368 226250315 1<BR>
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............<BR>
#COPIED... ........ ... ................. .......... ........ ........... ............<BR>
#DELETED.. adztolzu svd 2009-01-23 16.51.11<BR>
#<BR>
#ARCHIVE.. 17675 /oracle/VPP/oraarch/VPParch1_17675_603135330.dbf 2009-01-23 16.43.40 13243904 226263012 1<BR>
#SAVED.... adztolzu svd *VXF1232718526 2009-01-23 16.51.11 ........... ............<BR>
#COPIED... ........ ... ................. .......... ........ ........... ............<BR>
#DELETED.. adztolzu svd 2009-01-23 16.51.11<BR>
#<BR>
VPP util_file adztolzu svd 2009-01-23 16.47.22 2009-01-23 16.54.47 1 ........... 17670 17675 0 0 </P>
<HR>
<P>#</P>
<HR>
<P>BR0280I BRARCHIVE time stamp: 2009-01-23 16.51.11<BR>
BR0232I 6 of 6 files saved by backup utility<BR>
BR0230I Backup utility called successfully<BR>
BR0016I 6 offline redo log files processed, total size 220.128 MB</P>
<HR>
<P>Then I take tape with this data and try restore only from this tape<BR>
all datafiles and relevant archive redologs files (17670-17675) restored without errors <BR>
but in the end ERROR occurred</P>
<HR>
<BR>
<P>ERROR at line 1:<BR>
ORA-01195: online backup of file 1 needs more recovery to be consistent<BR>
ORA-01110: data file 1: '/oracle/VPP/sapdata1/system_1/system.data1'</P>
<P>ORA-00279: change 226268039 generated at 01/23/2009 16:43:40 needed for thread<BR>
1<BR>
ORA-00289: suggestion : /oracle/VPP/oraarch/VPParch1_17676_603135330.dbf<BR>
ORA-00280: change 226268039 for thread 1 is in sequence #17676</P>
<HR>
<BR>
<P>My online backup ended, before swith to redolog 17676<BR>
Why I need this file? I think files (17670-17675) should be enough?</P>
<P>Besides, the cange 226268039 generated exactly at moment Switching to next online redo.<BR>
Can I try open database regardless of this error?</P>
<BR>
<P>Thank you for your prompt response<BR>
Andrey Timofeev</P>
Edited by: Andrey Timofeev on Jul 21, 2009 4:53 PM
Edited by: Andrey Timofeev on Jul 21, 2009 4:54 PM
Similar Messages
-
Do I need to archive this file?
Hello
I have an iMovie file that is approximately 32 GB. I have made a disk image of it in iDVD, and do not think that I will be making any further changes to the file, just burning it from the disk image.
Questions are:
*Do I need to keep the iMovie file somewhere, or can I just trash it at this point? I cannot archive it to put on my (small 20GB) external HD until I am done with the project because it gives me an error that the disk is full before it finishes archiving it.
*What does this error mean? I should have plenty of space on my hard drive (about 34GB left)for the compressed file.
Thanks for your help!A disk image is a stand-alone and is not tied to the iMovie or iDVD project. So, if you are sure that you won't be editing your movie or iDVD project any more, you can just save the disk image and trash everything else. But . . .your movie is running over two hours. If you try to burn it to a standard 2 hour DVD disk, you won't have enough room to do that, unless you use a duel layered disk. Some burners can't burn duel layered disks, so you need to check to make sure that yours can. Before you trash anything, you might consider splitting your movie into two movies of approximately one hour each and burning two separate disk images. That way you would be able to burn onto the standard 2 hour disk.
I don't quite understand your saving question. -
Help with scripting: need to import Excel files into PS type layers
Howdy all,
I have a series of TV commercials provided to me as layered PS files. I work in CS3 and export to Avid for editing.
For customization, I need to import their Excel list of phone numbers and duplicate each one into a type layer with existing efx and placement.
There are 30-60 #s, which appear in 2 locations, so automation is key (just finished a 45 # series, and they have more!)
I dont know how to script this, and would appreciate any guidance. I am not asking for someone to do it for me, just help me learn what I have to do.
Dave KoslowFrom Excel save your file out as either CSV or TDT from the drop down 'save as' options. Once you have a plain text file script will be able to read the text file using which ever delimiter best suits you and create an array of string variables that you can use within photoshop to assign to the contents of a text layer…
-
Error after Restoring Datafiles in Archivelog but missing archive log files
Hi all,
I have taken backup yesterday monrning in Archive log mode but have lost all the archive log files. Yesterday night i have restored my DB .
I m happy to have my datafile contents till yesterday morning.
But after restoring when i try to open th DB, i m facing the following errors:
SQL> Startup open;
Oracle instance started but in mounted stagell
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> alter database open resetlogs;
Error: ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: 'E:\oracle\'<SID>\sapdata1\SYSTEM_1\SYSTEM.DATA1'
SQL> recover database using backup controlfile until cancel;
ORA-00279 : change 26627919 generated at DATE TIMEneeded for thread 1
ORA-00289 : Suggestion E:\ORACLE\<SID>\ORAARCH\<SID>ARCHARC03020_0683715008.001
ORA-00280: change 266277189 for thread 1 is in sequence #3020
ORA - 01112: media recovery not started
SQL> recover;
ORA-00283: recovery session cancelled due to errors
ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
Alert Log File:
Starting up ORACLE RDBMS Version: 10.2.0.2.0.
System parameters with non-default values:
processes = 80
sessions = 96
event = 10191 trace name context forever, level 1
sga_max_size = 633339904
shared_pool_size = 301989888
shared_pool_reserved_size= 30183260
filesystemio_options = setall
control_files = E:\ORACLE\IE6\ORIGLOGA\CNTRL\CNTRLIE6.DBF, E:\ORACLE\IE6\ORIGLOGB\CNTRL\CNTRLIE6.DBF, E:\ORACLE\IE6\SAPDATA1\CNTRL\CNTRLIE6.DBF
control_file_record_keep_time= 30
db_block_size = 8192
db_cache_size = 301989888
compatible = 10.2.0
log_archive_dest = E:\oracle\IE6\oraarch\IE6arch
log_buffer = 2854912
log_checkpoint_interval = 0
db_files = 254
log_checkpoints_to_alert = TRUE
dml_locks = 4000
undo_management = AUTO
undo_tablespace = PSAPUNDO
undo_retention = 43200
recyclebin = off
remote_os_authent = TRUE
remote_login_passwordfile= EXCLUSIVE
job_queue_processes = 1
background_dump_dest = E:\ORACLE\IE6\SAPTRACE\BACKGROUND
user_dump_dest = E:\ORACLE\IE6\SAPTRACE\USERTRACE
core_dump_dest = E:\ORACLE\IE6\SAPTRACE\BACKGROUND
optimizer_features_enable= 10.2.0.1
sort_area_size = 2097152
sort_area_retained_size = 0
db_name = IE6
open_cursors = 800
optimpeek_user_binds = FALSE
pga_aggregate_target = 402443468
workarea_size_policy = AUTO
statistics_level = typical
PMON started with pid=2, OS id=804
PSP0 started with pid=3, OS id=9580
MMAN started with pid=4, OS id=5840
DBW0 started with pid=5, OS id=8136
LGWR started with pid=6, OS id=8712
CKPT started with pid=7, OS id=1620
SMON started with pid=8, OS id=7084
RECO started with pid=9, OS id=9576
CJQ0 started with pid=10, OS id=9156
MMON started with pid=11, OS id=6000
MMNL started with pid=12, OS id=2856
Sat Apr 18 04:01:29 2009
ALTER DATABASE MOUNT
Sat Apr 18 04:01:33 2009
Setting recovery target incarnation to 1
Sat Apr 18 04:01:33 2009
Successful mount of redo thread 1, with mount id 1124466585
Sat Apr 18 04:01:33 2009
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Sat Apr 18 04:01:34 2009
ALTER DATABASE OPEN
ORA-1589 signalled during: ALTER DATABASE OPEN...
Sat Apr 18 04:02:13 2009
alter database open resetlogs
Sat Apr 18 04:02:13 2009
ORA-1245 signalled during: alter database open resetlogs...
Sat Apr 18 04:11:05 2009
ALTER DATABASE RECOVER DATABASE UNTIL CANCEL
Sat Apr 18 04:11:05 2009
Media Recovery Start
Sat Apr 18 04:11:06 2009
Media Recovery failed with error 1610
ORA-283 signalled during: ALTER DATABASE RECOVER DATABASE UNTIL CANCEL...
Sat Apr 18 04:11:28 2009
ALTER DATABASE RECOVER DATABASE USING BACKUP CONTROLFILE
Sat Apr 18 04:11:28 2009
Media Recovery Start
parallel recovery started with 3 processes
ORA-279 signalled during: ALTER DATABASE RECOVER DATABASE USING BACKUP CONTROLFILE...
Sat Apr 18 04:17:23 2009
ALTER DATABASE RECOVER database using backup controlfile until cancel
Sat Apr 18 04:17:23 2009
Media Recovery Start
ORA-275 signalled during: ALTER DATABASE RECOVER database using backup controlfile until cancel ...
Any suggestions pls..............
Thanks & Regards,
SubbuHello Subbu,
> I have taken backup yesterday monrning in Archive log mode but have lost all the archive log files.
You mean you have taken an online backup and lost all your archive log files after that online backup?
SQL> alter database open resetlogs;
Error: ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: 'E:\oracle\'<SID>\sapdata1\SYSTEM_1\SYSTEM.DATA1'
SQL> recover database using backup controlfile until cancel;
ORA-00279 : change 26627919 generated at DATE TIMEneeded for thread 1
ORA-00289 : Suggestion E:\ORACLE\<SID>\ORAARCH\<SID>ARCHARC03020_0683715008.001
ORA-00280: change 266277189 for thread 1 is in sequence #3020
To perform a recovery with an online backup you will need all archive log files until the end of the online backup. If you have lost them you are not able to recover (or open) your database in a consistent state.
So the only suggestion we can do is:
You need the archive log files that were created during the online backup to perform an incomplete recovery ... if they are gone you can not restore your database.
Regards
Stefan -
Ensuring the validity of an archived redolog
Hello everybody,
For security reasons I need to ensure the validity of an archived redolog. That is, after the online redolog get archived, I have to download it for a file system directory by using a script, but, there just must be archived redolog files. So how can I guarantee no other kind of file were put into the same location? Is there any way to characterize an archived redolog file using OS tools (Linux)?
Thank you in advance.So how can I guarantee no other kind of file were put into the same location?That is not something that Oracle can enforce. You could setup permissions on the directory and have a "watcher" script scanning the directory periodically.
But to what purpose ?
I need to ensure the validity of an archived redologThis is a different question from guaranteeing that only redo log files are placed in a directory.
Do you mean to say that your requirement is to ensure that the redolog is not corrupt and/or is not tampered with ?
You could have a watcher script that computes the checksum (cksum is the command on Unix/Linux) for an archivelog and periodically compares the checksum value !
Is there any way to characterize an archived redolog file using OS tools (Linux)?You can use RMAN to attempt a backup of the archived redo log file --- if the file is not really an archived redo log, RMAN will complain.
Hemant K Chitale -
Restoring a 6.0 Application Archive in 6i, is it possible?
Is there a way to restore an 6.0 Application Archive dump file in Designer 6i?
TIAHi Rob,
I think you will find this is very difficult to achieve. The
Designer 6i repository model differs greatly from Designer 6.
You really need to migrate your application data from a 6.0
repository into Designer 6i. The Designer 6i migration utility
will check and clean up the data, so it's very important you
test the migration in a test environment first.
For more help, contact Support, see http://metalink.oracle.com
and definitely check out the Migration Guide on the Designer 6i
Doc page here on OTN.
Regards,
Dominic Battiston
Designer/JDeveloper Product Management
Oracle Corporation -
MAKING MORE ARCHIVE IN MATERIALIZED VIEW
Hi experts,
i created a materialised view and created index on that, but while refreshing the MV it is making more archive log file.
in index i also opted nologging option, still while refreshing it is still creating more archieve files.
what to do so that it should not create more archive while refreshing materlialised view.
thanks10g to 8i can work, assuming
- 8i = 8.1.7
- You are applying at least the 8.1.7.4 patchset to the master (8i) or you are applying the latest patchset to the slave (10g). Realistically, you probably want to do both.
If you are talking about using the standard edition, I assume that you are only doing basic replication, not multi-master replication. I also assume you are aware of the limitations on hardware that come with Standard Edition 1-- I don't recall if you are limited to machines that have a capacity for 2 or 4 CPU's. Also, be aware that Oracle considers multi-core CPU's as multiple CPU's.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Hi frnds,
I have a requirement which says we need to archive a file when it is in error in PI. How can we acheive this as we need to move error file into a specific folder.
Any Suggestions.
Thanks,
PrabhasHi Prabhas,
You need to use the option of "Archive faulty Source Files" in the processing tab of your Sender Communication channel.
Open your sender comm. channel --> goto the Processing tab -
> In processing parameters you will find an option
"Archive faulty Source Files " , check the corresponding checkbox -
> then you will get another parameter " Directory for Archiving Files with Errors" ---> Here you need to specify the path of the folder where you want to move the error file to archieve it.
Hope this will help you
Regards,
Rohit -
Is possible to restore with another data base ?
Hi,
I want to restore my DEV database with PRD database in TESTserver through SQL enterprise manager. I have backup of PRD, which is taken from DB13.
Is that possible to restore like this?
Gayathry.Hi,
1. Does the database ALREADY exist on the target server?
2. If so, does the directory structure where the MDF/LDF match where the MDF/LDF reside on the live server. In this I mean if the files on the live server were located in the C:\MyDir\Data folder, do they also reside like that on the target serverr?
IF NOT ... you need to use the WITH MOVE option to place the MDF and LDF in the folder(s) that are being used on your target server. If you are using the Restore wizard, you need to change the file path on the Options tab of the wizard. Change the path in the "Move to physical file name" option to the desired location.
if this not work
try to restore database with same SID on target server i.e PRD than after you can change the dtabse from PRD to PSD using following sap note
151603
regards,
Kaushal -
Archiving the file in to Multiple Directories
Hi,
I have a scenario which takes the file from the source system and uses proxy to post the data in to ECC.When it picks the file it has to pick from multiple directories.This i can achieve by using advanced selection for source files and
also i need to archive these files to multiple directories depending on the source directory. I have given an example below.
ex : Source directory : /users/system/location1/input
Archive Directory : /users/system/location2/archive
The file can also be picked up from
Source Directory :/users/system/location2/input
Archive Directory : /users/system/location2/archive
So i have to read the data from multiple directories and archive the same to multiple directories(Depending on the source).Can we achieve this using single file adapter(Communication channel)
Please help me to resolve this issue.
Thanks in advance
Sripathi G YogeshHi Sripathi,
no, you need for each folder an adapter resp a Communication Channel and, as well, a Sender Agreement for that Channel. But you can copy a well working channel and just change the path to the folder and to the archive. You can reuse the interfaces and the receiver determination as well. I dont see any need for BPM in that case.
Regards,
Udo -
Photoshop crash when I open more than 21 files ".jpg"
When I open with photoshop cc more than 21 files ".jpg", it crashes, but it doesn't happen when i open RAW files.
Hi GautamBahl and thank you for the answer.
1. I use Windows but i can open with photoshop more than 100 RAW files and it doesn't crash
2. I don't receive any error message
3. JPG are located on my PC drive -
Hi all,,
my env is Oracle 10gR2,RHEL4.0,
In my dev Db one of user table contain more than 10Lac Records .in that some duplicate are present.
I am deleting record by record it is generating more Archive log file.due to that my is database hanged.
can you tell me what are the possible reasons for gen of more arch file.
Regards,
kkHi,
If the answer is not in previous post and if you're deleting (much) more than you're keeping (i mean very large volumes) i suggest :
(create a backup table as the one you're deleting in (same structure-> not constraints))
- backup the rows you want to keep in an other table
- truncate the original table
- re-insert the backuped rows
- truncate the backuped table -
Need to copy archive log file "arch1_601.dbf" when restore database?
Hi all,
I have the following case:
1) Full hot backup today (Feb-12-2009) in directory /u03/db/backup
2) But ongoing archive log are generated in directory /u02/oracle/uat/uatdb/9.2.0/dbs
3) I need to restore database becuase some data files are missing.
4) Use today ful backup to restore
5) Am I need to copy all archive log files in /u02/oracle/uat/uatdb/9.2.0/dbs to /u03/db/backup because "/u03/db/backup/RMAN" is restore directory?
FANHere is backup scripts:
Run
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u02/db/backup/RMAN/%F.bck';
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
allocate channel ch1 type disk format '/u02/db/backup/RMAN/backup_%d_%t_%s_%p_%U.bck';
backup incremental level 1 cumulative database plus archivelog delete all input;
backup current controlfile;
backup spfile;
release channel ch1;
allocate channel for maintenance type disk;
delete noprompt obsolete;
delete noprompt archivelog all backed up 2 times to disk; -
Restore hot online backup without redolog file
Dear
I had taken a online backup (begin / end tablespace) of all datafiles. Before end backup I had taken backup of current controlfile with O/S command.
Now, I want to restore this backup.
I have only :
datafiles (taken with begin / end backup)
controlfile (taken during begin / end backup)
Archive Log (from backup to up till now)
What steps I have to take for recovery with missing redolog files.
regards;Thanks dears its worked
SQL> startup mount
ORACLE instance started.
Total System Global Area 289406976 bytes
Fixed Size 1248576 bytes
Variable Size 96469696 bytes
Database Buffers 184549376 bytes
Redo Buffers 7139328 bytes
Database mounted.
SQL> recover database until cancel using backup controlfile
ORA-00279: change 643381 generated at 03/26/2009 15:59:06 needed for thread 1
ORA-00289: suggestion : E:\ORACLE\ARCHIVE\ARC00008_0682335852.001
ORA-00280: change 643381 for thread 1 is in sequence #8
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
auto
ORA-00279: change 644479 generated at 03/26/2009 16:01:31 needed for thread 1
ORA-00289: suggestion : E:\ORACLE\ARCHIVE\ARC00009_0682335852.001
ORA-00280: change 644479 for thread 1 is in sequence #9
ORA-00278: log file 'E:\ORACLE\ARCHIVE\ARC00008_0682335852.001' no longer
needed for this recovery
ORA-00308: cannot open archived log 'E:\ORACLE\ARCHIVE\ARC00009_0682335852.001'
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> alter database open;
alter database open
ERROR at line 1:
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> alter database open resetlogs;
*Database altered.
*----------------------------- -
How to restore cold backup + archived log files
Hi,
Suppose I take a cold backup on 18th. After that I have four days of archived log files. if the database crashes on 5th day, I have to restore the 18th cold back + 4 days of archived log files. How do I restore since it is a cold backup and I cant do incomplete recovery.
can I use
Recover database ( with 18th cold backup) in mount state and apply archived logs.
PrabhathThe details of how you perform forward recovery using a cold backup depends on
1- rman or manual backup
2- using current or backup control file
3- if rman, recovery catalog or no recovery catalog
4- if full database recovered or only a few files
Each of these conditions will affect what is known to Oracle and what needs to be done. For example if you restored the entire cold backup including the control file then Oracle would see a consistent database and not need to perform recovery so you would need to startup mount and tell the database to perform recovery using a backup control file. If using rman and no recovery catalog you might need to catalog some of the archived redo logs, etc....
It is advisable to consult the Backup and Recovery manuals before attempting recovery for any new scenario.
HTH -- Mark D Powell --
Maybe you are looking for
-
Unable to start managed console - unix
I'm having problems starting a managed server in Unix -- using the startManagedWebLogic.sh, with the weblogic name of the managed server and http://adminIP:port as the parameters. Saying it can't find the managed server. Is this some type of access p
-
IPod sync is duplicating all playlists - they multiply 2-3-4 and more...
I have the strangest thing happening here: Whenever I sync my iPod Video 30GB now, all of the standard iTunes playlists and my own custom playlists are being duplicated 2, 3 and 4 times....most of the new duplicate playlists are empty but some have s
-
Problem with migrating data (SQL Server 2k offline data capture)
Hi there, I try to migrate a SQL Server 2000 database to Oracle 10g (R2) using offline data capture. I following the online Tutorial "Migrate from Microsoft SQL Server to Oracle Database 10g Using Oracle Migration Workbench" and everything seems OK u
-
System Registration Error in UWL
Hello All i am getting following error while trying to register my sap crm system in UWL.: System SAP_CRM: Tue Jul 29 14:56:18 GMT+05:30 2008 (Configuration) :org.xml.sax.SAXException:com.sap.engine.lib.xml.parser.Parser Exception: End of model expec
-
It is a Seagate Backup Plus 3 TB desktop drive. Every other (USB 2) drive has worked like this, and this one works when plugged into my computer directly. I tried asking Seagate about it, but they said it was an Apple problem if the drive works when