If you want to move the contents of one geodatabase to another database on the same Db2 instance, you can create a second database, enable a geodatabase in it, and move your data. If you want to move the geodatabase to a new Db2 instance, you can make a backup of the database and move the database to the new instance.
Move data to a new geodatabase on the same instance
Database and geodatabase names must be unique on the same Db2 instance; therefore, if you want to move your data to a different geodatabase on the same instance, create a second database, enable a geodatabase in it, and move your existing data to the new geodatabase. Data can be moved in ArcGIS by copying and pasting, using the Export tool, using the Extract Data wizard, or using XML workspace documents.
Be aware that the user who logged in when loading the data to the new geodatabase will own the data. If you want the data to have the same owner in the new geodatabase, have each user move their own data.
Move a geodatabase to a new instance
If you want to move a geodatabase to a new Db2 instance, ensure you include all the necessary database objects, back up the database that you want to transfer, and restore it to your new instance. Doing this achieves the following:
- Moves all objects in the database
- Allows you to specify alternate paths for your table space containers
- Allows you to use scripts if you need to move the database on a regular basis
See the IBM Db2 Information Center documentation for instructions on creating backups of and restoring Db2 databases.