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

吃可爱长大的小学妹 提交于 2019-12-10 18:49:50

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/36087962/is-there-any-way-i-can-restore-a-db2-backup-file-onto-ibm-dashdb

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!