DB Taken out of Backup Mode During User-Managed Backup

I was taking a user-managed backup and the DB was accidentally taken out of backup mode in the middle of the backup. The backup continued and backed up all the datafiles, but many of the datafiles were backed up after backup mode was turned off. Can I restore the DB using this backup? What are my options?

The backup might be usable and it might not. When you put a tablespace (actually all data files in the tablespace) into backup mode, Oracle continues to perform writes to those data files. However, when first modifying a block in a data file after it has been put in backup mode, Oracle will put a before image of that entire block in the redo log (instead of just the row changes). After this first data block change is written to the redo log, further changes to this data block are written as just normal. Oracle does this initial write of the whole block to prevent fractured blocks during recovery. You see, when the OS copies the files for backup, it copies in chunks that might, or might not, fall on a data block boundary. A data block may be updated on disk between two OS file copy chunks. Thus when the file is restored it is possible that part of a data block will have new data and another part have old. This is a fractured block. When applying undo, Oracle first lays down a full block, which will cure a possible fractured block, and then apply redo as normal to complete the recovery operation.
This is why it is important to make sure that your hot backup set includes all redo generated between the time you put the tablespaces in backup mode and the time you took them out of backup mode.

Similar Messages

  • What files can be excluded from user-managed backup in noarchivelog mode?

    what files can be excluded from user-managed backup in noarchivelog mode?
    control files,
    sqlnet.ora file,
    tnsnames.ora,
    datafiles associated with read-only tablespaces,
    datafiles associated with read/write tablespaces,
    of these, what can be excluded and what have to be included?
    Thanks.

    ... and don't forget pfile or spfile... it can help too.
    Re: What are generally backed up during the backup?
    Nicolas.

  • Open database user managed backup

    Hi
    during open database user managed backup does data is written in the datafile which is put in backup mode ?
    Please suggest
    Thanks
    Huzaifa

    huzaifa wrote:
    Hi
    during open database user managed backup does data is written in the datafile which is put in backup mode ?
    Please suggest
    Thanks
    HuzaifaWhen an 'alter tablespace begin backup' command is issued the datafiles that belong to the tablespace are marked as hot-backup-in-progress. The dirty databuffers in the database buffer cache that belong to the database files are written out to the files and the datafiles are checkpointed. The datafile headers are updated to the SCN captured when the begin backup is issued. The datafile headers are not updated until the 'alter tablespace end backup' command is issued; however, the datablock within the database files can continue to be read and updated. When the datafile is restored from a hot backup, the recovery will begin from the SCN captured during the begin backup is issued. All changes applied during the hot backup time period will be
    rolled forward from the redo logs.
    Regards,
    Teymur Hajiyev
    Oracle 10g Certified Master
    http://teymur-hajiyev.blogspot.com
    http://dba.az

  • User managed Backups

    We put tablespace/database offline, before taking backup , The user can't access that particular table/application in that time frame, right?
    what would be the suggestion to keep it online all the time with user managed backups?

    You are not supposed to put tablespaces offline. If your database is in archivelog mode hot backup mode is possible (online backup), which means your users don't have to logoff and access to the tablespaces and data is 24x7.
    Command to put tablespace in an online user managed backup is -archivelog- :
    SQL> ALTER TABLESPACE tablespace_name BEGIN BACKUP;
    You perform the backup using your regular OS backup tool. Once it finishes, put back your tablespace in regular mode by declaring your backup is over. You may go ahead with next tablespace:
    SQL> ALTER TABLESPACE tablespace_name END BACKUP;
    ~ Madrid

  • User managed backup

    I am a newbie to Oracle. I am having a question regarding user managed hot backup. My oracle version is 11.2.0.2 and OS version is OEL.
    What will happen, if we perform User Managed Hot Backup without setting tablespaces in BEGIN BACKUP mode?

    aee649c3-9d9a-40a3-bd64-460990851489 wrote:
    I am a newbie to Oracle. I am having a question regarding user managed hot backup. My oracle version is 11.2.0.2 and OS version is OEL.
    What will happen, if we perform User Managed Hot Backup without setting tablespaces in BEGIN BACKUP mode?
    The bigger question is why you would do a user managed backup in the first place.  User managed backup means user managed recovery.  The oracle supplied utility for database backup is 'rman', and the 'r' stand for 'recovery' -- as in "Recovery Manager".  Not using rman to do your backups is akin to not using the spare tire, jack, and lug wrench that came with your car to fix a flat tire.
    ============================================================================
    BTW, it would be really helpful if you would go to your profile and give yourself a recognizable name.  It doesn't have to be your real name, just something that looks like a real name.  Who says my name is really Ed Stevens?  But at least when people see that on a message they have a known identity.  Unlike the system generated name of 'ed0f625b-6857-4956-9b66-da280b7cf3a2', which is like going to the pub with a bag over your head.
    ============================================================================

  • User Managed Backup audit reporting

    Customer is asking to give this information, i am wondering how i can get this , We are not using RMAN, User managed backups are being used, I am wondering if i can pull this information through data dictionar/dynamics views, if yes send me the queries plz
    Please provide the following information as it relates to the applicable system(s):
    (a) Type of backup application used for data backups (i.e. TSM, netbackup, etc)
    (b) Frequency performed, such as daily, weekly, full volume, differential or incremental.
    (c) Evidence of the last 2 iterations of data backups the date/time of successful completion. (The objective of the backup should be to restore files successfully to another system in time of failure.)

    Mithu,
    No one can provide you with the information, if you are performing backup on the database then you should know the answer.
    There are not Oracle technical questions, rather when and how you did your backup and approve of such.
    Check the backup schedule and logfiles of your backup

  • Doubt between RMAN and User Managed Backup

    Friends,
    OS: RHEL AS 3.0
    DB: 9iR2
    Currently we are taking user managed backup.
    rman is in testing(learning) process.
    Is it possible to take rman backup and user managed backup of a database one after another?
    what i mean is.....suppose, if we configure rman for auto backup at 9pm daily. can i take user managed backup before 8pm or after 10pm?
    Am i have to take any precaution's?
    suppose, rman is failed can i restore the db with user managed backup?
    thanks

    Yes, it is possible to perform both user managed backups and RMAN backups.
    It is a waste of resources, but it is possible.
    You would need to make sure both backups do not overlap each other.
    Whether you can restore your database with user managed backup depends completely on the quality of the user managed backup, and whether you have proper (and tested) restore procedures in place.
    Sybrand Bakker
    Senior Oracle DBA

  • User managed backup support

    Does anyone know if there is any truth to the rumor I heard that
    only RMAN backups will be supported in future releases? An
    Oracle Univ. instructor said that user managed backups may be
    desupported in the near future.

    Maybe you will start from reading the docs:
    http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96572/toc.htm
    Best Regards
    Krystian Zieja / mob

  • Is User-managed Backup&Recovery Useless Because of RMAN?

    Is user-managed backup&recovery method useless because of RMAN?

    Nice dicussion!
    Also, one has to remember that if your database is using ASM, RMAN is the only option for backup/restore/recover (atleast in 10g).
    Can SAN Snapshot/SplitMirroring be used to take a backup of database using ASM?
    --MM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • User managed Backup & recovery

    i am looking for the abstract of user managed backup & recovery, looking forward for everday commands for it.

    Maybe you will start from reading the docs:
    http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96572/toc.htm
    Best Regards
    Krystian Zieja / mob

  • User managed backup and rman  oralce 10g

    hi guys
    what are the enhancement of user managed backup and rman in oralce 10g
    would u pls tell me in understandable manner
    thanks in advance

    Hi,
    what are the enhancement of user managed backup and rman in oralce 10g
    would u pls tell me in understandable manneRefer below link
    http://dbataj.blogspot.com/2008/05/rman-versus-user-managed-backup-part-i.html
    Hope helps.
    Regards,
    X A H E E R

  • User-managed backups of a 10g DB using ASM

    Is it possible to do user-managed backups of a 10g database which is using ASM?
    When I run the following SQL command
    SELECT NAME FROM v$datafile;
    It returns
    +DBDATA/db_test/datafile/system.256.617633575
    +DBDATA/db_test/datafile/users.259.617633757
    The ASM is setup in 'normal redundency' across 2 partitions, both of which are not formatted.
    If there is anyone who has done user-mangaged backups on a 10g DB using ASM who could provide an insight I would be greatful.
    Basically what I would like to know is how do I access the datafiles, so I can back them up to a location of my choosing?

    I think it's a good product, we use it for many years now. A big advantage is Backtrack automates not only backups (that do all products), it also provides automatic restore/recovery in many cases (not in all!). That means the product detects what is wrong with the database and automatically performs all necessary steps to bring back the database to working. In case of trouble that's good for operators by night and also good for the DBA, who does not need to come.
    Disadvantage (may be true for all 3rd party products) Backtrack is always behind Oracle's newest technology, so it took some time to support ASM and it's still not a full support.
    There's no problem with online backups, Backtrack uses the traditional way (ALTER TABLESPACE BEGIN BACKUP .... END BACKUP), they don't use RMAN technology in the background.
    We use both in our company, Backtrack and RMAN. Besides the technical point of view, there's also a license issue. Backtrack's license fee is due to amount of data, the larger your databases the larger the fee.
    Werner

  • Rman And user Managed backup

    Hi,
    I have following question
    User Managed backup
    1)when i take user mananged backup i want to know whether DDL operation is permitted or not
    2) when i take user mananged backup i want to know whether WE ADD/REMOVE TABLESPACE ??
    Rman backup
    1)when i take RMAN backup i want to know whether DDL operation is permitted or not
    2) when i take Rman backup i want to know whether WE ADD/REMOVE TABLESPACE ??
    Regards

    Hi,
    Please go through the below links to get much familiar with user managed backup's and rman backup's.
    Oracle9i User-Managed Backup and Recovery Guide
    Release 2 (9.2)
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96572/toc.htm
    Making User-Managed Backups
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/osbackup.htm
    Oracle9i Recovery Manager (RMAN)
    http://www.oracle-base.com/articles/9i/RecoveryManager9i.php
    RMAN Backup Concepts (11g R1)
    http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmcncpt.htm
    Overview of RMAN Backups (10g R2)
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/bkup001.htm
    Oracle RMAN Backups: Pushing the "Easy" Button
    http://www.oracle.com/technetwork/articles/havewala-rman-grid-089150.html
    Hope this helps you understand clearly about both the user managed backups and rman backups. :)
    Thanks,
    Balaji K.

  • Droping and renaming tablespace druing hot user managed backup

    Will dropping and renaming of tablespace will have any effect if hot user managed backup of that db is in progress ?
    thanks in advance

    However, you will encounter a more serious issue because of the way DROP TABLESPACE works.
    Even if the DROP fails, the "INCLUDING CONTENTS" causes all segments to be dropped !!
    SQL> drop table ASSM_TABLE purge;
    Table dropped.
    SQL> create table ASSM_TABLE (pk_col number not null, descr_col  varchar2(30)) tablespace ASSM_TBS;
    Table created.
    SQL> create unique index ASSM_TABLE_PK on ASSM_TABLE (pk_col) tablespace ASSM_TBS;
    Index created.
    SQL> select segment_name, segment_type from user_segments where tablespace_name = 'ASSM_TBS';
    SEGMENT_NAME                   SEGMENT_TYPE
    ASSM_TABLE_PK                  INDEX
    ASSM_TABLE                     TABLE
    SQL> insert into ASSM_TABLE select rownum, 'ABCD ' || rownum from dual connect by level < 10;
    9 rows created.
    SQL> commit;
    Commit complete.
    SQL>
    SQL> connect / as sysdba
    Connected.
    SQL>
    SQL> alter tablespace ASSM_TBS begin backup;
    Tablespace altered.
    SQL> drop tablespace ASSM_TBS including contents and datafiles;
    drop tablespace ASSM_TBS including contents and datafiles
    ERROR at line 1:
    ORA-01150: cannot prevent writes - file 7 has online backup set
    ORA-01110: data file 7:
    'filename'
    SQL> connect hemant/hemant
    Connected.
    SQL> select segment_name, segment_type from user_segments where tablespace_name = 'ASSM_TBS';
    no rows selected
    SQL>  alter tablespace ASSM_TBS end backup
      2  /
    Tablespace altered.
    SQL>The DROP TABLESPACE failed but the contents did get dropped !
    Hemant K Chitale
    Edited by: Hemant K Chitale on Oct 7, 2011 2:41 PM

  • User Managed backup in ASM

    Can some one please let me know how to take user managed Backup for Database on ASM.
    Regards,
    Atif

    Hi,
    Yes, there is this feature.
    ASM files and directories can be accessed through a virtual folder in the XML DB repository.
    A typical use for this capability might be to view /sys/asm as a Web Folder in a graphical user interface (with the WebDAV protocol), and then copy a Data Pump dumpset from an ASM disk group to an operating system file system by dragging and dropping.
    http://docs.oracle.com/cd/B28359_01/server.111/b31107/asmfiles.htm#BABJCCEI
    http://docs.oracle.com/cd/E11882_01/appdev.112/e23094/xdb22pro.htm#CHDDBGHI
    Regards,
    Levi Pereira

Maybe you are looking for

  • Not all videos show up on Apple TV as do on computer

    My son posted a video on YouTube last night and I can find it in You Tube on my computer, but it does not show up in a search with Apple TV or my Internet-connected Panasonic tv. I don't have a YouTube account; I just go to the web site and search fo

  • Payment terms maintenance vs define terms of payment for installment.

    Dear all, In Payment terms we can maintain installment payments then what is the need for Maintaining installment payments again. I am not understanding the functionality any body please explain with example. Thanks, Srini.

  • Top down approach for creating the web services in NWDS 7.1

    I am trying to develop a web service in top down approach. 1) I created a Dynamic web project. 2) Created a WSDL File using the WSDL Graphic editor. 3) Now i am trying to create the Webservice from the WSDL file ,  i am getting the following error Th

  • Ntfs-g3 doesn't preserve modification timestamp at copy

    I have a data partition mounted using ntfs-g3 like this (from my /etc/fstab): /dev/sda8 /media/data ntfs-3g defaults,umask=002,fmask=113,gid=100 0 0 Here is the mount point: drwxrwxr-x 1 root users 4096 Aug 2 04:03 data All my users are in the "users

  • Rdb ODBC 3.3.2.4 Driver

    Hi, I've found the release notes for the Rdb ODBC 3.3.2.4 driver, but I can't find the download link. The only Rdb ODBC driver I can find is 3.3.2.0 which was last updated in June of 2010. Can anyone point me towards the 3.3.2.4 driver? Thanks, Sean