Deleting and recreating a project database

Using the clean utility deletes the document processing project from your project database. You can delete and re-create the database so that it is ready for a new project.

About this task

You can re-create a database from a cleaned deployment to re-use in developing another Automated Document Processing project.
Note: The script for collecting the relevant information for this operation, ProjectCleanup.sh is supported for Linux® only.

Procedure

To delete and re-create the project database:

  1. Log in to the Db2® server, and navigate to the directory containing the cert-kubernetes folder that you created as part of the installation preparation.
  2. Go to the ACA/configuration-ha/DB2 subfolder.
  3. Run the following script:
    ./ProjectCleanup.sh
  4. When prompted, provide the name of the Base database.
  5. When prompted, provide the name of the database user for the Base database.
  6. From the script returns, collect the values for tenant_db, tenant_user and tenant_id.
  7. To recreate the database, use the instructions in Preparing the Db2 databases for Document Processing, but use the database values from the project database that you just cleaned up.