The user managed backup hot via Sql

Hi being a little old school - I'm trying to understand the steps required for a Hotbackup managed through Sql (sorry fans RMAN!)

I understand that I can save each tablespace in turn (via the necessary ALTER TABLESPACE < x > BEGIN BACKUP and then out of backup)
I also assume that I simply take a backup of my control file (wither in binary form or trace if necessary)
I also assume that you do not back up the Redo Logs (since you reset draw on any recovery anyway)

The bit I'm not sure of is the Undo Tablespace - can be backup in eactly the same way as any other tablespaces?

Y at - it all components that I need backup (outside the archive logs)

Thank you
Jim

Always provide the Oracle version 4-digit.

The documentation covers all of the steps required for a manual backup.

http://docs.Oracle.com/CD/B28359_01/backup.111/b28270/osbackup.htm#CEGJIHJF

See Chapter 27 Making User-Managed database backup for instructions.

Tags: Database

Similar Questions

  • The user managed backup hot

    Hello

    When we started a tablespace begin backup mode State, I know that the RCS data files will be blocked and the recovery log generation will be more. I just want to know where the DML activities occur when the tablespace mode backup how to get updated records? why there are no changes in the SNA? why there is excess redo generation compared with the normal DML region?

    Vincent

    This is not true, as a simple audit would have told you.

    SQL> select file#, checkpoint_change# from v$datafile;
    
         FILE# CHECKPOINT_CHANGE#
    ---------- ------------------
             1         7667692204
             2         7667692204
             3         7667692204
             4         7667692204
             5         7667692204
             6         7667692204
             7         7667692204
             8         7667692204
             9         7667692204
            10         7667692204
            11         7667692204
            12         7667692204
    
    12 rows selected.
    

    Note: we start with all files with the same checkpoint change number. All data is synchronized

    SQL> alter tablespace data_medium begin backup;
    
    Tablespace altered.
    
    SQL> select file#, checkpoint_change# from v$datafile;
    
         FILE# CHECKPOINT_CHANGE#
    ---------- ------------------
             1         7667692204
             2         7667692204
             3         7667692204
             4         7667692204
             5         7667692204
             6         7667727909
             7         7667692204
             8         7667692204
             9         7667692204
            10         7667692204
            11         7667692204
            12         7667692204
    
    12 rows selected.
    

    Note: file 6 is now out-of-synch with the rest of the database, as it has been in hot backup mode. Change of control point number is ahead of the rest of the database.

    SQL> alter tablespace data_medium end backup;
    
    Tablespace altered.
    
    SQL> select file#, checkpoint_change# from v$datafile;
    
         FILE# CHECKPOINT_CHANGE#
    ---------- ------------------
             1         7667692204
             2         7667692204
             3         7667692204
             4         7667692204
             5         7667692204
             6         7667727909
             7         7667692204
             8         7667692204
             9         7667692204
            10         7667692204
            11         7667692204
            12         7667692204
    
    12 rows selected.
    

    And to note now that even if the END BACKUP command has been issued, the data files remain in exactly the same state that they were ahead. File 6 is always out of sync with all other files. No additional control points have been issued, and nothing further happened to produce 6 or anything else to do things to re - sync.

    Put a tablespace IN backup mode hot indeed causes a control point will take place for this table space. But out of hot backup mode does NOT work. The SNA in the headers of this tablespace will be re - synchronize the next time there is a checkpoint of the whole system, but not until then.

    So no, it's NOT ' updated when we take tablespace in backup mode using online redo log files "-Although the syntax of this sentence is so weird as to defy rational explanation and require pure conjecture.

    As for questions of the original poster, so:

    I just want to know where the DML activities occur when the tablespace mode backup how to get updated records? why there are no changes in the SNA? why there is excess redo generation compared with the normal DML region?

    1 DML activities occur quite normally. Put a tablespace in backup mode hot stops CKPT update its header, but does absolutely nothing to prevent your server to update another process the contents of the file. If you update every row to a million lines of table during a hot backup of the repository containing this table, each row is updated, exactly as he would have done if no hot backup took place. It is not property of a backup hot, after all, if the content data file was unflappable frozen for the duration, would it?

    2 there IS a change in the SCN when you put a tablespace in mode backup hot. See above. When you exit the hot backup mode, there is no special update for the RCS... but the next time that all the headers of data file are updated through a checkpoint at the system level (caused by things like a log switch or the ADMINISTRATOR requesting a) , then the header will be updated with the SNA as all the other data file headers.

    Get some more: this is the checkpoint change the number that is stored in the headers of data files, and it is that which does not change during a backup hot. Number of system change, including change of control point number is simply a snapshot at a point in time, increases continuously throughout the system, all the time.

    3. in a user managed backup, it's the operating system that copies things and it copies the things that the operating system is aware of--such as the "operating system block', which is commonly size of 512 bytes. An Oracle block consists of several operating system blocks (16 in the case of a block of 8 K and blocks of 512 bytes OS). Oracle knows 16 blocks BONE to form a block Oracle; the operating system itself has no idea of their interdependence.

    Therefore, the silent operating system will copy one of these 16 blocks at any time as seems it, because he realizes that if it copies one, she really should to copy other 15 institutions. If it were a cold maintained by users of backup, which is not serious, because nothing would be happening to all the 16 blocks of BONE, and as long as it took the BONES to copy all of them, the result would be the same, as if all 16 had been copied at the same time.

    But it's a hot backup, it happens at these blocks. Therefore, it is possible for the operating system to copy, say, three of them, just at the moment where Oracle is about to change one of its blocks with an update or insertion. Three blocks of BONE thus copied in one State and the other thirteen OS blocks copied in another State. You now have a block of 8K in a backup that is internally in all directions and totally unusable. It's called a cracked block, and that's what happens when a single entity (BONE) copy unconscious things the importance invested in this is it the copy by another (the Oracle database).

    The cure for a broken block is to have a clean block copy as it was before the updates that happened to her. This clean copy of the block, you can apply all redo them later generated who touched it. So it is what guarantees Oracle exist. If a tablespace is in hot backup mode, the first update that is subject to change an Oracle block causes this whole block to write in it again connects. There's your own copy. The copy that creates the backup operation is the copied data file can now be fractured or not as chance allows: he'll always be a good version of it stored in the recovery logs.

    However, an update that generated usually 200 bytes redo just caused all of a block of 8K to copy in the redo logs. And this increase in the generation of redo is a feature of backups maintained by users (and why you should use RMAN).

  • user managed backup and deferred tax rollback segments

    Hi Forum,

    Greetings of the day,

    Here I have a question about segments of rollback backup and deferred users managed, I don't have much experience with the user managed backups taken by backup of BEGIN and END.

    1. how facilities oracle using the database so that it is saved each tablespace, he will use deferred rollback segments?

    2. placing the tablespace in backup mode is the same as read-only mode, on a technical level. So that it can read the blocks and changes made by the user can be moved to deferred rollback segments and later applied to tablespace, when it is the backup of the END?

    3.AFAIK, will be created only to deferred rollback segments in the SYSTEM tablespace. So we need to keep an eye on the growth of the tablesace SYSTEM while the database/tablespace is backed by this method?

    4. when the tablespace is put out of backup by using the backup of the END , will be that it applied by the deferred rollback segments?

    5. where oracle will place deferred rollback segments, when tablesapce SYSTEM itself is implemented backup START ?

    6. DON'T face us any kind of failures during all backup /END START as full tablespace etc SYSTEM.

    Your answers will really helpful.

    Thank you

    Uday

    Here I have a question about segments of rollback backup and deferred users managed, I don't have much experience with the user managed backups taken by backup of BEGIN and END.

    1. how facilities oracle using the database so that it is saved each tablespace, he will use deferred rollback segments?

    In what context you mention the use of rollback differed with the backup segments maintained by users?

    2. placing the tablespace in backup mode is the same as read-only mode, on a technical level. So that it can read the blocks and changes made by the user can be moved to deferred rollback segments and later applied to tablespace, when it is the backup of the END?

    Do you mean to say that when the tablespace is backed up, it is not accessible to the DML? If so, this is a wrong concept. Oracle did not go for the rollback segment (which I do not know how you are linking anways), but maintains the writing the image in full blocks for the first time in the log files of recovery following the normal writing changed buffers.

    3.AFAIK, will be created only to deferred rollback segments in the SYSTEM tablespace. So we need to keep an eye on the growth of the tablesace SYSTEM while the database/tablespace is backed by this method?

    Response above asked about segment deferred cancellation and their relationship, according to you, with the backup tablespace?

    4. when the tablespace is put out of backup by using the backup of the END , will be that it applied by the deferred rollback segments?

    5. where oracle will place deferred rollback segments, when tablesapce SYSTEM itself is implemented backup START ?

    6. DON'T face us any kind of failures during all backup /END START as full tablespace etc SYSTEM.

    Seems that you don't really have an idea how the backups managed by users actually work. I'll suggest that you read about it first in the backup and restore documentation before entering in any event.

    HTH

    Aman...

  • RMAN and user managed backup

    Hello


    I have following question

    User Managed Backup

    (1) when I take backup of managed user I want to know if the DDL operation is allowed or not

    (2) when I take managed backup user I want to know if we HAVE ADD/REMOVE of TABLESPACE?



    RMAN backup

    (1) when I take backup RMAN, I want to know if the DDL operation is allowed or not

    (2) when I take Rman backup I want to know if we HAVE ADD/REMOVE of TABLESPACE?

    Concerning

    YES
    YES
    YES
    YES

  • The User Manager window problem

    Hello

    I am ti connected TestStand as administrator, but the 'User Manager' window is prepared I can't acess.

    Can you help me please

    TestStand 13.0


  • The user managed based backup Rman backup cold cold vs

    Hi all

    I just want to know the advantages and disadvantages for backup managed user cold and cold backup Rman.

    What is the best cold backup?

    Some some can help me?

    Thank you

    Cedric Joshi

    Hello

    Both are good only... If you took the clod backup (managed by the user), you can also do with RMAN catalog.

    I feel clod RMAN backup is good.

    Reason:

    ======

    ++ with RMAN you can avoid used used block, you can only backup used blocks

    ++ RMAN has its own compression algorithm

    ++ We also have the ability to assign multiple channels to parallelize the backup

  • The user managed the issue of recovery

    Hi all

    While doing refresh it by using the backup hot, recreate us the controlfile and cancel the recovery of the base (base to recover using backup controlfile until cancel). How oracle suggests the next archiving log.

    I mean we have recreated the controlfile right?

    It can suggest change (SNA), which is the required form datafile headers. But how is it that it gives the necessary exact archivelog.

    The CCR, for the second case, it gives just the necessary change.

    Someone help me please understand this.

    Enter the user name: / as sysdba

    Connected to:
    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
    With the partitioning, Real Application Clusters, OLAP, data mining
    and Real Application Testing options

    SQL > restore database using backup controlfile until cancel;
    ORA-00279: change 12913047615299 September at 08/12/2013 09:08:08 to
    thread 1
    ORA-00289: suggestion:
    /U23/backup/archive/abctest/redolog_1_5052_814521583.arc
    ORA-00280: change 12913047615299 thread 1 is in sequence #5052

    > But how is it that it gives the necessary exact archivelog.

    LOG_ARCHIVE_DEST parameters / LOG_ARCHIVE_FORMAT and LOG_ARCHIVE_DEST_n.  He used to 'build' the expected file name.

    In the CCR, he needs a starting point for the first file Archivelog must be provided by the ADMINISTRATOR.  Subsequent archivelog filenames are self-built.

    Hemant K Collette

  • Cisco SRP527w cannot find the user management tab

    Hello

    Can someone help me? I just bought a new Cisco SRP527w and I'm all new to this type of material. I can't find the tab for user management that I'm changing the default password.

    Also, I can't access the internet. My rj45 of the ADSL modem is connected to the WAN/LAN port with parameters IP static. What missed here? your help is very appreciated.

    Hi Ronald, if you are clicking on all other tabs and it still seems only the setup of the wizard, you must change your internet browser. Try Firefox or IE. This should solve that.

    -Tom
    Please evaluate the useful messages

  • Failed to connect to the user when it connects to SQL Server 2008 R2 gateway

    Hi - This is my first post!

    I have problems to connect to a SQL Server 2008 R2 to Oracle database 11 g R2 database, use the product of the gateway.

    Previously, he has worked, but we moved the database SQL 2005 to 2008 (R2).

    We receive this error while trying to query through the link (Select * FROM DUAL@ADSRD)

    ORA-01017: name of user and password invalid. connection refused

    [Oracle] [ODBC SQL Server driver] [SQL Server] Failed to connect to the user 'SQLUSER '. {NativeErr 28000, = 18456} [Oracle] [ODBC SQL Server driver] Invalid connection string attribute {01 S 00}

    ORA-02063: preceding 2 lines of ADSRD

    01017 00000 - "invalid username/password; connection refused '.

    * Cause:

    * Action:

    Error on line: 1 column: 35

    The DG4MSQL configuration is here:

    HS_FDS_CONNECT_INFO = //SSU_PRD_APP/IntegrationStagingDb [BSYS-sql2]

    HS_FDS_TRACE_LEVEL = OFF

    HD_TRANSACTION_MODEL = READ_ONLY

    #HS_FDS_DELAYED_OPEN = FALSE

    HS_FDS_FETCH_ROWS = 100

    HS_OPEN_CURSORS = 50


    The database is hosted in its own instance on the sql2-BSYS Server

    Then... on the SQL Server event logs returns this:

    Failed to connect to the user 'SQLUSER '. Reason: Failed to try to connect using SQL authentication. Server is configured for Windows authentication only. [CLIENT: 192.168.10.179]

    However, the SQL Instance IS configured to enable mixed mode authentication.

    I can't work on what I missed, and I can confirm if I'm actually to a compatibility issue between the gateway and the version of SQL server, that we are now trying to connect.

    Help please!

    Is the user name in your SQL Server database in the capital, mixed mode letters or small letters?

    Currently, you have created a database link that tries to authenticate on the server SQL using SQLUSER in capital letters. If you use mixed or small letters, so be sure to write the user name (and password) as it is in the create database link statement and surround it with double quotes.

    If you have created the link of database correctly, try an ODBC connection for example from your client and add the user name and password. Does it work?

    -Klaus

  • What trigger is fired when the user closes a Web via cross sign which is in the upper right

    Dear all,

    I have a form that requires a separate canvas. Please tell me what trigger is fired when user close a canvas via cross sign that exists in the upper right (the sign of the cross appear as the corresponding window contains the property of: close the permit YES).

    Concerning

    Rajat

    Never heard of a trigger key to closing.

    As they said above, when you close a window, CLOSING of WINDOW-WHEN trigger fires.

    There you can examine the value of the: system.event_window, which bears the name of the window that fired the trigger.

    A typical use of this must publish a Do_Key ('EXIT_FORM') in your when relaxation window closed

    You don't need to check the: system.event_window, you can have several KEY-RELEASE triggers at various levels if necessary and they will attack the function of closing the window.

  • OIM 11 g - authorization of the user management policy questions

    Hello

    (1) created a body-> human resources
    (2) created a role-> HR_Admins
    (3) assigned HR_Admins roles as the administrative role of human resources
    (4) user1 created with the Organization as a role of human resources & HR_Admins assigned to this user.
    (5) permission policy created for the management of users with the following selections
    -> Create user authorization.
    Constraints of data-> Selected "Users who are members of certain organizations" & selected above human resources organization.
    Transfer-> role of the HR_Admins.
    now, when I log in User1 I am not able to see Administration tab where I can choose create user.
    I'm working on this issue for a few days, but not able to find the solution & I missed some configurations?

    Thank you
    Rahul Shah

    Hello Rahul,
    I tried your scénarion... with clause below
    1) founded an organization-> human resources
    (2) created a role-> HR_Admins
    (3) assigned HR_Admins roles as the administrative role of human resources
    (4) user1 created with the Organization as a role of Human Resource & allocated HR_Admins to this user. : default role all users
    (5) permission policy created for the management of users with the following selections
    -> Create user authorization. :-* "Select ALL."
    Constraints data-> Selected "Users who are members of certain organizations" & selected above human resources organization.
    -> HR_Admins role assignment.

    Data constraints
    Organization security setting hierarchy aware (include all children's organizations)

    Now I am able to see the user tab to create, and I can create user in resources human org only.

    If it does not work for you. Just assign 'ADMINISTRATOR of REQUEST' in the AUTH POLICIES. The result of the test.

    Also, what is your version of the IOM?

    Test with updated as new role name, org, and user data.
    -kuldeep

    Published by: Kuldeep on May 22, 2012 04:19

  • Need to deny access to the file for the User Manager

    Hello

    I need be able to deny access to the file manager, as I don't want my client, deleting files. However, for some reason, I have to allow him access to what he should be able to download files via InContext Editor (he needs to link the pages to documents that are not on the server so he needs to download and do it, I have to grant access to the file manager).  How can I get around this?  I don't want to reupload the site whenever it deletes a file...

    Unfortunately we can not do - file manager access to removal as well as download and at this stage that cannot be changed.

  • prompt (Functions) are not displayed in the user management responsibility

    Hello

    EBS 12.0.3

    I added the responsibility of user management with my user application it shows not all prompt (functions) that it is empty, while the sysadmin user's show.
    Kindly answer me.

    Thank you

    You have assigned the role of "security administrator" for the user and see if that helps?

    Thank you
    Hussein

  • IOM - different email to the User / Manager

    Hi all
    In IOM, I need to send emails that are different to the user and his Manager at the end of the process task. I tried assigning two notifications on the status of the task - C (complete) but its not not allowing me to do so because as mapping / the status of the task must be unique.

    Please let me know how can I send different emails to the user and his manager.

    Thank you

    Upon completion of your task in process, you can trigger two tasks (send a Mail to Manager, send a message to the user and join two task-specific templates) and trigger their answer your task in process Completed.

    Attach tcComplete adapter for both tasks (send mail to the Director, send a message to the user) so that they are self done.

    Thank you
    Suren

  • access to the user account without password via Remote Desktop Conncetion

    Hello, I have a question for remote desktop connection.

    I have two computer, let's call them computer (XP pro) and computer B.  And A computer user account has no password created.

    If I activate the remote desktop on A computer (computer a user account has no password) and try to access it remotely from computer B, is it possible to connect? or I won't be able to connect?                      I have A computer user account password to allow remote access from any computer?

    If anyone can help me with the answer, I would appreciate it!

    Thank you

    I'm sorry, but the user account must have a password to use the remote desktop connection. Boulder computer Maven
    Most Microsoft Valuable Professional

Maybe you are looking for