Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way I can restore a DB2 backup file onto IBM DashDB?

I am trying to restore a DB2 backup file into my BlueMix DashDB service. How do I go about doing this?

like image 587
Michael Noh Avatar asked Jan 22 '26 17:01

Michael Noh


1 Answers

You cannot restore your DB2 backup image into dashDB for several reasons.

In an entry-level, shared dashDB instance you only have access to one schema in a physical database shared by others.

Even if you have a dedicated instance, you need 1) access to the database local disk to upload the image and 2) sufficient privileges (at least SYSMAINT authority) to perform the restore. I doubt either will be available to you.

What you can do is run db2look and db2move locally to extract your database DDL statements and data respectively. You can then run the extracted DDL script against dashDB provided you replace the original schema name(s) with the one available to you in dashDB and, after creating the tables, load your data into them.

like image 183
mustaccio Avatar answered Jan 26 '26 04:01

mustaccio



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!