RMAN9I HOW TO RESTORE ARCHIVE LOGS WITH LIMITED DISK SPACE

제품 : RMAN
작성날짜 : 2002-12-09
RMAN9I HOW TO RESTORE ARCHIVE LOGS WITH LIMITED DISK SPACE
==========================================================
PURPOSE
이 자료는 Oracle 9.2 이상의 RMAN에서 사용 가능한 MAXSIZE 기능에 대하여
설명할 것이다.
How to restore archive logs with limited disk space
Old Backup을 사용하여 RMAN으로 database를 recvoery할때, 모든 archived
redo logfile들을 Restore할 destination의 disk space가 모자란 경우를 종종 만난다.
이러한 경우 여러 개의 restore and recovery job으로 나누어 수행한다.
즉, 첫 번째 restore and recovery job이 끝나면 archived redo logfile들을 지우고
다음 적용될 것들을 restore한다. 그리고 다시 Recovery를 수행한다. 이러한 작업을
원하는 시점까지 recovery를 하기위해 반복적으로 수행한다.
Oracle 9iR2(9.2.0.x)부터 RMAN은 MAXSIZE option을 제공하는데 이것은 archive log
file이 restore될 disk의 space를 control할 수 있게 해 준다.
만약 disk space가 매우 제한적이라면, 즉 예를 들어 모든 archive log의 size 합보다
disk free space가 적다면 MAXSIZE option을 사용하는 것은 매우 유용하다.
이 OPTION이 기술되면 RMAN은 Media Manager에게 disk space 크기에 부합하는 만큼만
archive log들을 restore하도록 한다. 부가적인 restore operation들은 restore된
마지막 archive log가 적용될 때마다 발생한다.
MAXSIZE option은 이러한 작업들을 하나의 rman job으로 처리하게 해 주고
실수를 하지 않게 해 준다.
아래는 MAXSIZE를 설명하기 위한 예제이며 총 6 단계로 구성되어 있다.
STEP 1: Add data to the database to enforce log switches
STEP 2: Backup the database and archive logs and delete the logs
STEP 3: Add additional data to enforce new log switches
STEP 4: Remove the data file and simulate a database crash
STEP 5: Restore the data file from the backup
STEP 6: Recover the database using MAXSIZE
위 예제는 Unix와 Windows 모두에 적용될 수 있다.
STEP 6 는 다음과 같은 조건으로 두 번 수행될 것이다.
1) MAXSIZE가 archive log size보다 작은 경우:
이 경우 RMAN-6558 Error message를 만나게 된다.
그러므로 MAXSIZE를 archive log보다는 크게 설정해야한다.
2) MAXSIZE가 archive log size보다 큰 경우:
예를 들어 여러 개의 archive log를 포함할 수 있을 정도로 크게 설정하면
restore/recovery는 user에게 transparent하게 수행되어진다.
즉 archive log들은 restore된 후 applied되고 deleted되어 진다. 다시 새로운
archive log들이 restore되어지고 applied된 후 deleted 되어 진다. 이러한 작업은
recovery가 끝날 때까지 반복되어진다. 이러한 작업들이 진행되는 동안 RMAN은
아무런 Message도 발생시키지 않는다.
# Step 1: INSERT enough new data to generate log switches
create table rman_tst (col1 varchar2 (10));
begin
for i in 1..30000 loop
insert into rman_tst values(i,'test');
commit;
end loop;
end;
# Step 2: BACKUP the database and the archive logs automatically
# and then delete the input
run {
backup database format='/web01/usupport/krosenme/admin/backups/db_%d%s%t'
plus archivelog format='/web01/usupport/krosenme/admin/backups/arch_%d%s%t'
delete input;
# Step 3: INSERT enough new data to generate new log switches
begin
for i in 1..30000 loop
insert into rman_tst values(i,'test');
commit;
end loop;
end;
# Step 4: REMOVE users01.dbf file and crash the database
mv users01.dbf users01.org
shutdown abort
# Restore is now needed as the data file is deleted. The backup was
# taken before the new data was added to it, thus archive logs are
# needed to bring the database up to date
# Step 5: RESTORE the data file from the full backup
run {
restore datafile '/web01/usupport/krosenme/oradata/kro_920/users01.dbf';
# Step 6: RECOVER
run {
recover database delete archivelog maxsize 10 K;
# This will fail with RMAN-6558 as the archived log has a size of 16 KB,
# which is bigger than MAXSIZE limit of 10 KB. So the error is expected
# and MAXSIZE works as designed.
# Now rerunning STEP 6: but with MAXSIZE 50 K
run {
recover database delete archivelog maxsize 50 K;
RELATED DOCUMENTS
Recovery Manager Reference, Release 2 (9.2)

cold backup means offline backup, you shut database normally and copy datafiles to another location.
i think operating system does not matter that much but it is RedHat Linux Enterprise Server.
backing up archivelogs whith rman script which is:
run {
allocate channel c1 type disk format '$BKUPLOC/arch_%d_%u_%s_%p.bkp';
change archivelog all validate;
sql 'ALTER SYSTEM ARCHIVE LOG CURRENT';
backup archivelog time between 'SYSDATE - (30*60/(60*60*24))' and 'sysdate';
release channel c1;
so here is the details.
1. because everything is lost, we restored all files(datafiles, controlfiles, redologs etc) from offline backup meaning copied all files from another location to corresponding location.
2. want to apply archive logs which were created after cold backup till disk failure and we have these archive logs with backups which were taken by rman.
So
first of all, we want to register these archive log rman backups(because these backup information does not exist in restored controlfile)
and then restore them and then apply them.
we need rman commands to register these backups and restore them.
Regards,
Kamil

Similar Messages

  • How to restore archive logs with rman

    Hi,
    here is the scenario:
    we have lost everything because of disk failure.
    we have a full cold backup and archivelog backups which were created after cold backup and were backed up with rman.
    after restoring from cold backup, because archivelog backups do not exist in controlfile, how can we catalog archivelog backups and restore them?
    could you give me the exact rman command for this?
    Best Regards,
    Kamil

    cold backup means offline backup, you shut database normally and copy datafiles to another location.
    i think operating system does not matter that much but it is RedHat Linux Enterprise Server.
    backing up archivelogs whith rman script which is:
    run {
    allocate channel c1 type disk format '$BKUPLOC/arch_%d_%u_%s_%p.bkp';
    change archivelog all validate;
    sql 'ALTER SYSTEM ARCHIVE LOG CURRENT';
    backup archivelog time between 'SYSDATE - (30*60/(60*60*24))' and 'sysdate';
    release channel c1;
    so here is the details.
    1. because everything is lost, we restored all files(datafiles, controlfiles, redologs etc) from offline backup meaning copied all files from another location to corresponding location.
    2. want to apply archive logs which were created after cold backup till disk failure and we have these archive logs with backups which were taken by rman.
    So
    first of all, we want to register these archive log rman backups(because these backup information does not exist in restored controlfile)
    and then restore them and then apply them.
    we need rman commands to register these backups and restore them.
    Regards,
    Kamil

  • Migrating a 300GB Aperture library with limited disk space.

    This morning I decided to migrate my 300GB Aperture Library to the new Photos app on my MacBook Air. I have 20GB of remaining space on my internal drive and thanks to Apple's use of hard links I was hoping this wouldn't be an issue when migrating.
    After choosing to use iCloud Photo Library I was prompted that I would need to upgrade to the 500GB plan which I did. After completing the purchase I was then prompted that there wasn't enough space on my drive to download the current contents of my iCloud Library (13GB). Having 20GB available I thought this quite odd but proceeded to use optimised storage. It's worth noting that the entire contents of my iCloud Library already exist in my Aperture Library which I'm attempting to migrate. I was hoping the Photos app would be able to determine these duplicates before downloading everything!
    The real kicker came when Photos app began processing the library. After reaching 3% I was informed that I would need approximately an additional 53GB of space in order to migrate this library! Freeing up that much space on my internal drive isn't a possibility without removing my Aperture Library so I'm going to have to complete the migration on an external drive.
    Side note: It would be nice if Apple assed all space requirements before requiring me to pay and upgrade my iCloud space. It might be several weeks before users are in a position to actually utilise the space if such barriers occur at this point in the migration workflow.
    I have now copied my Aperture Library to an external drive and I'm performing the migration on there.
    I'm assuming that the additional 53GB of space the Photos app required is purely for the purposes of migration. It seems a hefty amount of disk space (roughly 18% of the library size) to be consumed otherwise. After migration is complete I'm hoping the Photos Library will only consume a small additional amount of space considering the master images and previews are hard linked. If this is the case then I should be able to copy the library back to my internal drive.
    Couple of questions:
    1) Is this 53GB of space required purely for migration?
    2) Will I be able to copy both the Photos Library and the Aperture Library to my internal drive, preserving the hard link relationship between the two? If so, would this need to be achieved via the command line or should the Finder resolve this?
    I'm worried that initiating a copy from the Finder, will in effect see the hard links for the original files, therefore requiring space for both full libraries. Ideally I would like the files to behave in the same way they would had I carried out the migration on my internal drive giving me the freedom to preserve (and therefore open) the Aperture Library in the future on my internal drive.
    Thanks in advance.

    68a3bf80-faea-4a37-8ac3-8f443cd21af5 wrote:
    It is not clear if the MOVE operation of the LOB field toward a new tablespace performs a copy of the entire table, including segments that can be compacted (so with a total size of 400 gb), or just the real content of the field (5gb).
    And it is not clear how to evaluate the size of archive logs and redo logs generated during such operation.
    Some, many, most IT Professionals would run sample benchmark tests to see for themselves what occurs.
    Are you incapable or unwilling to run your own simple benchmark test to learn how Oracle's behavior might impact your database?

  • Restore archive logs

    Hi gurus,
    I'm in a question, How to restore archive logs backuped?
    Scene:
    1- We backup the archive logs each hour.
    2- We backup the database in a cold backup.
    3- We restore the database in another machine.
    4- We want to apply this archives in the database restored.
    We already do:
    1- Restore the archive logs in a temp directory;
    2- Shutdown the application
    3- Startup Mount
    4- rman nocatalog target /
    Possibilities already do:
    5- Run the command:
    RUN {
    SET ARCHIVELOG DESTINATION to '/oracle/PRD/saparch';
    RESTORE ARCHIVELOG FROM SEQUENCE 52939 UNTIL SEQUENCE 53333;
    OR
    RESTORE DATABASE UNTIL TIME "TO_DATE('2011-09-06:15:00:00','YYYY-MM-DD:HH24:MI:SS')";
    RECOVER DATABASE UNTIL TIME "TO_DATE('2011-09-06:12:00:00','YYYY-MM-DD:HH24:MI:SS')";
    OR
    RUN
    SET ARCHIVELOG DESTINATION TO '/oracle/PRD/saparch';
    RESTORE ARCHIVELOG ALL;
    To test if this procedure were correct, we got the total entries of a table in production database.
    After this procedures, we check a total entries of a table in database restored and the entries isn't equal a production database.
    Could you help us?
    Thanks,
    Denis
    Oracle 10g
    Aix 6.1
    Brazil

    HI,
    Volker thanks for your replies.
    This are the outputs of the commands:
    unbru10@root:/:#ls -ltr /oracle/PRD/sapbackup | tail -15
    -rwxrwxrwx    1 oraprd   dba             422 Mar 22 20:00 backPRD.log
    -rwxrwxrwx    1 oraprd   dba            9711 Sep 09 16:50 vegsxylp.crv
    -rwxrwxrwx    1 oraprd   dba            4589 Sep 09 16:51 vegsxyrq.crv
    -rwxrwxrwx    1 oraprd   dba            4366 Sep 09 16:52 vegsxyuk.crv
    -rwxrwxrwx    1 oraprd   dba            2461 Sep 12 10:15 vegtlilw.crv
    -rwxrwxrwx    1 oraprd   dba            1731 Sep 13 07:57 regtpunt.rsa
    -rwxrwxrwx    1 oraprd   dba            1731 Sep 13 08:06 regtpvix.rsa
    -rwxrwxrwx    1 oraprd   dba           16224 Sep 13 08:18 vegtpvwk.crv
    -rwxrwxrwx    1 oraprd   dba             393 Sep 13 08:20 restPRD.log
    -rwxrwxrwx    1 oraprd   dba            1724 Sep 13 08:20 regtpwqi.rsb
    -rwxrwxrwx    1 oraprd   dba            5362 Sep 13 08:21 vegtpwqv.crv
    -rwxrwxrwx    1 oraprd   dba            4367 Sep 13 08:23 vegtpwwa.crv
    -rw-r--r--    1 oraprd   dba            8150 Sep 13 08:25 vegtpwyx.crv
    -rwxrwxrwx    1 oraprd   dba             729 Sep 13 10:29 recovPRD.log
    -rw-r--r--    1 oraprd   dba            2461 Sep 13 10:29 vegtqhyk.crv
    unbru10@root:/:#ls -ltr /oracle/PRD/saparch | tail -30
    -rw-r-----    1 oraprd   dba        13652992 Sep 06 14:36 PRDarch1_55003_741174238.dbf
    -rw-r-----    1 oraprd   dba        13586432 Sep 06 14:44 PRDarch1_55004_741174238.dbf
    -rw-r-----    1 oraprd   dba        13580288 Sep 06 15:04 PRDarch1_55005_741174238.dbf
    -rw-r-----    1 oraprd   dba        13630976 Sep 06 15:20 PRDarch1_55006_741174238.dbf
    -rw-r-----    1 oraprd   dba        13586432 Sep 06 15:22 PRDarch1_55007_741174238.dbf
    -rw-r-----    1 oraprd   dba        13586432 Sep 06 15:26 PRDarch1_55008_741174238.dbf
    -rw-r-----    1 oraprd   dba        13591552 Sep 06 15:27 PRDarch1_55009_741174238.dbf
    -rw-r-----    1 oraprd   dba        13609472 Sep 06 15:35 PRDarch1_55010_741174238.dbf
    -rw-r-----    1 oraprd   dba        13620736 Sep 06 15:42 PRDarch1_55011_741174238.dbf
    -rw-r-----    1 oraprd   dba        13586432 Sep 06 15:43 PRDarch1_55012_741174238.dbf
    -rw-r-----    1 oraprd   dba        14359040 Sep 06 15:44 PRDarch1_55013_741174238.dbf
    -rw-r-----    1 oraprd   dba        13609472 Sep 06 15:45 PRDarch1_55014_741174238.dbf
    -rw-r-----    1 oraprd   dba        13585408 Sep 06 15:51 PRDarch1_55015_741174238.dbf
    -rw-r-----    1 oraprd   dba        13582848 Sep 06 16:00 PRDarch1_55016_741174238.dbf
    -rw-r-----    1 oraprd   dba        13687808 Sep 06 16:15 PRDarch1_55017_741174238.dbf
    -rw-r-----    1 oraprd   dba        13589504 Sep 06 16:17 PRDarch1_55018_741174238.dbf
    -rw-r-----    1 oraprd   dba        13586944 Sep 06 16:22 PRDarch1_55019_741174238.dbf
    -rw-r-----    1 oraprd   dba        13721088 Sep 06 16:35 PRDarch1_55020_741174238.dbf
    -rw-r-----    1 oraprd   dba        13642240 Sep 06 16:47 PRDarch1_55021_741174238.dbf
    -rw-r-----    1 oraprd   dba        13623808 Sep 06 16:47 PRDarch1_55022_741174238.dbf
    -rw-r-----    1 oraprd   dba        13584896 Sep 06 16:55 PRDarch1_55023_741174238.dbf
    -rw-r-----    1 oraprd   dba        13629440 Sep 06 16:57 PRDarch1_55024_741174238.dbf
    -rw-r-----    1 oraprd   dba        13608448 Sep 06 17:09 PRDarch1_55025_741174238.dbf
    -rw-r-----    1 oraprd   dba        13616640 Sep 06 17:30 PRDarch1_55026_741174238.dbf
    -rw-r-----    1 oraprd   dba        13596672 Sep 06 19:16 PRDarch1_55027_741174238.dbf
    -rw-r-----    1 oraprd   dba        13593088 Sep 06 19:19 PRDarch1_55028_741174238.dbf
    -rw-r-----    1 oraprd   dba        13593600 Sep 09 16:03 PRDarch1_53122_741174238.dbf
    -rw-r-----    1 oraprd   dba        13586432 Sep 09 16:03 PRDarch1_53123_741174238.dbf
    -rw-r-----    1 oraprd   dba         4837376 Sep 09 16:46 PRDarch1_53124_741174238.dbf
    When i tried to execute the command brrestore -a ...
    unbru10:oraprd 5> brrestore -a 54925-55028
    BR0401I BRRESTORE 7.00 (32)
    BR0405I Start of file restore: regtrbix.rsa 2011-09-13 14.06.43
    BR0484I BRRESTORE log file: /oracle/PRD/sapbackup/regtrbix.rsa
    BR0252E Function fopen() failed for '/oracle/PRD/saparch/archPRD.log' at location BraSlogRead-2
    BR0253E errno 2: No such file or directory
    BR0121E Processing of log file /oracle/PRD/saparch/archPRD.log failed
    BR0406I End of file restore: regtrbix.rsa 2011-09-13 14.06.43
    BR0280I BRRESTORE time stamp: 2011-09-13 14.06.43
    BR0404I BRRESTORE terminated with errors
    I checked in /oracle/PRD/saparch and the file archPRD.log doesn't exist. How do we recreate it?
    Thanks,
    Denis
    Brazil

  • Restore archive log which were not backed up

    Hi experts,
    as per understandings, after the creation of database the scn will starts from 1 and it grows sequentially,
    1)i have not taken any backup until today.
    2) i deleted all the archivelogs, but i have database alive
    3) taken a full backup.
    so i tried to restore from scn 100 to 200.
    restore archivelog from scn 100 until scn 200;error:
    RMAN-20242: specification does not match any archivelog in recovery cataloag
    now my scn is 504575
    is it possible to restore archive log from 100 scn to 200 scn?
    Thanks & Best Regards.
    appriciated for the right answers.

    784585 wrote:
    Hi,
    iam not using any STANDBY database..But earlier you said "see if any case accidently missed archives are deleted, those archives need to apply in standby, so what can we do?"
    So of course people thought you were trying to sync up a standby ...
    i want to generate all the archives from the scratch of the database..
    my question is , database SCN will start from 1, so all the database has information from 1 to end...so why cant we take backup again as archives from database?This is pretty basic. You cannot recover from a backup you do not have. You've already said
    1)i have not taken any backup until today.
    2) i deleted all the archivelogs, but i have database aliveSo with no backup and no archive log, what would expect to recover from?
    OK, here's how it works.
    As changes are made to the database, a record of the change is written to a memory (not disk) structure called the "redo log buffer". When a transaction is committed the redo log buffer is written to the online redo log file. You must have a minimum of two online redo log files. This online redo log file is of fixed size. When it is full, the process of writing to it switched to the other (or next, if you have more than two). When an online redo log file is filled, and writing of redo info is switched to the next file, the filled file is copied to a NEW archived log file. After going through all the online redo logs in this round-robin fashion, it will come back to the first and start overwriting its previous contents. The archived log files are given unique names so that they are not over written but instead generate a constant stream of new archivelogs. It is these archive log files that contain all of your redo info that pre-dates the oldest info remaining in the online redo logs.
    In a recovery operation, the following happens
    first, the database files are restored from backup, starting with the newest full backup that meets your recovery needs, then following with all incremental backups after that. You said you have no backups prior to today.
    Second, after the files are restored from backups (which you said you don't have) additional redo information is applied to get the changes since the most recent full or incremental backup that was restored. This additional info comes from the archivelog files, which you said you didn't back up and apparently you deleted.
    So, you've said you have no database backup and no archivlogs either backed up or original. So from where do you expect to be able to recover this information?

  • RMAN: How to apply Archive Logs after recoverying of all physical files

    Hi;
    I am using RMAN Oracle10g; my test database has being corrupted. I have already taken 0 level backup through this command
    run {
    allocate channel c1 type disk;
    backup incremental level 0 tag = Test_Weekly_database format 'O:\rman\backup\Full_Weekly_%d_%s_%p_%t'(database);
    release channel c1;
    configure controlfile autobackup format for device type disk to 'O:\rman\backup\Auto_Ctrl_weekly_%F';
    allocate channel c1 type disk;
    sql 'alter system archive log current';
    BACKUP tag = Test_Weekly_Arch ARCHIVELOG UNTIL TIME 'SYSDATE-7' format 'O:\rman\backup\Archive_weekly_%d_%s_%p_%t';
    DELETE ARCHIVELOG UNTIL TIME 'SYSDATE-7';
    release channel c1;
    After backing up I inserted few records in TEST123 table. And switch current log file.
    Then my database has been corrupted. Now I have last 0 level backup (RMAN) and archive logs files on OS level.
    I am recovering my database with the following commands; but archive logs have not being applied. And my inserted records were not presented in TEST123 table.
    Kindly guide me
    SQL> startup nomount
    CMD> RMAN target=/
    RMAN>set DBID 1168995671
    RMAN>RUN {
    SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'O:\rman\backup\Auto_Ctrl_weekly_%F';
    RESTORE CONTROLFILE from autobackup;
    RMAN> ALTER DATABASE MOUNT;
    RMAN> RESTORE DATABASE CHECK READONLY;
    RMAN> RECOVER DATABASE NOREDO;
    RMAN> restore archivelog all;
    SQL> startup mount
    SQL> alter database backup controlfile to trace;
    SQL> shut immediate
    SQL> startup nomount
    SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" RESETLOGS ARCHIVELOG................;
    SQL> alter database open resetlogs
    ---Database altered.
    SQL> select * from TEST123;
    Not record found
    regards;
    Asim

    Dear Khurram;
    Kindly advise where i m worrg???????
    C:\>RMAN target=/
    RMAN> set DBID 1168995671
    executing command: SET DBID
    RMAN> RUN {
    2> SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'O:\rman\backup\Auto_Ctrl_weekly_%F';
    3> RESTORE CONTROLFILE from autobackup;
    4> }
    executing command: SET CONTROLFILE AUTOBACKUP FORMAT
    Starting restore at 27-DEC-07
    using channel ORA_DISK_1
    recovery area destination: O:\rman\backup
    database name (or database unique name) used for search: ORCL
    channel ORA_DISK_1: no autobackups found in the recovery area
    channel ORA_DISK_1: looking for autobackup on day: 20071227
    channel ORA_DISK_1: autobackup found: O:\rman\backup\Auto_Ctrl_weekly_c-11689956
    71-20071227-04
    channel ORA_DISK_1: control file restore from autobackup complete
    output filename=D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL01.CTL
    output filename=D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL02.CTL
    output filename=D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL03.CTL
    Finished restore at 27-DEC-07
    RMAN> ALTER DATABASE MOUNT;
    database mounted
    released channel: ORA_DISK_1
    RMAN> RESTORE DATABASE CHECK READONLY;
    Starting restore at 27-DEC-07
    Starting implicit crosscheck backup at 27-DEC-07
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=155 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=154 devtype=DISK
    Crosschecked 9 objects
    Finished implicit crosscheck backup at 27-DEC-07
    Starting implicit crosscheck copy at 27-DEC-07
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    Finished implicit crosscheck copy at 27-DEC-07
    searching for all files in the recovery area
    cataloging files...
    no files cataloged
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    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
    restoring datafile 00005 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\TEST.DBF
    restoring datafile 00006 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\TEST2
    channel ORA_DISK_1: reading from backup piece O:\RMAN\BACKUP\FULL_WEEKLY_ORCL_3_
    1_642420573
    channel ORA_DISK_1: restored backup piece 1
    piece handle=O:\RMAN\BACKUP\FULL_WEEKLY_ORCL_3_1_642420573 tag=Test_WEEKLY_DATAB
    ASE
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:46
    Finished restore at 27-DEC-07
    RMAN> restore archivelog all;
    archive log thread 1 sequence 1 is already on disk as file O:\ARCHIVE\ARC00001_0642356125.001
    archive log thread 1 sequence 2 is already on disk as file O:\ARCHIVE\ARC00002_0642356125.001
    archive log thread 1 sequence 3 is already on disk as file O:\ARCHIVE\ARC00003_0642356125.001
    archive log thread 1 sequence 4 is already on disk as file O:\ARCHIVE\ARC00004_0642356125.001
    archive log thread 1 sequence 5 is already on disk as file O:\ARCHIVE\ARC00005_0642356125.001
    archive log thread 1 sequence 6 is already on disk as file O:\ARCHIVE\ARC00006_0642356125.001
    archive log thread 1 sequence 7 is already on disk as file O:\ARCHIVE\ARC00007_0642356125.001
    archive log thread 1 sequence 8 is already on disk as file O:\ARCHIVE\ARC00008_0642356125.001
    archive log thread 1 sequence 9 is already on disk as file O:\ARCHIVE\ARC00009_0642356125.001
    archive log thread 1 sequence 10 is already on disk as file O:\ARCHIVE\ARC00010_0642356125.001
    archive log thread 1 sequence 11 is already on disk as file O:\ARCHIVE\ARC00011_0642356125.001
    archive log thread 1 sequence 12 is already on disk as file O:\ARCHIVE\ARC00012_0642356125.001
    channel ORA_DISK_1: starting archive log restore to default destination
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=15
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=16
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=17
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=18
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=19
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=20
    channel ORA_DISK_1: reading from backup piece O:\RMAN\BACKUP\ARCHIVE_WEEKLY_ORCL_5_1_642420630
    channel ORA_DISK_1: restored backup piece 1
    piece handle=O:\RMAN\BACKUP\ARCHIVE_WEEKLY_ORCL_5_1_642420630 tag=Test_WEEKLY_ARCH
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:08
    Finished restore at 27-DEC-07
    RMAN> ALTER DATABASE OPEN;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 12/27/2007 10:27:10
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF'
    Regards;
    Asim

  • How to delete archive log files from ASM through Grid Control

    Hi
    Anybody suggest me how to delete archive log files from ASM through Grid Control.
    Thanks

    It is important to specify both, the oracle version and os version when posting, so confusions can be avoided.
    In this particular case, since you are referring to asm and grid control you could be talking about either 10gR1, 10gR2 or 11gR1; but I strongly suggest you to avoid us to be guessing. In either case, you sould go to the maintenance tab of the target database and program a scheduled 'delete noprompt obsolete;' procedure. This will purge the information stored at the Flash recovery area, which I assume you have declared inside the ASM.
    ~ Madrid
    http://hrivera99.blogspot.com/

  • How to delete archive log on standby site

    hi
    i configured dataguard on 10g. could anyone suggest how to delete archived log on standby site..

    Hi,
    There is no automatic feature out-of-the-box but you have the following views:
    1) Shows archive logs transfered:
    select sequence#, first_time, next_time from v$archived_log order by sequence#;
    2) Shows archive logs applied:
    select sequence#, archived, applied from v$archived_log order by sequence#;
    If you see your archivelogs applied you can safely remove archive log files from your disk. It is your decision if you keep or delete them completely.

  • How can restore my ipad with my mac even though I first reset it with another computer

    how can restore my ipad with my mac even though I first reset it with another computer

    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
    Update and restore alert messages on iPhone, iPad, and iPod touch
    http://www.buybuyla.com/tech/view/012953a0d412000e.shtml
    iOS: Resolving update and restore alert messages
    http://support.apple.com/kb/TS1275
    iPad: Unable to update or restore
    http://support.apple.com/kb/ht4097
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/TS3694
    If you can't update or restore your iOS device
    http://support.apple.com/kb/ht1808
    Unable to restore from backup of a newer device
    http://support.apple.com/kb/ts3682
     Cheers, Tom

  • Restoring archive log after cold backup

    Hello forums users,
    I read many thing on this topic but I didn't find the good answer.
    I performed a cold backup each sunday.
    My database is in ARCHIVE LOG mode.
    Is it possible to restore ARCHIVE LOG files after restoring COLD backup?
    Sunday : cold backup
    Monday : new archive log have been created since cold backup
    Tuesday : same as Monday
    Wednesday : I would like to restore to Monday 22:00 for example
    Can I restore cold backup + apply archive log until Monday 22:00 ?
    Regards,
    Guillaume

    recover database using backup controlfile until cancel|time|logseq|scn
    will do this and prompt you for the archivelogs.
    Known as 'incomplete recovery'
    Hth
    Sybrand Bakker
    Senior Oracle DBA

  • HELP....How to delete archive log from v$archived_log table...

    Hi All
    Our prod database was running in Archive log mode and now it is in NO Archive log mode. I deleted all archive logs from the disk but I can still see them in v$archived_log table. How do I delete them from this table.
    Environment is Oracle8i(8.1.7) running on Windows 2000 Advanced Server.
    Thank you
    Amit

    Hi,
    Recreating the controlfile is the only way to force a cleanup of all entries in v$archived_log.
    You can see information on Metalink Note:1012929.6
    Paolo

  • How to delete archive log by RMAN.

    Hi All,
    How to delete archive log by RMAN and what is the difference between
    delete all input & all delete input in RMAN backup.

    plus archivelog all delete inputYou get an error on the syntax.
    "PLUS ARCHIVELOG" does not allow the "ALL" keyword.
    (See "backupSpecOperand" in the RMAN Documentation of the BACKUP command syntax).
    However, "DELETE INPUT" allows the optional "ALL" keyword as in "DELETE ALL INPUT" to delete from all archivelog destinations.
    I guess that you have confused the "ALL" keyword in "BACKUP ARCHIVELOG" as being possible in "BACKUP .. PLUS ARCHIVELOG".
    "ALL" is allowed in "BACKUP ARCHIVELOG" but not in "BACKUP .. PLUS ARCHIVELOG".
    Hemant K Chitale

  • How to restore iPhone 3gs with error code 1015 ??

    How to restore iPhone 3gs with error code 1015 ??

    The only advice we can give is to try and put it into DFU mode and restore. If that doesn't fix it, buy a new phone.
    There is a reason that Jailbreaking isn't supported. You have just been kicked in the donkey by it.

  • MacBook Pro with SSD that has a limited disk space (120GB). Rendering in Project File (User/Movies/Final Cut Projects), it takes huge space and the limited disk space would not be enough for the whole editing.

    I'm using MacBook Pro with 128GB SSD that has a limited disk space. As we know, when rendering in Project File (User/Movies/Final Cut Projects), it takes huge space and the limited disk space would not be enough for the whole editing.
    My question is, Is there any method to get the rendering Projects file saved into an external hard drive which is connected with USB/ Thunderbolt/ Firewire, with huge disk space (eg. 500GB HDD).
    Now, new project created in my Mac is automatically saved in (User/Movies/Final Cut Projects) and my Mac has ran out of space to hold the files.
    Thank you.

    You have at least 3 different ways to show the project library:
    1) Go to WIndow->Show Project Library
    2) Click the button in bottom left of your window: 
    3) Hit the keyboard shortcut (Command-0)
    The project library will be shown, occupying the area where the timeline usually is.
    Your hard disks will be visible. Click the hard disk where you want the new project to reside and hit Cmd-N to create a new project.

  • How to integrate Note Service with the webservice space?

    Hi
    Can anyone please guide me how to integrate *"Note Service"* with the webcenter spaces. I need to implement "Personal Note" in my webcenter space application. Please can anyone give me article showing step by step procedure to implemennt note service with webcenter spaces or some sample examples.
    Regards
    Raj

    Hi
    Already i have seen this document, here they did not mention how to get the "Note TaskFlow" in resource catalog. In Resource catalog I didn't find any component named "Note TaskFlow".
    To make it visible in resource catalog. What should I do?
    To integrate Webcenter Services(link, mail, notes, etc..) with webcenter spaces, what do i need to do? Itseems all services are in the form of taskflows. How can i make it enable and to bring it in resource catelog?
    Regards
    Raj

Maybe you are looking for

  • Error in key figure value at Reporting level

    Hi Experts, I had problem of Key figure value which displays wrong data in reporting. The Process is : I had added the key figure SALK3 to the generic data source (xxx). The Extractor is Table/View, Table is MBEW.I had replicated to BW side. In BW, T

  • Read a text file into a map?

    I need to create a map that looks something like this: temp0 -> A temp1 -> A temp2 -> B temp3 -> C temp4 -> B temp5 -> A temp6 -> C Now instead of implementing this in a .java file (that needs to be compiled) I was wondering if there was some way to

  • E-mail verification doesn't work

    hi, I am still waiting for my mail(3 days now) and i am not amused with this. Maybe someone can send me the password in mail([email protected]) i hope someone will respond now. grtz

  • IWeb 1.1.2

    I recently started posting on my blog again. The comments link no longer appears, although it shows up within the program. My .mac account is running out in January and I am thinking about dropping it. What is a blog without comments??? I am told thi

  • How can I get a webcast to work?

    I go to the website, live webcasts, then the webcast but the screen for the webcast does not appear.  Broadband service was cheked out beause a friend on cable can get it.  Installed and paid for new version of flip4mac and adobe flash player.  Still