Differnce between DB Backup and generate Script

whats the differnce between DB Backup and generating Script of a database.
Please mention the main diffrence as we know while genearating script we can select tables/procedures of our choice instead of having all while in backup it takes full tables and procedures.

Hi Abhishek,
In addition to others’ posts, we need to know that there are different types of
backup in SQL Server, such as full backup, differential backup, log back up, file backup and so on.  It is recommended to back up database on a regular basis, as a well-planned backup
and restore strategy helps protect databases against data loss caused by a variety of failures. You can make
maintenance plans to back up database automatically.
However, generating scripts is not a disaster recovery option. If you encounter some failures about database, you cannot get data back by generating scripts.
Thanks,
Lydia Zhang

Similar Messages

  • Difference Between Crosscheck Backup and Crosscheck Backupset

    I am using 10gR2 on Solaris 5.10
    I have a following RMAN script:
    run
    backup database;
    crosscheck backupset;
    crosscheck backup;
    }What is the difference between Crosscheck Backup and Crosscheck Backupset? Can we just specify crosscheck backup?
    regards

    CROSSCHECK BACKUP - this command check all backup set and image copies
    but CROSSCHECK BACKUPSET check only backupsets

  • Differnce between SAP-XI and SAP PI

    hi can any body tell me what is the differnce between SAP-XI and SAP-PI

    Hi vijay,
    u can get lot of information regarding PI and XI in sdn.There already exists a no. of thread.just search with keyword "XI 3.0 and PI 7.0" u can get a lot.
    XI 3.0
    1. J2Se adapter engine was replaced with J2EE Adapter Engine.
    2. BPM was available from XI 3.0
    3. Part of Netweaver 2004
    PI 7.0
    1XI renames as Process Integration
    2.. Part of Netweaver 2004s.
    3. Has all features of XI 3.0 and every SP of Pi 7.0 has a corresponding release for XI 3.0.
    4. Runs on WAS 7.0 and has same features as XI 3,0
    From functional point, there is no difference between XI3.0 and PI7.0. There are changes only wrt SP. For every SP release on PI7.0 a corresponding SP for XI3.0 is also released.
    A comparision of the service packs in 2004 and 2004s;
    in 2004 - in 2004s
    SP12 & < - SP04
    SP13 + 14 - SP05
    SP15 - SP06
    SP16 - SP07
    SP17 - SP08
    SP18 - SP09
    For release notes
    ref:http://help.sap.com/saphelp_nw04/helpdata/en/cf/9844428e9cbe30e10000000a155106/frameset.htm
    There is no f'nal difference between XI 3.0 and PI 7.0. In order to bring all netweaver releases on par with each other , SAP released / renamed XI as PI and it is a part of NW04s
    For every release of PI 7.0, there is a parallel Support Pack on XI.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/706005a3-3bd6-2910-91ae-a2016239bdcf">SAP NetWeaver Process Integration 7.1 – Overview of New Capabilities</a>
    Also check these threads.
    Difference between NetWeaver 2004 and NetWeaver 7.0 or 7.1
    All the diff  between XI 3.0 and PI 7.0
    differences between xi 3.0 and pi 7.0
    Difference/ changes from XI 3.0 to PI 7.0
    regards
    Bill

  • Differnce between AT NEW AND ON CHANGE OF

    Hi,
    Differnce between AT NEW AND ON CHANGE OF
    Iam waiting foryour reply
    Thanks & Regards
    Raja Sekhar.T

    Hai Raja
    check the following Documents
    1. AT NEW f.
    2. AT END OF f.
    3. AT FIRST.
    4. AT LAST.
    5. AT fg.
    Effect
    In a LOOP which processes a dataset created with EXTRACT , you can use special control structures for control break processing. All these structures begin with AT and end with ENDAT . The sequence of statements which lies between them is then executed if a control break occurs.
    You can use these key words for control break processing with extract datasets only if the active LOOP statement is proceesing an extract dataset.
    The control level structure with extract datasets is dynamic. It corresponds exactly to the sort key of the extract dataset, i.e. to the order of fields in the field group HEADER by which the extract dataset was sorted .
    At the end of a control group ( AT END OF , AT LAST ), there are two types of control level information between AT and ENDAT :
    If the sort key of the extract dataset contains a non-numeric field h (particularly in the field group HEADER ), the field CNT(h) contains the number of control breaks in the (subordinate) control level h .
    For extracted number fields g (see also ABAP/4 number types ), the fields SUM(g) contain the relevant control totals.
    Notes
    The fields CNT(h) and SUM(g) can only be addressed after they have been sorted. Otherwise, a runtime error may occur.
    The fields CNT(h) and SUM(g) are filled with the relevant values for a control level at the end of each control group ( AT END OF , AT LAST ), not at the beginning ( AT FIRST , AT NEW ).
    When calculating totals with SUM(g) , the system automatically chooses the maximum field sizes so that an overflow occurs only if the absolute value area limits are exceeded.
    You can also use special control break control structures with LOOP s on internal tables.
    Variant 1
    AT NEW f.
    Variant 2
    AT END OF f.
    Effect
    f is a field from the field group HEADER . The enclosed sequence of statements is executed if
    the field f occurs in the sort key of the extract dataset (and thus also in the field group HEADER ) and
    the field f or a superior sort criterion has a different value in the current LOOP line than in the prceding ( AT NEW ) or subsequent ( AT END OF ) record of the extract dataset.
    Example
    DATA: NAME(30),
          SALES TYPE I.
    FIELD-GROUPS: HEADER, INFOS.
    INSERT: NAME  INTO HEADER,
            SALES INTO INFOS.
    LOOP.
      AT NEW NAME.
        NEW-PAGE.
      ENDAT.
      AT END OF NAME.
        WRITE: / NAME, SUM(SALES).
      ENDAT.
    ENDLOOP.
    Notes
    If the extract dataset is not sorted before processing with LOOP , no control level structure is defined and the statements following AT NEW or AT END OF are not executed.
    Fields which stand at hex zero are ignored by the control break check with AT NEW or AT END OF . This corresponds to the behavior of the SORT statement, which always places unoccupied fields (i.e. fields which stand at hex zero) before all occupied fields when sorting extract datasets, regardless of whether the sort sequence is in ascending or descending order.
    Variant 3
    AT FIRST.
    Variant 4
    AT LAST.
    Effect
    Executes the relevant series of statements just once - either on the first loop pass (with AT FIRST ) or on the last loop pass (with AT LAST ).
    Variant 5
    AT fg.
    Addition
    ... WITH fg1
    Effect
    This statement makes single record processing dependent on the type of extracted record.
    The sequence of statements following AT fg are executed whenever the current LOOP record is created with EXTRACT fg (in other words: when the current record is a fg record).
    Addition
    ... WITH fg1
    Effect
    Executes the sequence of statements belonging to AT fg WITH fg1 only if the record of the field group fg in the dataset is immediately followed by a record of the field group fg1 .
    Basic form
    ON CHANGE OF f.
    Addition
    ... OR f1
    Effect
    Executes the processing block enclosed by the " ON CHANGE OF f " and " ENDON " statements whenever the contents of the field f change (control break processing).
    Normally, you use the statement to manipulate database fields during GET events or SELECT / ENDSELECT processing.
    Note
    There are special control structures for processing control breaks in LOOP s on internal tables or extract datasets AT ).
    ON CHANGE OF is unsuitable for recognizing control levels in loops of this type because it always creates a global auxiliary field which is used to check for changes. This global auxiliary field can only be changed in the relevant ON CHANGE OF statement. It is not reset when the processing goes into loops or subroutines, so unwanted effects can occur if the loop or subroutine is executed again. Also, since it is set to its initial value when created (like any other field), any ON CHANGE OF processing will be executed after the first test, unless the contents of the field concerned happen to be identical to the initial value.
    Example
    TABLES T100.
    SELECT * FROM T100 WHERE SPRSL = SY-LANGU AND
                             MSGNR < '010'
                       ORDER BY PRIMARY KEY.
      ON CHANGE OF T100-ARBGB.
        ULINE.
        WRITE: / '**', T100-ARBGB, '**'.
      ENDON.
      WRITE: / T100-MSGNR, T100-TEXT.
    ENDSELECT.
    Displays all messages with their numbers in the logon language, provided the number is less than '010'.
    Each time the message class changes, it is output.
    Addition
    ... OR f1
    Effect
    Also executes the code whenever the contents of the field f1 changes.
    You can use this addition several times.
    Example
    Logical database F1S
    TABLES: SPFLI, SFLIGHT, SBOOK.
    GET SBOOK.
      ON CHANGE OF SPFLI-CARRID   OR
                   SPFLI-CONNID   OR
                   SFLIGHT-FLDATE.
        ULINE.
        WRITE: /5 SPFLI-CARRID, SPFLI-CONNID,
                5 SFLIGHT-FLDATE, SPFLI-FLTIME,
                5 SFLIGHT-SEATSMAX, SFLIGHT-SEATSOCC.
      ENDON.
      WRITE: / SBOOK-CUSTOMID.
    The code between ON CHANGE OF and ENDON is executed only if at least one of the fields SPFLI-CARRID , SPFLI-CONNID or SFLIGHT-FLDATE has changed, i.e. there is a different flight connection (which also has bookings).
    Notes
    Thanks & regards
    Sreenivasulu P

  • Differnce between business name and physical name

    What is the differnce between business name and physical name in OWB

    Hi Vibhuti,
    What I have noticed is that Physical name is THE important thing that is required while importing and synchronising. It has a length limitation of 30. The mappings appear with this name in the left panel in design center. The Business name is just for reference I believe.
    Cheers,
    Swagata

  • What is the differnce between Blue,Purple and Orange Audio Tracks. Can you convert either to Green Midi Track?

    What is the differnce between Blue,Purple and Orange Audio Tracks. Can you convert either to Green Midi Track?

    Are you asking about Garageband? Your signature also mentions Logic, but I have never worked with that.
    Concerning Garageband:
    Real Instrument regions from your recordings are purple.
    Real Instrument regions from Apple Loops are blue.
    Regions from imported audio files are orange.
    Software Instrument regions from recordings, loops, and imported MIDI files are green.
    So far as I know you can convert software instrument loops to real instrument loops, but not real instrument loops to software instrument loops.

  • Differnce between type f and type p?

    Hi All,
    What is the Differnce between type f and type p?
    Regard,
    Mike

    Hi Mike
    Differnce bw type F and type P:-
    Packed numbers - type P
    Type P data allows digits after the decimal point. The number of decimal places is generic, and is determined in the program. The value range of type P data depends on its size and the number of digits after the decimal point. The valid size can be any value from 1 to 16 bytes. Two decimal digits are packed into one byte, while the last byte contains one digit and the sign. Up to 14 digits are allowed after the decimal point. The initial value is zero. When working with type P data, it is a good idea to set the program attribute Fixed point arithmetic.Otherwise, type P numbers are treated as integers.
    You can use type P data for such values as distances, weights, amounts of money, and so on.
    Floating point numbers - type F
    The value range of type F numbers is 1x10*-307 to 1x10*308 for positive and negative numbers, including 0 (zero). The accuracy range is approximately 15 decimals, depending on the floating point arithmetic of the hardware platform. Since type F data is internally converted to a binary system, rounding errors can occur. Although the ABAP processor tries to minimize these effects, you should not use type F data if high accuracy is required. Instead, use type P data.
    You use type F fields when you need to cope with very large value ranges and rounding errors are not critical.
    Using I and F fields for calculations is quicker than using P fields. Arithmetic operations using I and F fields are very similar to the actual machine code operations, while P fields require more support from the software. Nevertheless, you have to use type P data to meet accuracy or value range requirements.
    C ---> character
    D ---> date
    P ---> packed
    T ---> time
    X ---> hexadecimal
    I ---> integer.
    N ---> Muneric.
    Reward pts if help.
    Regards
    Deepanker

  • Whats the differnce between a7 chip and m7 chip

    iPhone 5s, whats the differnce between a7 chip and m7 chip?

    For more details on M7 you can read http://en.wikipedia.org/wiki/Apple_M7
    Allan

  • Difference between Full backup and lncremental level 0 backup

    Hi,
    What is the difference between Full backup and lncremental level 0 backup?
    what I understand is:
    Actually incremental backup backups all the block containing data and skips the blocks that are unused.
    Similarly full backup backups all the blocks containing data.(does it skip unused blocks ?????).
    The only difference that I feel is that the level 0 backup is recorded as an incremental backup in the RMAN repository, so it can be used as the parent for a level 1 backup where Full database backup is not recorded in the Rman respository and cannot be used as parent for level 1 backup.
    (if you still feel you have some more points to share regarding the difference between backups, I request to share with me)
    so my question here is
    Can we use Incremental level 0 backup for full database recovery. Else is there any compulsion like we must only use full database backup for full database recovery?
    can anyone throw light on this
    with regards;
    Boo

    nowhere in this thread we talked about the image copies as we are only talking about the incremental backup.
    The word "always" has a meaning. If you now wish to say, "well, RMAN will mostly use a level 0 or full backup, except when there are image copies around" then the word "always" doesn't fit your newly-revised description. That would make it an inappropriate word to use. And indeed, it's a factually wrong word to use.
    If you want to get really picky about it, incidentally, the words 'datafile copy' appear in a post from me at Aug 4, 2007 6:03 PM whereas your post (in which the "always" word was used) only appears Aug 4, 2007 8:32 PM -a full 2 and a half hours (and and two posts) AFTER the concept of image copies had been mentioned.
    But regardless of times: you can't just pretend image copies don't exist just because they haven't been mentioned so far in a thread. If you post "this is the way something ALWAYS works", you'd better be completely right about it, because "ALWAYS" is a big word. And there's no grey about this: either "always" is right, or it's wrong. And in this case, it's wrong: there are many times when RMAN will not do what you baldly asserted it would do. Image copies aren't some rare, exotic beast, either... so the occasions when your 'rule' breaks down are many and common.
    until now I was simply beliving in what Oracle docs and metalink notes says
    Try not to do that. Because you will fall into error after error if you do. Metalink is not the Holy Gospel of Oracle. Testing is, and it's because I've been testing this stuff since 1999 I will, on this occasion, decline your kind invitation to do "a small test". Been there, done that.
    All of which leaves us discussing things that are of no relevance to the original poster, and I have no desire to take the thread off into silly areas of dispute. So I will leave it there, and I have nothing further to say on the matter. RMAN does what it does, and what it does is not what you said it would do. End of story.

  • Differnce between byte[] reading and int[] reading

    While reading information from file using fileInputStream ....
    Is there any differnce between byte[] reading and int[] reading ?

    Well, in as much as you can do the former and not the latter.
    FileInputStream just reads blocks of bytes. If you want to read more sophisticated element you need to wrap in in a DataInputStream or a Reader.

  • Differnce between null string and an empty string??

    what is the major difference between null string and an empty string??
    I wrote the following simple program and I could see some different output.
    Other than that, any other differences that we should pay attention to???
    C:\>java TestCode
    Hello
    nullHello
    public class TestCode
         public static void main(String[] s)
         {     String s1 = "";
              String s2 = null;
              System.out.println(s1 + "Hello");
              System.out.println(s2 + "Hello");
    }

    There's a big difference between the two. A null String isn't pointing to an object, but an empty String is. For example, this is perfectly fine:
    public class TestCode
        public static void main(String[] args)
            String s = "";
            System.out.println(s.length());
    } It prints out 0 for the length of the String, just as it should. But this code will give you a NullPointerException:
    public class TestCode
        public static void main(String[] args)
            String s = null;
            System.out.println(s.length());
    } Since s isn't pointing to anything, you can't call its methods.

  • Differnce Between Oracle 9i And MS SQL Server 2000

    Hi,
    What are the difference between Oracle 9i And MS SQL Server 2000.
    Thnaks

    Some links
    http://www.google.lv/search?hl=lv&q=oracle+sql+server+difference&meta=
    http://asktom.oracle.com/pls/asktom/f?p=100:1:487512552646613::NO:RP::
    http://www.mssqlcity.com/Articles/Compare/sql_server_vs_oracle.htm
    http://www.wisdomforce.com/dweb/resources/docs/MSSQL2005_ORACLE10g_compare.pdf
    But you have to remember one big thing - I've not seen yet one compare that was completely indifferent to any of the included DB's. So you can be sure that every doc that you get on MS website will say that SQL server is better, every doc on Oracle website will say that Oracle is better. Every doc on other websites will say that better DB either is:
    1) DB that has payed for the reserach paper
    2) DB that was mostly used by the researchers
    So of course you should be very cautious about each paper you get.
    Gints Plivna
    http://www.gplivna.eu

  • Differnce between Modify table and append table

    Hi Abappers,
    What is the major differnce between the following 2?
    a)G_T_PROD-G_OP_INV_KG = G_OP_INV1.
    MODIFY G_T_PROD INDEX G_READ_INDEX.
    b)G_T_PROD-G_OP_INV_KG = G_OP_INV1.
    APPEND G_T_PROD.

    Hi Mansi Maskeri,
    <b>Append Statement :</b>
    This statement helps in adding the record at the bottom of the internal table.
    <b>Example : append wa_tab to it_tab.
    This adds the record at the end of the internal table it_tab.</b>
    <b>Modify statement :</b>
    This statement helps in changing the existing record at the specified index.
    For example:
    modify it_tab index 3.
    This modifies the internal it_tab record which is present at the 3 position.
    Regards.

  • Differnce between 'GATHER EMPTY'  and  'GATHER STALE'

    Hey experts,
    what is the exact differnce between below 2 statements,
    1st
    dbms_stats.GATHER_SCHEMA_STATS( user , method_opt => 'FOR ALL COLUMNS SIZE AUTO', options => 'GATHER EMPTY' , degree => 4 ) ;2nd
    dbms_stats.GATHER_SCHEMA_STATS( user , method_opt => 'FOR ALL COLUMNS SIZE AUTO', options => 'GATHER STALE' , degree => 4 ) ;

    From GATHER_SCHEMA_STATS documentation :
    +GATHER STALE: Gathers statistics on stale objects as determined by looking at the tabmodifications views. Also, return a list of objects found to be stale.+
    GATHER EMPTY: Gathers statistics on objects which currently have no statistics. also, return a list of objects found to have no statistics.

  • CF Installations :Key differnces between Multiserver configuration and J2EE Configuration

    Hi,
    Can anyone give the important differences between Multiserver
    configuration and J2EE Configuration installations?..

    Hello Dalibor,
    While the service account user object has Use DES selected it would appear your user session is still sending the AS Java an RC4 service ticket.  This might occur if your user had requested a service ticket before Use DES was selected, or before that setting had replicated to the appropriate domain controller.  The fix might be as simple and logging out and logging back in now that some time has passed.
    You could also download the Microsoft kerbtray utility and inspect the service ticket enc type to validate this.  kerbtray can also be used to clear old tickets and is generally useful for troubleshooting this kind of thing.
    Thanks!
    Kyle

Maybe you are looking for

  • Apple please allow the user to edit the genres

    You know after apple revamped iTunes 12, and I think that they did a great job,, I started to think about the  genres.  I really wish that I had control over what genres appeared in my list because the overwhelming majority go unused and I'd like to

  • Run time Error while executing Project Info system Reports (CN41/CN41N)

    Hi, I would like to inform while running project infosystems reports (CN41/41N / cns41 etc), it is taking long time & most of the time run time errors are coming. I observed due to more objects in projects, run time error is coming. Request you to su

  • How do I create a new document in adobe?

    How do I create a new document in adobe?

  • CProjects Actual Cost = 0 after Settlement Run

    Hi Gurus After running Transaction CJ8G (Settlement Run), then I log into cProjects, locate my Project and go to the Accounting Tab, I click on Calculate, then Save, then I return to the cProjects Dashboard When I look at the Actual Costs Value it is

  • [SOLVED] Running mercurial server (hg serve) at boot

    Hi, I'm trying to run hg serve in rc.local but for some reason the server doesn't seem to start. Besides comments, my rc.local contains this: echo conservative >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor echo 55 >/sys/devices/system/cpu/cp