prefect server

prefect server [OPTIONS] COMMAND [ARGS]...

Start a Prefect server instance and interact with the database

prefect server start

prefect server start [OPTIONS]

Start a Prefect server instance

prefect server stop

prefect server stop [OPTIONS]

Stop a Prefect server instance running in the background

prefect server database

prefect server database [OPTIONS] COMMAND [ARGS]...

Interact with the database.

prefect server database reset

prefect server database reset [OPTIONS]

Drop and recreate all Prefect database tables

prefect server database upgrade

prefect server database upgrade [OPTIONS]

Upgrade the Prefect database

prefect server database downgrade

prefect server database downgrade [OPTIONS]

Downgrade the Prefect database

prefect server database revision

prefect server database revision [OPTIONS]

Create a new migration for the Prefect database

prefect server database stamp

prefect server database stamp [OPTIONS] REVISION

Stamp the revision table with the given revision; don’t run any migrations

prefect server services

prefect server services [OPTIONS] COMMAND [ARGS]...

Interact with server loop services.

prefect server services manager

prefect server services manager [OPTIONS]

This is an internal entrypoint used by `prefect server services start —background`. Users do not call this directly.

We do everything in sync so that the child won’t exit until the user kills it.

prefect server services list-services

prefect server services list-services [OPTIONS]

List all available services and their status.

prefect server services ls

prefect server services ls [OPTIONS]

List all available services and their status.

prefect server services start-services

prefect server services start-services [OPTIONS]

Start all enabled Prefect services in one process.

prefect server services start

prefect server services start [OPTIONS]

Start all enabled Prefect services in one process.

prefect server services stop-services

prefect server services stop-services [OPTIONS]

Stop any background Prefect services that were started.

prefect server services stop

prefect server services stop [OPTIONS]

Stop any background Prefect services that were started.