Skip to content
Running Fides Server
db

Command: db

The fides db is the database utility that supports initialization and resetting of the database Fides.

To learn more about configuring Fides see the How to Configure Fides guide.

Usage

Usage: fides db <command>

The following subcommands are available:

  • init - Initializes the Fides database.
  • reset - Wipes all user-created data and resets the database back to its freshly initialized state.

Running this command should result in output that resembles the following:


Example: Initialize the Fides database

This example initializes the Fides database.

$ fides db init
Loaded config from: .fides/fides.toml
{'data': {'message': 'fides database initialized'}}
(venv) (base) CK-M1-Pro:test cillian$ 

Example: Reset the Fides database

This example wipes all user data and resets the database back to its initialized state.

$ fides db reset
Loaded config from: .fides/fides.toml
This will drop all data from the Fides database and reload the default taxonomy!
Are you sure [y/n]?