how to restore the existing production db in development environment

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • prave
    New Member
    • Apr 2013
    • 1

    how to restore the existing production db in development environment

    Hi guys ,

    We have the existing db2 db in production ,

    we want to restore the production database in development environment ,

    db2 V8.2

    Please provide me the procedure.
  • Naveeds
    New Member
    • Apr 2013
    • 2

    #2
    db2move dbname export

    Comment

    • vijay2082
      New Member
      • Aug 2009
      • 112

      #3
      If your servers os and type is same then you can go for direct restore. Else use db2move export/load option to move between server which have different endianess.



      Cheers, Vijay

      Comment

      • iwaich
        New Member
        • Apr 2013
        • 1

        #4
        If the your production environment is same as your developement evironment, you can use restore, it's very easy.

        Step 1: get a backup image from you production database.
        ---> db2 backup db <db_name>

        Step 2: Transfer this image from you production database to developement environment.
        then use command --> db2 restore db <db_name>

        Comment

        Working...