Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2010
    Posts
    13

    Unanswered: DB2 restore with different name on same server

    Hi,

    I have taken backup of one database. I want to have same DB for other application so I want to clone this backed up DB with different name.
    How should I do that?

    Your response is appreciated.

    Thanks and Regards,
    -Shashank

  2. #2
    Join Date
    Jan 2003
    Posts
    4,292
    Provided Answers: 5
    You will need to do the following:

    1) do a redirected restore
    2) use the "TO <target-directory>" clause
    3) use the "INTO <target-database-alias>" clause
    4) use the "NEWLOGPATH <directory" clause

    Andy

  3. #3
    Join Date
    Mar 2010
    Posts
    13
    Thanks a lot for quick help. I could restore DB.

    Regards,
    -Shashank

Posting Permissions

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