Fortinet black logo

CLI Reference

log rebuild-sqldb

log rebuild-sqldb

Use this command to rebuild the SQL database from log files.

If run in the VDOM context, only this VDOM’s SQL database is rebuilt. If run in the global context, the SQL database is rebuilt for all VDOMs.

If SQL logging is disabled, this command is unavailable.

Syntax

execute log rebuild-sqldb

log rebuild-sqldb

Use this command to rebuild the SQL database from log files.

If run in the VDOM context, only this VDOM’s SQL database is rebuilt. If run in the global context, the SQL database is rebuilt for all VDOMs.

If SQL logging is disabled, this command is unavailable.

Syntax

execute log rebuild-sqldb