Regarding database back up

Hi all,
I am new to database back up. Can anyone explain me what is the difference
between the back up which is taken using db13 in sap and taking back up
directly from sql enterprise server in windows.
Is it possible to do offline and online back up through db13?
Can anyone please suggest me in detail.

Sanjeev,
Well, you can't. If you schedule the backup, the BRTOOL set will address this. DB13 really only gives you a 'GUI' interface for the BRTOOLs as well as a scheduling capability. Remember that when you trigger the backup job from DB13, you're not executing this at the SAP level, you're executing this from the OS level via the DBTOOLs - you could schedule the same job at the OS level if you wanted.
If you trigger a BRBACKUP with the option 'offline', it will actually shutdown the database for you, perform the backup, and restart the database (return it to the state when the backup started). SAP itself will not go down per se, but obviously, it will not have connectivity with the database, and users who logon during this time will receive error messages regarding "no connection to database". Most folks, therefore shutdown the SAP system first, then trigger the offline backup.
Hope this helps.
Tim

Similar Messages

  • Query regarding database access segregation using os authentication in windows environment

    Hi ,
    I have a query regarding database access segragation using os authentication (like sqlplus "/ as sysdba") in windows environment.Let me briefly explain my requirement:-
    Suppose you have two DBA`s viz DBA1 and DBA2 and 4 databases resideds in a windows server say A,B,C & D.Now I want to set up such a way if DBA1 logs into the server then he can login to database A and B only using OS authentication and DBA2 can login to database C and D only using OS authentication.
    Please let me know how to do setup for this requirement.
    Database version is 11.2.0.3

    1494629, I am not a Windows person but if there is any way to do this I suspect some additional information is necessary:
    Are the DBA users members of the Administrators Group ?
    Do all 4 database share the same $ORACLE_HOME ?
    I suspect if either answer above is yes then this is not possible, but like I said I am not a Windows person.  I would just ask for two servers and the associated licensing to be acquired.  The requirement to spend money to do something management wants usually elimanates the request in my world.
    HTH -- Mark D Powell --

  • Regarding database table to infotype

    hi experts,
                    sorry i m going to ask a typical question i m working on hr-abap ,i have developed a module pool in which the database table is updating with some data,what i want that after updation i want to store that data in a infotype,,so plz tell me how to create infotype and how to store the data into it from a database table...thnx in advance.i know it is a configuration part but rt nw my company doesnt have hr consultant.....plz help me.

    Hi
    <b>Creating an Infotype</b>
    Using the TCODE PM01 you can create an Infotype. As per SAP standard you can use only 9000 series. The below procedure explains you how to create an Infotype.
    1.Go the transaction PM01 and give the Infotype Number lets say 9999 and press  button. It will ask you a messaging window,
    2.Press create button to continue further. It will take you to create the structure.
    3.Give the components and SAVE & ACTIVATE the structure and come back.
    An Infotype attributes window will appear; you create a new entry with the Infotype No and give the appropriate description.
    and give the data and press ENTER key. The Technical data will appear automatically, here you have to maintain the Single screen as ‘2000’ and List screen as ‘3000’ and then SAVE the info and press BACK button, you will reach the main screen.
    After that using the Menu option Infotype 
    4.Generate the structure, dialog module and include. 
    Click the  button from application tool bar to check the Infotype attributes. Select the 9999 Infotype and check the data.
    If every thing is error free, you can use the Infotype using PA30 transaction.
    5.Use the Create button you can create New Entries for the Infotype.
    You can view the entries in table PA9999 using the TCODE SE11/SE16.
    Validating Code in Module pool: - If you want to validate the user inputs,
    You need to write the validate code procedure in the module program MPXXXX00 screen 2000 (here XXXX is user Infotype, in our case 9999).
    In PAI.
      MODULE P9999.
      MODULE HIDDEN_DATA.
      FIELD P9909-PRATE MODULE PRATE. “ Create a module routines. 
    In PBO
      MODULE PRE_INPUT_CHECKS.
            input-checks:                                               *
      insert check modules here:
      CHAIN.
       FIELD P9909-PRATE MODULE PRATE.
      ENDCHAIN.
    Double click on PRATE it will ask you the include name, SELECT the include MP999930 from the input window.
    *&      Module  PRATE  OUTPUT
          text
    MODULE prate OUTPUT.
      IF NOT p9909-prate IS INITIAL.
        PERFORM check_prate.
      ENDIF.
    ENDMODULE.                 " PRATE9  OUTPUT
    Again check_prate subroutine, write down the below code in MP999940 include.
    *&      Form  check_prate
    FORM check_prate .
    CLEAR zprate_t.
      SELECT SINGLE * FROM zprate_t WHERE prate = p9909-prate.
      IF sy-subrc > 0.
        CLEAR zprate_t.
        MESSAGE e016(rp) WITH 'Entry does not exist in ZPRATE_T table'.
      ENDIF.
    ENDFORM.                    " check_prate
    After that check the module, if it is error free then ACTIVATE the same. You can check the Infotype validations using the PA30 transaction.
    Regards
    Raj

  • Regarding roll back and reassign the value.

    hi all,
    i am using forms6i.
    Re: how to avoid the form's message situation
    as we discussed my process has to happen like this. since it is a new topic so i have raised new thread.
    what i want to do is based on the input values(base table values) i have to call one procedure, the procedure returned value i have to assign to one of my database field and one new record should go into other table.
    so what i am doing is at the key-commit trigger i have written a procedure inside that i am calling a procedure which results in one value which i have to assigned to my blocks item. and one record to the table
    my code in key commit trigger is something like
    go_block('block name');
    first_record;
    based on the forms parameter call procedure
    if procedure returns error then rollback otherwise assign value to base table item and one record to other table so
    job_proc();
    :block.item:= output ;
    insert into job_table() values();
    if system.last_record = 'TRUE' then
    exit
    else
    next_record;
    end loop;now senario is like if i am in fifth record four record processed as i explained before. in fifth record if i am getting error means
    all four records value and insert statement should be reassined and rolled back.
    so i have written like
    exception when others then
    forms_ddl('rollback');
    go_block(block name);
    go_record(system.current_record);
    :block.item := null;
    if :system.trigger_record = 1 then
    exit;
    else
    previous_record;
    end if;
    end loop;is this is the way to rollback or is there any better way?
    please advise.
    Thanks..

    Hi,
    Check these files on rollback and commit:
    Transactional Behavior of an Integration Process:
    http://help.sap.com/saphelp_nw04s/helpdata/en/45/058023846b2460e10000000a1553f7/frameset.htm
    Commit Handling:
    http://help.sap.com/saphelp_nw04s/helpdata/en/fa/814d3ccd6fba74e10000000a114084/frameset.htm
    Rollback:
    http://help.sap.com/saphelp_nw70/helpdata/en/23/5f5fd653b6f64d9bb0b468a8689838/frameset.htm
    Regards,
    Subhasha

  • Message to Old Toad regarding DB back-up automator

    Hi Old Toad,
    I have downloaded the automator you made in order to back-up the iPhoto library. I am just confused on one thing, even after reading the README file.
    You wrote: "When launched, this Automator work flow application will copy the iPhoto
    database file, Library6.iPhoto, from the iPhoto Library package to the Pictures
    folder replacing any previous version of it there."
    I understood from the tip you wrote in each of your answers on the forum, that the automator you create, when running, makes a back-up of the library when needed. However, when I read the README file, I understand that it helps in RESTORING the original file if corrupted since it replaces the library located in the picture folder. I am afraid to run it if it replace my current library in the pictures folder, loosing all my pictures/books/etc.
    Could you please clarify? Thanks!

    Welcome to the Apple Discussions.
    I'm not OT but as his younger and better looking pal...
    When you run the Action it creates a copy of the database file.
    That copy is put into your Pictures Folder. If there's a previous copy already there, that will be overwritten. It does not move or in any way affect the running db file within your Library, it just copies.
    Then should you need to restore a damaged db file, you can move this copy into the pkg file and you're off an running again.
    Regards
    TD

  • Regarding database update

    hi experts,
    i have to update the database table created by me,,i hv to insert multiple rows in it ,i m using table controls in module pool  with insert button ,cud u plz send me the code n logic...as i m new to module pool ,,plz help me..

    Hi,
    It's not that easy for you even if I send some code to you. Because on the screens, what elements are there, and what modules you wrote on PAI and PBO, don't know.
    But in PAI based on the Function codes, by handling the OK_codes you have to write the code:
    Case OK_code.
    when 'UPDT'.
        you will be having data in the internal table related to table control.
    After modifications, you can update the db table with that internal table.
    Insert <dbtable> from ITAB....
    sample piece of code:
    REPORT ZBHMOD1 .
    DATA:OKCODE1 LIKE SY-UCOMM,
    OKCODE2 LIKE SY-UCOMM.
    DATA:N1(10) TYPE N,N2(10) TYPE N,RES(12) TYPE N.
    MODULE USER_COMMAND_1000 INPUT.
    CASE OKCODE1.
    WHEN 'NEXT'.
    RES = N1 + N2.
    SET SCREEN 1001.
    WHEN 'CLEA'.
    CLEAR:N1,N2.
    WHEN 'BACK'.
    SET SCREEN '0'.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_1000 INPUT
    MODULE STATUS_1000 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'TIT1'.
    ENDMODULE. " STATUS_1000 OUTPUT
    MODULE USER_COMMAND_1001 INPUT.
    CASE OKCODE2.
    WHEN 'BACK'.
    SET SCREEN 1000.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_1001 INPUT
    MODULE STATUS_1001 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'TIT2'.
    ENDMODULE. " STATUS_1001 OUTPUT
    FLOW LOGIC:
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_1000.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_1000.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_1001.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_1001.
    Reward if useful.
    Regards,
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • How to revert a database back to one day previous state.

    Hi,
    Of course, if no backup, then no restore.
    However, unfortunately there is NO database backup available i.e. export/expdp/OS Backup/RMAN/Flashback. But, the requirement is to prepare another database on another server with one day back state. So, can we take fresh backup of the database which has all the archived logs, and restore it on another server as one day back previous state.
    Is there any possible way to do this by using existing archive logs? Can LogMiner help in this regard?
    Thanks,
    SYED.

    user3514623 wrote:
    Hi,
    Of course, if no backup, then no restore.
    However, unfortunately there is NO database backup available i.e. export/expdp/OS Backup/RMAN/Flashback. But, the requirement is to prepare another database on another server with one day back state. So, can we take fresh backup of the database which has all the archived logs, and restore it on another server as one day back previous state.
    Is there any possible way to do this by using existing archive logs? Can LogMiner help in this regard?
    Technically you could get lucky - but I wouldn't want to pretend that the following procedure is sensible or a safe way to back out a production system.
    If you have all the archived redo logs since the moment you want to get back to then you could, in principle, copy the database, run up logminer and extract all the UNDO_SQL that it gives you from the present back to the point in time you want to get to. You can then apply this, one transaction at a time, in reverse order of original application.
    Problems I can think of:
    <ul>
    a) It's likely to take a long time to do this, and you'll probably want to have a lot of manual control and checking.
    b) If you've done any drop tables or truncate tables in the interval you can't reverse them out.
    c) If you've done any nologging dataloads you won't be able to reverse those out
    d) There may be some data types that logminer won't cope with
    </ul>
    Other people may like to supply more reasons why this is not a good idea for a production system - but it might just be good enough to solve whatever problem you have.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    P.S. on "Forum Etiquette / Reward Points": http://forums.oracle.com/forums/ann.jspa?annID=718
    If you never mark your questions as answered people will eventually decide that it's not worth trying to answer you because they will never know whether or not their answer has been of any use, or whether you even bothered to read it.
    It is also important to mark answers that you thought helpful - again it lets other people know that you appreciate their help, but more importantly it also means that when you mark a bad or wrong answer as helpful someone may be prompted to tell you (and the rest of the forum) why the answer you found helpful is bad or wrong.

  • Sharepoint Database back up

    Hi,
    We are doing back up of Sharepoint 2010 using following way:
    - Taking back up of all database of Sharepoint 2010 from SQL Server.
    Will this be sufficient in case of disaster recovery? OR Microsoft recommend to take Sharepoint farm back.
    Regards,
    Amit

    Hi Amit,
    According to your description, my understanding is that you want to know the best way we need to back up the databases for SharePoint.
    Regularly backing up content databases reduces data losses that might occur from hardware failures, power outages, or other problems.
    It is a simple process and helps make sure that all the data is available for recovery, if that is required.
    Based on your need, you can choose farm or granular backup for SharePoint.
    More information are provided in the links below:
    http://technet.microsoft.com/en-us/library/ee663490(v=office.14).aspx
    http://technet.microsoft.com/en-us/library/gg266384(v=office.14).aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How can i display the value fetched from my database back onto my combo box

    i have saved a selected value from my combo box in my database.
    i want to display the same value on my combo box to the user on a jsp page.
    Can someone help me?

    <%
    String valueInYourDatabase="2";
    String[] valuesToDisplay={"1","2","3"};
    %>
    <SELECT name="square_root_of_for">
    <% for(int i=0;i<valuesToDisplay.lngth;i++){
    String s=valuesToDisplay;
    %>
    <OPTION value="<%=s%>" <%=(s.equals(valueInYourDatabase)?"SELECTED":"")%> ><%=s%></OPTION>
    <%}%>
    </SELECT>
    Something like this...
    didn't compile it so their are surely errors ;)
    regards
    Alban

  • Database Back Up error In SQL Server

    Hi SAP GURUS,
    I am facing the the backup related issues in production server
    BRTOOLS is also not working in the system as it is not showing the EXE file in Usr/SAP/SID/...
    So mean while we are taking backup manually !!!
    My OS is Windows 2003 Server and Database is Microsoft SQL Server.
    After hitting DB13 when we go for Full database Backup .
    10011 Access denied.
    Message no. SMMSS_SQLJOBS000
    An error occurred when processing system GCP
    Message no. DB6PM220
    Function DB6_PLAN_EXEC_BATCH failed with return Code = Job Error
    Message no. DB6PM005
    And also have checked the backend Configuration in DB13 its perfectly fine.
    Guys Please Help me out in solving this Issue ..

    Ganesh,
    Thanks for the help
    Well i have already done that before too. I have also check the ServiceSAP file and also the permission but dont know what issue is coming I am not able to trace down the Issue.
    As soon i click the db13 and go for full database backup and select the tape its shows access denied. What is happening in the background cant able to trace out...
    So planning to lock the complain to SAP ..
    Regards
    Vishal Arora

  • Query regarding database patching

    Hi ,
    I am on Oracle 11G and Solaris SPARC 64-bit server.
    The server admin have applied the oracle CPU that was released on April 18,2011.
    I have the path to the new oracle home now.
    Currently my oracle home is 11.1.0.7.P1 and the new oracle home is
    11.1.0.7.P2.
    Now the practice that i have been following to change my oracle home(Patching) is :
    1. Shutdown db
    2. Change oratab with new home:Y
    3. Change my .profile for $ORACLE_HOME
    4. Startup the database with init.ora
    5. Run catbundle.sql cpu apply
    6. Run recompile_precheck_jan2008cpu.apply
    7. View_recompile_jan2008cpu.sql
    8. Shutdown immediate and startup
    9. Change oracle home in listener.ora
    10.Create softlink of init.ora to /dbs/ of new oracle home.
    Now I have 2 queries :
    1.Since the database runs fine post it , I am not able to conclude
    if any other sql also needs to be run ?
    2. What is the location of the readme.txt and readme.html which i need to check for invalid objects.
    I have searched but couldn find it. :(
    Also , How do i test the performance pre and post patching..
    Will doing it by just checking the time taken for Data loads pre and post
    patching sufficient.
    What other checks can i do in dev to test for patch.
    Thanks and Regards
    Kk

    Hi ,
    In this particular database , ive run the catbundle.sql and its been almost 30 mins that its at this location :
    SQL> @?/rdbms/admin/initcdc.sql
    SQL> Rem
    SQL> Rem $Header: initcdc.sql 15-mar-2006.08:20:07 mbrey Exp $
    SQL> Rem
    SQL> Rem initcdc.sql
    SQL> Rem
    SQL> Rem Copyright (c) 2000, 2006, Oracle. All rights reserved.
    SQL> Rem
    SQL> Rem    NAME
    SQL> Rem      initcdc.sql - script used to load CDC jar files into the database
    SQL> Rem
    SQL> Rem    DESCRIPTION
    SQL> Rem      <short description of component this file declares/defines>
    SQL> Rem
    SQL> Rem    NOTES
    SQL> Rem      script must be run as SYS
    SQL> Rem
    SQL> Rem    MODIFIED   (MM/DD/YY)
    SQL> Rem    mbrey       03/15/06 - bug 5092790 add datapump registration
    SQL> Rem    pabingha    02/25/03 - fix undoc interfaces
    SQL> Rem    wnorcott    03/14/02 - bug-2239726 disable triggers.
    SQL> Rem    wnorcott    01/31/02 - function 'active' return 0 or 1.
    SQL> Rem    wnorcott    01/30/02 - disable CDC triggers, CREATE_CHANGE_TABLE re-enables.
    SQL> Rem    wnorcott    06/26/01 - rid trailing slash.  As per Mark Jungermann
    SQL> Rem    gviswana    05/25/01 - CREATE OR REPLACE SYNONYM
    SQL> Rem    jgalanes    11/17/00 - for Import/Export grant execute on util to
    SQL> REM                           SELECT_CATLOG_ROLE
    SQL> Rem    wnorcott    09/07/00 - new loadjava syntax for performance.
    SQL> Rem    wnorcott    07/18/00 - rid LOGMNR_UID$.clientid
    SQL> Rem    wnorcott    06/28/00 - move logmnr_dict view here
    SQL> Rem    wnorcott    03/28/00 - fix trigger install
    SQL> Rem    wnorcott    03/27/00 - Install change table triggers
    SQL> Rem    mbrey       01/26/00 - script to load CDC jars
    SQL> Rem    mbrey       01/26/00 - Created
    SQL> Rem
    SQL> call sys.dbms_java.loadjava('-v -f -r -s -g public rdbms/jlib/CDC.jar');How do i check if its still running or failed ?
    *PS : Ive read this note :Script Fails At Loadjava With ORA-03113 and ORA-03114 [ID 358232.1] But its when it errors out , for me its not erroring out also..*
    Thanks
    Kk
    Edited by: Kk on May 25, 2011 2:40 AM

  • Query Regarding Database Split

    hi all,
    My client have 4 Units in which nearly 80%items are same in all 4 units,Bp are 40% approx same please suggest me how to manage 4 unit in 1 database or in 4 diffrent database.What problem i face if i choose 1 database for all four unit.
    Note:All 4 unit working seperatly
    Thanks and regards
    Rahul

    Hi
    First of all u cant generate Balance sheet for all four units seperately.....(TB and P&L can be generated sep. if u have maintained Profit centres...) BY using some of tools this also we can achieve but not in std. sbo.
    For connecting all Four units u should have Brooad band connection to access the server. In India most of the time the Broadband will be slow r down only....
    All customers Balances  can be seen by other branch peoples also.......
    Unwanted Masters which is not belongs to other branch also will be availlable to everyone.anyway that can be filltered...
    Giri

  • Query regarding database size

    hi,
    ( sap 4.7c + sql server 2000 (Module:sd/mm/fi )
    ( data : 1 & half year - no BI )
    our database size is around 50 GB
    and log size is around 30 GB
    I doubt that something is wrong.
    can anyone explain to me what is right and
    what action one should take on this type of scenario.
    thanks in advance
    raj

    Hi Raj,
    My database size is about 30GB (3 years of usage) and log file is about 12GB.
    My database settings (recomendent by SAP and Early watch) are:
    I shrinked database to minimum size and set following settings:
    Database (mdf and ndf):
    - growth activated: checked
    - growth not restricted: checked
    - next step possible: checked
    - next step size: 60MB
    tempdb and log file:
    - growth activated: checked
    - growth not restricted: checked
    - next step possible: checked
    - next step size: 10%
    Regards,
    Marcin Gajewski

  • Query regarding database reorganization

    Hi All,
    I have been asked to reorganize the database( size 220GB Dev, size 460GB Qua, size 500GB Production)
    Database is Oracle 10G, SAP version is ECC 6.0.
    I tried this via BRtools on a test system(size 130GB,Oracle 10G) and nothing happens.Assuming this,I doubt any change.
    However my management is insisting size must decrease by 10 -12 percent.
    My query is if I reorganize the database via BRTOOLS what will be the effect on the database size.
    No client is deleted on any of the system and no data has been erased by the functional team.
    Any suggestion on the same will be a great help to me.
    Regards,
    PG

    Hi,
        How much space is liberated after a re-org task is purely subjective ( system load, when the last re-org was run etc). A test system with no user activity cannot form an ideal test-bed for re-org outcome. Rather than looking out for benefit in terms of percentage of space shrunk, you could look at all avenues that can bring down the database size. The following notes might be used as a starting point.
    SAP Note 541538 - FAQ: Reorganization
    SAP Note 771929 - FAQ: Index fragmentation (Easier than a table re-org task.Can be done online ( before attempting this online, please go through the SAP Hot News announced in SAP Note 1413928 - Index corruption/wrong results after rebuild index ONLINE )
    SAP Note 706478 - Preventing Basis tables from increasing considerably (Exectue the SQL query in the note to identify the tables that occupy highest space and look for corresponding solutions in this note for those tables)
    Above messages' SAP Data Volume Management guide also has suggestions for triggering archiving/deleting/compressing/avoid growth where necessary
    cheers !
    PRADi

  • Regarding Database migration to external storage

    Hello.
    We are running on MS windows 2003 enterprise edition with Oracle Database 10g.
    We have system with 32GB RAM and 600 GB Harddisk space on system, and we have installed SAP Solution manger and SAP Netweaver (PI) 7.0 componenet on that box. At this time we do not have external storage so we segrigate and installed SAP Solution Manager and SAP Netweaver(PI) on same box like
    C:\ 120 GB Space - Contains SAP Software and Oracle Database Software
    D,E,F and G: drive contains 120 GB each on every drive, which contains oralce database - SAPDatas, oraarch,saparch,sapbackup,sapcheck etc.
    Now we have storage with good capacity, so we want to move all data from D,E,F and G: drive.
    So how can we to migrate oracle database software to Storage.
    Waiting for your kind response.
    Best Regards,
    V.Singh

    Hi
    Please check the following links:
    http://www.sap.com/services/education/certification/course.epx?context=%5B%5B%7CTADM70%7C%7C%7C%7C%5D%5D%7C
    and
    http://www.oracle.com/newsletters/sap/products/database/dbmig.html
    and
    http://www.geocities.com/SiliconValley/Grid/4858/sap/Basis/OracleMig.htm
    I hope this helps
    Regards
    Chen

Maybe you are looking for

  • How do you move Itunes from a PC to a Mac

    Hey, I just bought a new Mac for college, however I need to move my itunes library from my PC to my Mac. I was wondering what would be the best method to do it. Thanks.

  • Conference calls all of a sudden do not work??

    We have a Call Manager 5.1 with MGCP controlled gateways. Out of no where our ablility to ad hoc conference call does not work. We connect the calls and no one can hear one another. Any suggestions as to what could be the cause? Any feed back would b

  • For Pro's Only:  Installed a New CRT, then...Kaput

    Situation: iMac G3 400MHz DV SE, 384MB RAM, upgraded 40GB HD, 10.4.2 was working normally. Then, one day the CRT gradually grew dimmer and dimmer, past the point of usability. However, the handy VGA port worked fine with an external monitor. Diagnosi

  • How do i duplicate a file that is on acrobat. com?

    The duplicate file function is there if the document is in my documents. But it is not there if the file is saved on acrobat.com

  • IPad (gen 1) keeps crashing

    Hi, Randomly, but more and more often my original 32 GB WiFi iPad crashes. Totally unforced. No matter what I do. I finally was able to catch it on cam today. On this clip it first crashes with multiple stripes on screen, which is most common, then l