Database Restore

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 in the SQLite3 database settings, in the Image integrity verification drop-down field, the Quick or Full option is set, then 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).