prefect server
Start a Prefect server instance and interact with the database
prefect server start
Start a Prefect server instance
prefect server stop
Stop a Prefect server instance running in the background
prefect server database
Interact with the database.
prefect server database reset
Drop and recreate all Prefect database tables
Options
Options
--yes
prefect server database upgrade
Upgrade the Prefect database
prefect server database downgrade
Downgrade the Prefect database
prefect server database revision
Create a new migration for the Prefect database
prefect server database stamp
Stamp the revision table with the given revision; don’t run any migrations
Arguments
Arguments
[required]
prefect server services
Interact with server loop services.
prefect server services manager
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
List all available services and their status.
prefect server services ls
List all available services and their status.
prefect server services start-services
Start all enabled Prefect services in one process.
Options
Options
--background
Run the services in the background
prefect server services start
Start all enabled Prefect services in one process.
Options
Options
--background
Run the services in the background
prefect server services stop-services
Stop any background Prefect services that were started.
prefect server services stop
Stop any background Prefect services that were started.