Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Sovereign, high-performance data protection

Database maintenance

Clearing the database

The KMS server can be configured to clear the database on restart automatically.

Warning: this operation is irreversible

The cleanup operation will delete all objects and keys stored in the database.

[db]
clear_database = true

Database migration

When the KMS server starts against an existing database, it checks the recorded database version and runs any pending schema or data updates before opening its HTTP and KMIP ports.

For supported source versions, multi-instance startup behavior, and recovery steps, see Database Migrations and Upgrading to 5.30.

See also