No Online backups due to datafiles offline than I canu0092t recover. How...?

Hi gurus!!!
I got into a problem with some datafiles.
We have MySAP in a BD oracle 9.2.0.6
I used Oracle Entreprise Manager Console to generate two datafiles in the tablespace PSAPPRDUSR,
but I generated them in another tablesapce (PSAPPRD) with a name of file,
size and location very different from those that there uses the tablespace PSAPPRD.
<b>So... I put them offline later to erase them later!!!</b>
<b>The datafiles contains no data.</b>
<b>Later, in the night backup:</b>
   BR0334W Status of database file /oracle/PRD/sapdata4/prdusr_2/prdusr.data2 is RECOVER 
   BR0334W Status of database file /oracle/PRD/sapdata4/prdusr_2/prdusr.data2a is RECOVER
   BR0301E SQL error -1128 at location BrTspAlter-3                    
   ORA-01128: cannot start online backup - file 31 is offline          
   ORA-01110: data file 31: '/oracle/PRD/sapdata4/prdusr_2/prdusr.data2'
   BR0280I BRBACKUP time stamp: 2007-04-20 03.01.21                    
   BR0316E 'Alter tablespace PSAPPRD begin backup' failed              
   BR0056I End of database backup: bdvbtndh.ant 2007-04-20 03.01.21    
<b>
And now... I neither can erase them nor can put online again.</b>
<b>To erase them I used:</b>
SQL> ALTER DATABASE DATAFILE '/oracle/PRD/sapdata4/prdusr_2/prdusr.data2' OFFLINE DROP;
Database altered.
SQL> commit;
But they continue there, do not resign.
<b>To put them online:</b>
SQL> alter database recover datafile '/oracle/PRD/sapdata4/prdusr_2/prdusr.data2';
alter database recover datafile '/oracle/PRD/sapdata4/prdusr_2/prdusr.data2'
ERROR at line 1:
ORA-00279: change 31203204 generated at 04/19/2007 19:30:11 needed for thread 1
ORA-00289: suggestion : /oracle/PRD/oraarch/PRDarch1_2574.dbf
ORA-00280: change 31203204 for thread 1 is in sequence #2574
SQL>
<b>But we have continued working and I don't want to lose any data.</b>
HEEEELP!!!!
What I can do to recover the datafiles and to continue with my daily Online backups?
The BD is in production and I do not have long time to fix it, only a few hours on Saturdays night.

Hi,
alter database datafile offline drop;
This command is not meant to drop a datafile. It is meant to offline the datafile with the intention of dropping the tablespace.
For a tablespace comprising multiple datafiles you can only drop a datafile by dropping the entire tablespace, this will work even you have one datafile.
If you have 10gr2, it's finally possible to drop a datafile as long as
it's not the only datafile within the tablespace, and
the tablespace is only and in read-write status.
So since you are on 9i your situation in summary:
If you have more than one datafile in the tablespace and you wish to keep the objects that reside in the other datafile(s) which are part of this tablespace, then you must export all the objects inside the tablespace.
1. Gather information on the current datafiles within the tablespace by running some query to remember the t/s, segment, and datafile info.
2. Export all the objects that you wish to keep.
3. Once the export is done, issue the DROP TABLESPACE <tablespace name> INCLUDING CONTENTS.
4. Delete the datafiles belonging to this tablespace using the operating system.
5. Recreate the tablespace with the datafile(s) desired, then import the objects into that tablespace.
Hope this helps and good luck,
George

Similar Messages

  • Problem in new database creation with the help of online  backup

    Dear dba's
    i am using oracle 11gR2 database in windows server 2003. database is running in ARCHIVE LOG mode.
    i have taken an online backup of all datafile,controlfile and spfile.Then i crated folders in all the locations as required for new database.
    then i registerd the service of new database named as 'newdb' by
    oradim -NEW -SID newdb
    then i created a password file manually in 'oracle_home\database' location.
    i created a new contolfile named as controlfile_01.ctl. the content of controlfile as follows
    STARTUP NOMOUNT
    CREATE CONTROLFILE SET DATABASE "NEWDB" NORESETLOGS ARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    MAXINSTANCES 8
    MAXLOGHISTORY 292
    LOGFILE
    GROUP 1 (
    'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\ONLINELOG\O1_MF_1_7FK0XG7B_.LOG',
    'D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\NEWDB\ONLINELOG\O1_MF_1_7FK0XHWB_.LOG'
    ) SIZE 50M,
    GROUP 2 (
    'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\ONLINELOG\O1_MF_2_7FK0XKB8_.LOG',
    'D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\NEWDB\ONLINELOG\O1_MF_2_7FK0XM0Z_.LOG'
    ) SIZE 50M,
    GROUP 3 (
    'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\ONLINELOG\O1_MF_3_7FK0XNOZ_.LOG',
    'D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\NEWDB\ONLINELOG\O1_MF_3_7FK0XOWB_.LOG'
    ) SIZE 50M
    DATAFILE
    'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\DATAFILE\O1_MF_SYSTEM_7FK0SKN0_.DBF',
    'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\DATAFILE\O1_MF_SYSAUX_7FK0SKPG_.DBF',
    'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\DATAFILE\O1_MF_UNDOTBS1_7FK0SKTC_.DBF',
    'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\DATAFILE\O1_MF_USERS_7FK0SKWB_.DBF',
    'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\DATAFILE\O1_MF_EXAMPLE_7FK0Z5LK_.DBF',
    'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\MARSH.DBF',
    'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\JOMARSH.DBF'
    CHARACTER SET AL32UTF8
    the control file path was registered in pfile also.
    then i brought the database to nomount stage.
    the problem is when i try to mount database it shows following error. anyone can help me to over come from this issue????????
    SQL> startup pfile='D:\app\Administrator\product\11.1.0\db_1\database\INITnewdb.ora' nomount;
    ORACLE instance started.
    Total System Global Area 535662592 bytes
    Fixed Size 1334380 bytes
    Variable Size 301990804 bytes
    Database Buffers 226492416 bytes
    Redo Buffers 5844992 bytes
    SQL> ALTER DATABASE MOUNT;
    ALTER DATABASE MOUNT
    ERROR at line 1:
    ORA-00205: error in identifying control file, check alert log for more info
    the alert massage is:
    ORA-00210: cannot open the specified control file
    ORA-00202: control file: 'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\CONTROLFILE\CONTROLFILE_01.CTL'
    ORA-27048: skgfifi: file header information is invalid
    OSD-04001: invalid logical block size (OS 1413563730)
    Fri Dec 09 13:11:59 2011
    Checker run found 1 new persistent data failures
    ORA-205 signalled during: ALTER DATABASE MOUNT...
    Thanks & Regards,
    John Marshal.A

    Hi;
    Error: ORA 205
    Text: error in identifying control file <name>
    Cause: The system could not find a control file of the specified name and
    size.
    Action: Either
    Check that the proper control filename is referenced in the
    CONTROL_FILES initialization parameter in the initialization parameter
    file and try again.
    When using mirrored control files, that is, more than one control file
    is referenced in the initialization parameter file, remove the control
    filename listed in the message from the initialization parameter file
    and restart the instance.
    If the message does not recur, remove the problem control file from
    the initialization parameter file and create another copy of the
    control file with a new filename in the initialization parameter file.
    Regard
    Helios

  • Online backups on BIW systems, every update is logged?

    Some years ago I was at an SAP BIW installation, they performed Oracle online backups dayly.
    For some reason, they had to restore and recover DB, and after using an online backup as a restore basis, some indexes were not usable, because they had been updated without archive log information.
    Finally, the easiest way for the system administator was using an offline backup.
    I got to know there were some updates (not critical) not being logged in the DB, so online backups, as well as standby DB would not be as useful as on OLTP systems.
    Does somebody know if this is or this is not the same nowadays? Is everything logged on a BW system? Is that a tunable configuration for some indexes? Is an online backup really useful after restoring and recovering?
    Thanks very much for your experience and answers !!
    Eva

    Hello Eva,
    > For some reason, they had to restore and recover DB, and after using an online backup as a restore basis, some indexes were not usable, because they had been updated without archive log information.
    This behaviour is absolutely normal.
    In a BW system the indexes are created / rebuild with the NOLOGGING clause, because of some performance reasons.
    > Finally, the easiest way for the system administator was using an offline backup.
    The easiest yes - but concurrently the worst one. He can identify the "new" indexes since the last online backup and only recreate this ones.
    > Does somebody know if this is or this is not the same nowadays?
    Yes the NOLOGGING clause is still used nowadays.
    > Is everything logged on a BW system?Is that a tunable configuration for some indexes?
    You can "deactivate" the NOLOGGING clause.. but then you can have some performance impacts in your BW load processes.
    Check sapnote #442763 for the customizing.
    > Is an online backup really useful after restoring and recovering?
    Yes, of course .. the ONLINE backup is the preferred method.
    If you recover your database with the BR*Tools .. your unusable indexes are automatically rebuild.
    Check sapnote #849485 for that feature.
    Regards
    Stefan

  • Automatic datafile offline due to write error

    Hi,
    Our SAP system are down. In the alert.log file, i found that one of the files are being locked by third party backup software.
    I'm new to both oracle and basis, pls advise the steps to recover the database. Thank you.
    The error in the alert log file:
    Errors in file f:\oracle\p02\saptrace\background\p02_lgwr_3896.trc:
    ORA-00345: redo log write error block 8404 count 2
    ORA-00312: online log 3 thread 1: 'D:\ORACLE\P02\ORIGLOGA\LOG_G13M1.DBF'
    ORA-27072: File I/O error
    OSD-04008: WriteFile() failure, unable to write to file
    O/S-Error: (OS 33) The process cannot access the file because another process has locked a portion of the file.
    Sat Oct 25 00:23:12 2008
    Errors in file f:\oracle\p02\saptrace\background\p02_lgwr_3896.trc:
    ORA-00343: too many errors, log member closed
    ORA-00346: log member marked as STALE
    ORA-00312: online log 3 thread 1: 'D:\ORACLE\P02\ORIGLOGA\LOG_G13M1.DBF'
    Sat Oct 25 00:26:04 2008
    Incremental checkpoint up to RBA [0x1c1b.2079.0], current log tail at RBA [0x1c1b.20dc.0]
    Sat Oct 25 00:35:18 2008
    KCF: write/open error block=0x3f7c6 online=1
         file=5 G:\ORACLE\P02\SAPDATA1\SR3_2\SR3.DATA2
         error=27072 txt: 'OSD-04008: WriteFile() failure, unable to write to file
    O/S-Error: (OS 33) The process cannot access the file because another process has locked a portion of the file.'
    Automatic datafile offline due to write error on
    file 5: G:\ORACLE\P02\SAPDATA1\SR3_2\SR3.DATA2
    Sat Oct 25 00:35:19 2008
    KCF: write/open error block=0x3f7c4 online=1
         file=5 G:\ORACLE\P02\SAPDATA1\SR3_2\SR3.DATA2
         error=27070 txt: 'OSD-04016: Error queuing an asynchronous I/O request.
    O/S-Error: (OS 33) The process cannot access the file because another process has locked a portion of the file.'
    Automatic datafile offline due to write error on
    file 5: G:\ORACLE\P02\SAPDATA1\SR3_2\SR3.DATA2
    Sat Oct 25 00:36:00 2008
    KCF: write/open error block=0x37f74 online=1
         file=7 G:\ORACLE\P02\SAPDATA1\SR3_4\SR3.DATA4
         error=27072 txt: 'OSD-04008: WriteFile() failure, unable to write to file
    O/S-Error: (OS 33) The process cannot access the file because another process has locked a portion of the file.'
    Automatic datafile offline due to write error on
    file 7: G:\ORACLE\P02\SAPDATA1\SR3_4\SR3.DATA4
    Sat Oct 25 00:45:49 2008
    Errors in file f:\oracle\p02\saptrace\usertrace\p02_ora_3876.trc:
    ORA-00600: internal error code, arguments: [kdtdelrow-2], [2], [2], [], [], [], [], []
    ORA-00376: file 5 cannot be read at this time
    ORA-01110: data file 5: 'G:\ORACLE\P02\SAPDATA1\SR3_2\SR3.DATA2'

    Hi
    As alway use this information for research purposes only.
    I presume that Oracle and SAP application servers are down.
    Now would be a good time to make a backup image of your crippled system.
    This way you can always get back to this state if needed.
    So do an offline backup if possible.
    It looks like a log file is damaged or deleted. You may find that you have a
    mirror image of it so this might not be the end of the world.
    If you have oracle up to the mount point e.g.
    startup mount
    then you should be able to acces the v$logfile
    select  GROUP#,STATUS,MEMBER from v$logfile;
    This will show you whether the have a mirror setup for the log file you need.
    Make sure all the files outlined in this output exist.
    e.g. do a DIR in the parant directory.
    Post all the output of v$logfile and whether all the files exist.
    regards
    Stephen

  • Offline or Online Backup after switching off and on the archving mode

    Hello guys,
    I am doing an SAP (on Oracle) upgrade. In the upgrade guide there are two completely different statements about making a backup of the Oracle database during upgrade.
    1st statement:
    "If you deactivate archiving, you have to make a full backup of the database after the downtime before you switch archiving back on. This must be executed as an offline backup."
    2nd statement:
    "Backup: Database Was Operated in NOARCHIVELOG Mode
    Activate ARCHIVELOG mode again and create a full backup of the database. This must be executed as an offline backup."
    Quotes from: "Upgrade GuideSAP ERP 6.0 Including Enhancement Package 4 Support Release 1 ABAPBased on SAP NetWeaver 7.0 Including Enhancement Package"
    I understand the fact that the backup has to be offline if you do it before you activate archiving. This is logical.
    1) Why does SAP do these two proposals before and after switching on archiving which are completely contrary?
    2) Why does the backup has to be offline if you do it after switching on archiving?
    May be somebody knows the background for this.
    Thanks
    Nik

    Hi,
    Two kind of Recovery play an important role in Database Recovery after DB Restore. The Database recovery can be Compete recovery, point-in-time recovery or partial recovery.
    Media Recovery (due to media failure/corruption or loss of Data files) can be performed by applying all Offline Redo Log files which are generated from Online Redo-log file in Archive Mode.
    Instance Recovery can be done with the help of Online Redo log file and undo table-space to achieve consistent status of Database. In this recovery the committed transactions (which are logged in Online Redo Log files) are roll forward and the uncomplete transactions (which are also logged in Online Redo Log Files) are rolled back into DB using Undo space info.
    If you deactivate archiving, you have to make a full backup of the database after
    the downtime before you switch archiving back on. This must be executed as an offline backup.
                       With Archive log Mode , one can deal with Media Recovery and Instance Recovery. Upon deactivating Archive log mode, the Archive log files will not be generated and the circular logging will take place within the group of online redo log files.
                       So, after deactivating Archive Log mode, Its recommended to take immediate offline backup to have consistent Backup copy of Database which may be required to deal with demanded media recovery by restoring that immediate latest offline Backup. If the database operates in NOARCHIVELOG mode, the database can ONLY be completely recovered from instance failure but not from media failure. This means that, in case of media failure you will lose all work done after the last valid offline backup. The database can be backed up only while it is completely closed.
                       Upon media failure after deactivating the Archive log mode (..rare chance, but we can not ignore it...),the complete recovery can not be achieved if the large time gape is there between the last successful offline backup and DB crash because between this time it may be the chance that the Online Redo log files are overwritten so many times in circular manner.

  • Datafile offline后 无法online

    数据文件1个月前前被offline 后,忘了online
    最近才发现这个问题,rman 的的备份策略是保存一周,.现在数据文件是recover 状态
    SQL> select status from v$datafile;
    STATUS
    SYSTEM
    ONLINE
    ONLINE
    ONLINE
    ONLINE
    RECOVER
    进行了如下操作
    [oracle@localhost ~]$ rman target /
    Recovery Manager: Release 10.2.0.1.0 - Production on Sun Oct 14 15:21:39 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: ORCL (DBID=1282456281)
    RMAN> restore datafile 6;
    Starting restore at 14-OCT-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=158 devtype=DISK
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00006 to /u01/app/oracle/oradata/orcl/test.dbf
    channel ORA_DISK_1: reading from backup piece /u01/app/oracle/flash_recovery_area/ORCL/backupset/2012_10_14/o1_mf_nnndf_TAG20121014T113901_87ndypbn_.bkp
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/u01/app/oracle/flash_recovery_area/ORCL/backupset/2012_10_14/o1_mf_nnndf_TAG20121014T113901_87ndypbn_.bkp tag=TAG20121014T113901
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:15
    Finished restore at 14-OCT-12
    RMAN> recover datafile 6;
    Starting recover at 14-OCT-12
    using channel ORA_DISK_1
    starting media recovery
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 10/14/2012 15:22:33
    RMAN-06053: unable to perform media recovery because of missing log
    RMAN-06025: no backup of log thread 1 seq 97 lowscn 10552775 found to restore
    RMAN-06025: no backup of log thread 1 seq 96 lowscn 10552545 found to restore
    RMAN-06025: no backup of log thread 1 seq 95 lowscn 10550471 found to restore
    RMAN> exit
    Recovery Manager complete.
    --一周前的全备和增量备份,归档日志已经被删除
    [oracle@localhost ~]$
    [oracle@localhost ~]$
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Oct 14 15:22:51 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 1241513984 bytes
    Fixed Size 1219136 bytes
    Variable Size 335545792 bytes
    Database Buffers 889192448 bytes
    Redo Buffers 15556608 bytes
    Database mounted.
    SQL> alter database open;
    Database altered.
    数据库能正常启动
    SQL> select status from v$datafile;
    STATUS
    SYSTEM
    ONLINE
    ONLINE
    ONLINE
    ONLINE
    RECOVER
    6 rows selected.
    状态还是recover 状态
    SQL> alter database datafile 6 online;
    alter database datafile 6 online
    ERROR at line 1:
    ORA-01113: file 6 needs media recovery
    ORA-01110: data file 6: '/u01/app/oracle/oradata/orcl/test.dbf'
    如何使该数据文件online ?
    以上环境是我的模拟的 有一个生产库和该情况基本一样

    谢谢 部分归档日志的备份已经被删除(因为备份策略 不可能保存所有的归档日志)
    只有选择第二种了.
    数据文件意外offline 或变成recover状态,由于对系统没有影响(如我遇到SYSAUX表空间),一直没有发现,能到发现了,已经是很长时间了,归档日志已经不全了(备份策略没有保存那么长时间)
    这类问题有什么好的办法可以避免吗?

  • Whole online backup from DB13 failed due to processing error

    Hello!
    I have difficulty by execution of Whole database online backup from DB13 via FTP on the remote target.  The backup goes very slow and breaks after a while.
    The BRBACKUP action log looks as follows:
    backup_mode ALL
    backup_type online
    backup_dev_type stage
    stage_root_dir /sap/DEVB
    compress no
    stage_copy_cmd ftp
    remote_host 192.168.200.3
    remote_user sapbackup
    #FILE..... E:\ORACLE\DEV\SAPDATA2\SR3_10\SR3.DATA10
    #SAVED.... /sap/DEVB/bdwkuudu/SR3.DATA10 #1/6
    BR0280I BRBACKUP time stamp: 2007-10-23 01.44.35
    BR0063I 6 of 41 files processed - 12000.047 MB of 93092.766 MB done
    BR0204I Percentage done: 12.89%, estimated end time: 23:06
    BR0001I ******____________________________________________
    BR0202I Saving E:\ORACLE\DEV\SAPDATA2\SR3_6\SR3.DATA6
    BR0203I to /sap/DEVB/bdwkuudu/SR3.DATA6 ...
    #FILE..... E:\ORACLE\DEV\SAPDATA2\SR3_6\SR3.DATA6
    #SAVED.... /sap/DEVB/bdwkuudu/SR3.DATA6 #1/7
    BR0280I BRBACKUP time stamp: 2007-10-23 02.38.05
    BR0063I 7 of 41 files processed - 14000.055 MB of 93092.766 MB done
    BR0204I Percentage done: 15.04%, estimated end time: 21:36
    BR0001I ********__________________________________________
    BR0202I Saving E:\ORACLE\DEV\SAPDATA2\SR3_7\SR3.DATA7
    BR0203I to /sap/DEVB/bdwkuudu/SR3.DATA7 ...
    <b>BR0278E Command output of 'F:\usr\sap\DEV\SYS\exe\uc\NTAMD64\sapftp.exe -v -n -i 192.168.200.3 -u H:\oracle\DEV\sapbackup\.bdwkuudu.ftp -b -c put E:\ORACLE\DEV\SAPDATA2\SR3_7\SR3.DATA7 /sap/DEVB/bdwkuudu/SR3.DATA7':
    Connected to 192.168.200.3 Port 21.
    220-FTP server ready.
    220 This is a private system - No anonymous login
    331 User sapbackup OK. Password required
    230-User sapbackup has group access to: administrator
    230-This server supports FXP transfers
    230-OK. Current restricted directory is /
    230-************************************************
    230-* Use SITE command to change client codepage: *
    230-* ie, site codepage [client codepage] *
    230 ************************************************
    200 TYPE is now 8-bit binary
    200 PORT command successful
    150 Connecting to port 4977
    NiWrite error: -6, bytes to send: 32767 bytes written: 0
    BR0280I BRBACKUP time stamp: 2007-10-23 03.08.37
    BR0279E Return code from 'F:\usr\sap\DEV\SYS\exe\uc\NTAMD64\sapftp.exe -v -n -i 192.168.200.3 -u H:\oracle\DEV\sapbackup\.bdwkuudu.ftp -b -c put E:\ORACLE\DEV\SAPDATA2\SR3_7\SR3.DATA7 /sap/DEVB/bdwkuudu/SR3.DATA7': 1
    BR0222E Copying E:\ORACLE\DEV\SAPDATA2\SR3_7\SR3.DATA7 to/from /sap/DEVB/bdwkuudu/SR3.DATA7 failed due to previous errors </b>
    BR0280I BRBACKUP time stamp: 2007-10-23 03.08.43
    BR0317I 'Alter tablespace PSAPSR3 end backup' successful
    BR0056I End of database backup: bdwkuudu.ans 2007-10-23 03.08.37
    BR0280I BRBACKUP time stamp: 2007-10-23 03.08.43
    BR0054I BRBACUP terminated with errors
    Any helpful information will be appreciated.
    regards!
    Thom

    this post is duplicated at Re: Backup to remote stage failed due to RFC error
    please only post your question once and only in 1 forum.
    thanks.

  • OFFLINE BACK & ONLINE BACKUP

    I want to take a offline backup as well as online backup also.
    Operating System is Windows NT 4.0.
    Oracle version 8.0.6.1.0
    what are the preventive steps should i follow and what are the commands to be use to complete this task.

    You are using ANCIENT software! Neither NT 4.0 nor Oracle 8.0.x is any more supported...
    Check
    http://help.sap.com/saphelp_45b/helpdata/en/42/51b3144a1211d182b80000e829fbfe/frameset.htm
    Markus

  • Offline & online backups????

    Hi all,
             Why are the advantages & disadvantages of offline & online backups??

    Hi Ravi,
    Joydeep has described it very well.
    Just to add a bit:
    If you are wondering what happens to the online redo log files while the online backup is running:
    <i>During online backup, BRBACKUP does not backup the online redo log files. Instead, BRBACKUP generates online redo log switches so that all the online redo log files written during the online backup are copied into the archive directory. These offline redo log files then need to be backed up, since an online backup is consistent only in conjunction with these redo log files. The BRARCHIVE program backs up the offline redo log files.</i>
    So the idea that during an online backup some redo files might be missed, is explained from the above paragraph.
    Regards,
    Loukas

  • HT4910 Is there any way to change my settings to backup to my PC rather than online?

    Is there any way to change my settings to backup to my PC rather than online?  Tried looking at Settings in iCloud but it just says I need to purchase more storage.  I want to simply back up to my PC instead...

    Welcome to the Apple Community.
    Connect to iTunes and choose 'Computer from the back up section on the summary page.

  • Online backup failure due to ORA-27086: unable to lock file - already in us

    Hi All,
      Online backup has failed due to the error
    =========================================================
    BR0301E SQL error -27086 at location BrInitOraCreate-5, SQL statement:
    '/* BRBACKUP AT PROF_CONN */ CREATE PFILE = '/oracle/SID/102_64/dbs/sap.ora' FROM SPFILE = '/oracle/SID/102_64/dbs/spfileSID.o
    ra''
    ORA-27086: unable to lock file - already in use
    IBM AIX RISC System/6000 Error: 13: Permission denied
    Additional information: 8
    Additional information: 1388548
    BR0303E Determination of Oracle version failed
    ==========================================================
    Please suggest.

    Check the file permissions on your Oracle_home...
    And kill all the processes, which already running for backup..
    Regards,
    Nick Loy

  • Whether to take Offline (or) Online backup

    Hi
          I am planning to apply support pack 14 now I am in SP13 before applying SP14 I am planning to take Database backup.
          What is recommended whether to take Offline or Online backup,
          Can any one explain which the best way to take backup is.

    Hi,
    Taking a successful backup is must(suggested)  before Support pack implementation.
    However online/offiline anything will be ok.
    As online backup is taken to minimise the downtime for SAP application.
    If you can get a downtime you can go for offline backup..
    Say if you can not get downtime then go for online backup.Given you are running in archive log mode.During this performance will be little degraded.that is why suggested to run online backup in off -peak hours
    You can go for a online backup before night(starting of SP implementation) and before starting the support packs do a log switch and then do a archive backup and make a note of that log number and start the SP implementation.
    In case of problems when you have to restore the backup restore the backup and recover until the log number which we generated just before the SP implementation...
    Thanks.
    Edited by: Vani n on Jul 24, 2008 2:28 PM
    Edited by: Vani n on Jul 24, 2008 2:30 PM

  • How does recovery work after an online backup

    Hello,
    While trying to conceptually understand how backup and recovery works, I came accross a question concerning hot (online) backup.
    This is a conceptual question (I am trying to understand how things work), it is not a "how should I proceed/ what should I do step by step" question.
    As far as I understand, an online backup of a tablespace can be performed by copying the OS files making up a tablespace while the database is up and being used (i.e. transactions are modifying data in the database). Before the copying of the OS files starts, the Oracle RDMS must be notified that an online backup is being taken via "ALTER...BEGIN BACKUP" (such that some additional information is written to the Redo Log, which may be required for subsequent recovery using the online backup). During recovery the Oracle RDBMS uses the copies of the OS files together with the online and archived redo logs in order to reconstruct all committed transactions and it further uses the UNDO tablespace to rollback open (uncommitted) transactions.
    Thinking about this, it seems to me, that in order for this to work in all possible scenarios the undo information from the time the backup was taken may be required. Therefore backup of the UNDO tablespace should be taken as well (see the explanation for this assumption below). However browsing the internet (including the Oracle online documentation) I did not find any statements concerning the backup of the UNDO tablespace when an online backup is taken. Moreover I couldn't figure out when exactly such a backup of the UNDO tablespace must be done, to ensure that the database can be recovered in all scenarios.
    I believe that undo information from the time the hot backup was taken may be required e.g. in the following scenario:
    Assume we are taking a hot backup of a given tablespace, i.e. we are copying all OS files that make up this tablespace, while the database is potentially being used. Let D1 be one of the datafiles in our tablespace and let transaction T1 modify datafile D1. Let transaction T1 further be uncommitted while the copy of datafile D1 is being made and let (at least some of) the changes from T1 be included in the backup copy D1' of D1 (because DBWR has already written the modified blocks at the time they were being copied to the backup). Let transaction T1 be rolled back after the copy is completed. D1' will thus contain modifications from T1, while D1 will not.
    Now some time later the datafile D1 is lost. When recovering D1 from the copy D1', the (archived) redo logs will be applied to D1'. Before that, transaction T1 should be rolled back in the copy D1', because modifications from T1 must not appear in the recovered version of the database.
    I do however not understand, where the information to rollback transaction T1 exactly comes from. It may still be in the current UNDO tablespace. I do however assume that rollback information is not kept in the UNDO tablespace forever. I see three possible answers to this
    (a) There are some requirements which I missed so far to backup the UNDO tablespace whenever a hot backup is made.
    (b) Since the Oracle "RDBMS" has to be notified that an online backup is being done, it might store all relevant undo information (e.g. write it to the redo log) when the tablespace is put in backup mode.
    (c) There are situations when recovery is not possible due to "missing old UNDO information".
    Answer (b) seems the most plausible to me. I did however not find any confirmation of this and if (b) really is the answer, I would be interested to understand what information is stored where by the Oracle RDMBS and how it is used for recovery.
    To summarize I have the following questions:
    (I) Is there any requirement to backup the UNDO tablespace together with an online backup of a tablespace, and if so, where is this stated in the Oracle documentation?
    (II) What mechanisms ensure that uncommitted transactions can be cleared from the online copy of a tablespace (potentially a long time after the copy was taken)?
    (III) Do you know any links (Oracle documentation or other online resources) explaining these datails?
    Thank you for any hints and answers
    kind regards
    Martin

    Its a highly technical question and I can be completely wrong due to my very less knowledge but I would attempt to answer still. Hope I say something sensible so bear with me.
    As far as I understand, an online backup of a tablespace can be performed by copying the OS files making up a tablespace while the database is up and being used (i.e. transactions are modifying data in the database).Correct. But it would depend on the tool you are going to use to do so.Using o/s level commands like CP and all would require you to manually copy the files to the backup location. Using RMAN, it would be lot easier and RMAN would take care of everything.
    Before the copying of the OS files starts, the Oracle RDMS must be notified that an online backup is being taken via "ALTER...BEGIN BACKUP" (such that some additional information is written to the Redo Log, which may be required for subsequent recovery using the online backup). Again, this is a requirement only in the case of user-managed backup . In that case, because of the fractured block issue , its important that the corresponding older information/image of the buffer is also copied in the redo stream and that's done when the begin backup command is used. Using RMAN, this is not needed as RMAN can read the consistent image which it would store in the backup piece, exactly in the same way in which select request is fulfilled by oracle for a dirty buffer which is yet to be made consistent.
    During recovery the Oracle RDBMS uses the copies of the OS files together with the online and archived redo logs in order to reconstruct all committed transactions and it further uses the UNDO tablespace to rollback open (uncommitted) transactions.Correct!
    Thinking about this, it seems to me, that in order for this to work in all possible scenarios the undo information from the time the backup was >taken may be required. Therefore backup of the UNDO tablespace should be taken as well (see the explanation for this assumption below). >However browsing the internet (including the Oracle online documentation) I did not find any statements concerning the backup of the UNDO >tablespace when an online backup is taken. Moreover I couldn't figure out when exactly such a backup of the UNDO tablespace must be done, to >ensure that the database can be recovered in all scenarios.The reason that its not a must to do so is that if the transaction is yet active, there is no way that Oracle would overwrite the Undo information of it, even if you may come after 100 years, it would be there. The Undo segment would mark those blocks as active undo blockswhich contains the information of that transaction whose status within the transacton table of that undo segment is still marked as active. So its there all the time in the undo tablespace. Now, for an instance, let's assume that the undo is not there as well( it would be but let's assume), the changes made to the undo segment's blocks are also recored in the redo as its just a change happening to any other segment like EMP,DEPT except with the difference that its not done by you but by oracle. So using that information, in the future , if there would be a need to replay those changes, necessary information to do so can be brought up from the redo blocks stored in the redo/archive logs. Yes, if there would be pending transactions that would require Undo information to get them rolled back and you have lost Undo tablespace and have no backup of it , you wont be able to bring back the database as it would be inconsistent and oracle would not let you to do it. In that case, you may require to use hacks to get it up and that would be really tricky situation.
    (I) Is there any requirement to backup the UNDO tablespace together with an online backup of a tablespace, and if so, where is this stated in the Oracle documentation?As I said above, it must be there if you are anticipating loss of Undo tablespace. If you have lost it, you would need a backup and all the archive logs and redo logs to recover and get it back to the point where the current database is . Rest, oracle would take care as it would reapply the redo contents of the undo segments over the undo segment and get it consitent.
    (II) What mechanisms ensure that uncommitted transactions can be cleared from the online copy of a tablespace (potentially a long time after the copy was taken)?As I said , pending transaction's undo is never overwritten by Oracle. Its always kept and marked as active undo . Only a transaction end would make it elgible to get overwritten and that too won't happen immediately(undo_retention would kick in) .
    (III) Do you know any links (Oracle documentation or other online resources) explaining these datails?I have to see if its there some where step by step mentioned and I shall update the reply once I shall find the link. Hoep someone else in the meantime finds it .
    HTH
    Aman....

  • Database open fails after online backup recovery

    Hi Friends
    We are trying to set up an additional server using the online backup of our DEV server. We have been following SAP Note 549828 for the same. Having restored the online backup, the open database failed.
    To resolve the same, in accordance to SAP Note 549828, we created a backup control file with success using the command
    create controlfile reuse set database DEV resetlogs noarchivelog
    However on issuance of the command
    RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL
    we run into an error as to
    ORA-00279: change 794638222 generated at 10/25/2007 12:43:20 needed for thread 1
    ORA-00289: suggestion : /oracle/DEV/oraarch/DEVarch1_9766.dbf
    ORA-00280: change 794638222 for thread 1 is in sequence #9766
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00308: cannot open archived log '/oracle/DEV/oraarch/DEVarch1_9766.dbf'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    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: '/oracle/DEV/sapdata1/system_1/system.data1'
    We even manually copied the file system.data1 from the source to the target server but to no avail.
    Also the SQL command
    SELECT FILE#, CHANGE# FROM V$RECOVER_FILE
    displays a different change# for system.data1 while it is showing same number for all other datafiles.
    Please advice at the earliest as we are struck. Points awaiting their master.
    Regards
    Lokesh Gupta

    Some inputs addition to Erics comments
    The problem is you dont have archives ie Offline redo logfiles in correct location.
    /oracle/DEV/oraarch/DEVarch1_9766.dbf  Here DEVarch1_9766 is archive file which is misssing from location /oracle/DEV/oraarch. To recover DB you need Archives generated during hot backup.
    Generally these steps willl give you desired result.
    select * from v$logfile;
    We normally switch the log files to the number of log groups that exist
    alter system switch logfile;
    create a Backup directory to hold our hot back datafiles and Archives
    When the backup is complete check the backup location to see if all the files are available. We could now either FTP the same to the other system or copy over these files to another location in case of cloning on the same system.
    Copy over all the files to their respective filesystems and directories and then edit the file that was created using the backup controlfile to trace. Copy that file to the remote system and edit it accordingly.
    check that all the files are in the right location and edit that information in the control file
    Once the controlfile is run successfully and you get the statement processed, we can start applying the archive logs that we have moved to the archive log destination directory as per the init<sid>.ora file.
    do a recover of the database to its consistent state
    recover database using backup controlfile until cancel;
    The create control file command only changes the structure of the database and the SID name, the header of the datafiles still hold all the required information. The above command would ask you to input the archive log file names one by one to do recovery or you could choose the AUTO option. Once the recovery process is complete, open the database with the resetlogs option
    Regards
    Vinod

  • Online Backup Application - Not Displaying Properly

    I have installed the Online Backup program (4.0) and, when started, the main window has no scroll bars and cannot be resized.  Yet you see content, such as backup scheduling, continues further down the page.  You can't get to the rest of the window due to the lack of a scroll bar.  OS is Windows 7.  Any idea of how to fix?  Should I reinstall?  Is there a newer version than 4.0?
    Thanks.

    I had the identical problem and after going through the frustration of calling Verizon Support and selecting endless menu options I finally got the Internet Support group - who DO NOT provide support for the Online backup - the whole thing is outsourced and they tranferred me to the support section of the developers of the program. Here is the fix, You must have your Font Size DPI set for 96 DPI, if you have it set to 120 DPI you will not be abel to see the entire window!  The support tech said the program developers made the window non-resizeable and assumed everyone used the default 96 DPI!  He also said they know of the problem and that it may be fixed one day. It surely didn't sound like fixing it was much of a priority though.  But setting your font to 96 DPI does fix the problem.

Maybe you are looking for

  • Mac mini server

    I have a Mac mini server edition that I'm using just for media.  I got the server because I want as much storage as possible.  It is refurbished, and is running Snow Leopard server, I don't need it to be a server, if I purchase Lion, can I just "turn

  • Problem in invoking LiveCycle using EJB

    Hi All, I am trying to invoke LC using EJB protocol. I referred the code example from the link http://help.adobe.com/en_US/livecycle/9.0/programLC/help/index.htm?content=001001.html#154 8359 But I am facing the problem in the same code. Here is the s

  • Problems with subtracting time

    Not sure why this isn't working: select b.prcode, (to_char(b.adate_time, 'hh24:mi') - (to_char('15:30', 'hh24:mi'))) from bathroom b even select app.prcode, (to_char('15:30', 'hh24:mi')) from appointment app doesn't work either Also how would i store

  • Re: Help ! ADSL IP Profile Stuck at 2Mbps

    I am having the same issue but the contact me link is no longer working I am on a live chat with 1st line and she has run a line test and is now getting me to run a speed check dispite me already telling her I am geting 2Mbps rather than my ful poten

  • Multiple Printers with Airport Express

    Is it at all possible to hook up two printers to my airport express with a USB hub? If so, how. Thanks.