Performing Full Backup
IBM Db2 supports the following types of full backups:
To back up database offline, do the following steps:
where <database_name> is a name of the database you want to deactivate.
where <database_name> is a name of the database you want to back up.
where <database_name> is a name of the database you want to deactivate.
To back up database online, do the following steps:
If you have not configured the logarchmeth1 parameter during the Veeam Plug-in configuration, you can configure the parameter using DB2ConfigTool:
Alternatively, you can re-configure the database with the following command:
db2 update database cfg for <database_name> using logarchmeth1 VENDOR:</opt/veeam/VeeamPluginforDB2/libDB2Plugin.so> |
where <database_name> is a name of the database you want to back up.
- Back up the database online with the following command:
where <database_name> is a name of the database you want to back up.
If you want to include logs in the backup, you can use the INCLUDE LOGS option with the BACKUP DATABASE command:
db2 backup database <database_name> online load /opt/veeam/VeeamPluginforDB2/libDB2Plugin.so include logs |
where <database_name> is a name of the database you want to back up.
To learn more about the INCLUDE LOGS option, see this IBM article.