Skip to content
CLI Reference
Running Astralis Server
db

Command: db

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

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

Usage

Usage: fides db <command>

The following subcommands are available:

  • init - Initializes the Astralis 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 Astralis database

This example initializes the Astralis 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 Astralis 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]?