Back-up image is not visible when restoring database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vikram1102
    New Member
    • Mar 2007
    • 14

    Back-up image is not visible when restoring database

    whenever i try to restore the database from a backup image, i cant find the backup image which was created during backup process.
    wat will be the proces to recover the database from the bachup image if the database is dropped.
  • ramesh jampala
    New Member
    • Mar 2007
    • 10

    #2
    Originally posted by vikram1102
    whenever i try to restore the database from a backup image, i cant find the backup image which was created during backup process.
    wat will be the proces to recover the database from the bachup image if the database is dropped.

    Hi Vikram,

    Are you providing the backup image path in the restore command?
    If the database is dropped, use the following command for restore...

    db2 restore database dbname from backuppath taken at timestampofback upimage into newdbname without prompting

    backuppath is where you stored your backup image like c:\db2backups

    Comment

    • vikram1102
      New Member
      • Mar 2007
      • 14

      #3
      Originally posted by ramesh jampala
      Hi Vikram,

      Are you providing the backup image path in the restore command?
      If the database is dropped, use the following command for restore...

      db2 restore database dbname from backuppath taken at timestampofback upimage into newdbname without prompting

      backuppath is where you stored your backup image like c:\db2backups


      Thanks buddy.. its working... , but if i want to restore some database from control center after deleting , then the backup image is not visible, can u make it for me....

      Comment

      • ramesh jampala
        New Member
        • Mar 2007
        • 10

        #4
        Originally posted by vikram1102
        Thanks buddy.. its working... , but if i want to restore some database from control center after deleting , then the backup image is not visible, can u make it for me....
        Vikram,
        From Control center, if the backup image is not visible means it is not there in recovery history file. Choose Manually enter the backup image information radio button. This will allow you to provide the backup image when you know the path where it was stored.

        Comment

        • vikram1102
          New Member
          • Mar 2007
          • 14

          #5
          Originally posted by ramesh jampala
          Vikram,
          From Control center, if the backup image is not visible means it is not there in recovery history file. Choose Manually enter the backup image information radio button. This will allow you to provide the backup image when you know the path where it was stored.
          u r a genious..... ;)

          Comment

          Working...