Fortinet white logo
Fortinet white logo

CLI Reference

gui-db

gui-db

Use these commands to apply new migration scripts to the GUI DB, show the history of GUI DB, and roll back to previous versions.

Syntax

execute gui-db history

execute gui-db migration

execute gui-db rollback <previous version>

Variable

Description

history

Show the history of GUI DB migrations.

migration

Apply new migration scripts to GUI DB.

rollback <previous version>

Roll back GUI DB to a previous migration version. Enter the previous version to roll back to.

gui-db

gui-db

Use these commands to apply new migration scripts to the GUI DB, show the history of GUI DB, and roll back to previous versions.

Syntax

execute gui-db history

execute gui-db migration

execute gui-db rollback <previous version>

Variable

Description

history

Show the history of GUI DB migrations.

migration

Apply new migration scripts to GUI DB.

rollback <previous version>

Roll back GUI DB to a previous migration version. Enter the previous version to roll back to.