Hello all, hope that you are well. I am currently ...
# prefect-server
a
Hello all, hope that you are well. I am currently running a Prefect server inside a virtual machine along with an agent which runs flows and tasks. When I kill the server and the agent and then restart it, I see that my previous flow data has been wiped. Is there a way to ensure that this persists? Is there a way to ensure that if I kill my server and agent and then restart them, the data about flows that have been run will remain? Thanks, Aniruddha
k
Hey @Aniruddha Sengupta, yep see this
a
Yes, there is! You need to either use some external Postgres database or mount a Postgres volume to the Postgres container. You can do that easily by using
prefect server start --use-volume
a
Thank you both! ❤️