问题
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