https://prefect.io logo
Title
w

Will Milner

06/18/2020, 8:49 PM
Does the prefect server persist it's data on shutdown by default? This is running prefect with a server as the backend
👀 1
l

Laura Lorenz (she/her)

06/18/2020, 9:11 PM
Hi @Will Milner! Not by default, as the CLI command removes the containers when the process is killed, but you can specify a volume mount for the postgres container with the
--use-volume
(and optionally
--volume-path
) flags of
prefect server start
to persist the data between containers.
w

Will Milner

06/18/2020, 9:14 PM
Ah this was just recently released in a newer version of prefect. Thanks for the heads up
👍 1