Backing up and restoring Db2

You can use the db2 backup and db2 restore commands to back up and restore your integrated Db2 instance.

Important notes

  • IBM recommends that you run full backups of your entire database regularly. For more information, see Deciding how often to back up.
  • Do not stop the container while a backup or a restore operation is in progress.
  • Use the db2 backup and db2 restore commands to run full online backup and restore operations on a Db2 database.
  • To restore the database in a different deployment or cluster, ensure that you export the encryption keystore with your backup images.
  • If you have a Q Replication deployment, perform an SSL certificate exchange after you back up and restore. See Trusting targets and exchanging Db2 TLS certificates for more information.
Note: You can also back up and restore an entire IBM Software Hub deployment. For more information, see Backing up and restoring IBM Software Hub.

For more information about Db2 backup and restore operations, see the following resources: