If you want to delete Document Processing projects that you no longer need, you can use
scripts to clean up or delete the databases.
Procedure
- In Business Automation Studio, in Automations, delete the project.
This action marks the status of the underlying database as not being used, and ready for either
reinitialization (clean up) or deletion.
- 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.
- Go to the ACA/configuration-ha/DB2 subfolder.
- Run a script to either clean up or delete the project databases.
- To clean up the database, run the following script:
ProjectCleanup.sh
or if you are on Windows:
ProjectCleanup.bat
- To delete the database, run the following script:
ProjectDelete.sh
or if you are on Windows:
ProjectDelete.bat
- When prompted, provide the name of the Base database.
- When prompted, provide the name of the database user for the Base database.
- If there are no databases marked for reinitialization or deletion, the script does not
perform any action.
- If there are multiple databases marked for reinitialization, the script attempts to
reinitialize each database with the default data.
If there are multiple databases marked for deletion, the script attempts to permanently remove
each database.
- If you ran the
ProjectCleanup script: After being reinitialized, the
database(s) are ready be to used for new project(s), as needed.