Db2

 View Only
Expand all | Collapse all

Incremental backup

  • 1.  Incremental backup

    Posted Mon November 30, 2020 04:27 PM

    Hi,

    I want to discuss a scenario, I want to take incremental backup and below are steps which i considered to achieve this but having confusion.

    Firstly I took an full offline backup on sunday through below mentioned command and verify it's integrity, Backup size was 1.1 TB.

    db2 "backup database db1 user user1 using pauser1 to /backup/offlineBkp/29nov2020_AR/ with 3 buffers buffer 1000 without prompting"

    ======================================================

    Secondly today (on Monday) I took an incremental backup through below mentioned command and i was thinking that it's size would be in 15 - 20 GB but it is taking more space, So i cancelled the online backup.

    db2 "backup database db1 user user1 using pauser1 online incremental to /backup/offlineBkp/29nov2020_AR/ include logs without prompting"

    ======================================================

    Why i assumed about it's size in 15 - 20 GB as per definition inremental backup takes backup from the last full backup till end.

    TRACKMODE parameter is set to ON.

    =========================================================================================================

    As you can see around 90 GB was the backup size when I cancelled it and as per Total Work it is showing around 1.1 TB

    febinst:~> db2 list utilities show detail

    ID = 2389

    Type = BACKUP

    Database Name = FEBDB

    Member Number = 0

    Description = online incremental db

    Start Time = 11/30/2020 21:04:58.543612

    State = Executing

    Invocation Type = User

    Throttling:

    Priority = Unthrottled

    Progress Monitoring:

    Estimated Percentage Complete = 8

    Total Work = 1124302279067 bytes

    Completed Work = 94980345731 bytes

    Start Time = 11/30/2020 21:04:58.543626





    #Db2
    #Db2forLUW
    #Support
    #SupportMigration


  • 2.  RE: Incremental backup

    Posted Thu January 07, 2021 01:57 AM

    In the manual page below says:

    "1. If you take an incremental backup of a table space that contains pages that have been updated since the previous backup was taken, all long field or large object data will be copied into the backup image."

    Ref. Incremental backup and recovery

    https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.5.0/com.ibm.db2.luw.admin.ha.doc/doc/c0006069.html

    Ref.2

    Size of Incremental backup

    https://www.ibm.com/support/pages/node/544433





    #Db2
    #Db2forLUW
    #Support
    #SupportMigration