Database Restore

Top  Previous  Next

If the SQLite3 embedded database get malformed, the corrupted database can be restored by regular means.

If the database get corrupted, the following actions performed:

1.If the database corrupted, the Server startup and operation is not performed:

a)During Server operation: if the corruption detected during regular interaction with embedded database, the Server automatically stopped.

b)During Server startup: if the Verify image integrity flag is set in the SQLite3 database settings, automatic verifying of the database image integrity is performed. If corruption detected, the Server startup is not performed.

2.To be able to start the Server, the corrupted database must be repaired:

a)If the Restore corrupted image automatically flag is set in the SQLite3 database settings, the automatic restoring of the corrupted database image at Dr.Web Server startup is performed.

b)If automatic restoring of the database image is disabled, you can use the repairdb switch to start the Server from the command line (see also the Application document, p. H3.3. Database Commands).