Results 1 to 8 of 8
  1. #1
    Join Date
    Jul 2009
    Location
    USA
    Posts
    53

    Unanswered: how to skip rollforward

    Hello, I need to extract data for 2-3 tables, but the only backup image I have is online. Is there a way to skip the roll forward and connect to the database?
    Thx

  2. #2
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    You must have the logs that were active during the on-line backup. Do you use the "include logs" option when taking the backup?
    M. A. Feldman
    IBM Certified DBA on DB2 for Linux, UNIX, and Windows
    IBM Certified DBA on DB2 for z/OS and OS/390

  3. #3
    Join Date
    Jul 2009
    Location
    USA
    Posts
    53
    The image is several months old so I don't know if the "include logs" option was used. Is there a way to check?

  4. #4
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    Quote Originally Posted by db2aix
    The image is several months old so I don't know if the "include logs" option was used. Is there a way to check?
    Try "db2ckbkp -H"
    ---
    "It does not work" is not a valid problem statement.

  5. #5
    Join Date
    Jul 2009
    Location
    USA
    Posts
    53
    db2ckbkp shows:
    Includes Logs -- 0

    So, logs are not included.


    Any other option to get data from this backup image?

  6. #6
    Join Date
    Jan 2009
    Location
    Zoetermeer, Holland
    Posts
    746
    No, if you have an online backup image without the transaction logfiles it is useless, sorry.

  7. #7
    Join Date
    Aug 2008
    Location
    Toronto, Canada
    Posts
    2,367
    Quote Originally Posted by db2aix
    Any other option to get data from this backup image?

    What you can do is to restore this online image and then use db2dart /ddel option to dump the data into ASCII files. You need to supply several parameters including the table/tablespace id which you can obtain from running db2dart <db name>. ddel option doesn't dump all column data types (it will warn which columns it will not be able to dump). If you're unable to get the data using db2dart or don't have the DDL to recreate the tables, then you can try opening a pmr to get help (may be a billable service...)

  8. #8
    Join Date
    Aug 2008
    Location
    Toronto, Canada
    Posts
    2,367
    Correction: db2dart /ddel will dump data into delimited ASCII (DEL format)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •