(1) Create recovery dump of corrupted database
This dump generates an SQL script containing all the data of the corrupted DB.
To generate the SQL dump, the following important hints need to be followed:
- H2 DB server needs to be shut down (e.g.
systemctl stop iamdb
) - Run the following command (in
/home/h2database
) - it generates an sql file with the recovery information: