Hi @Bartek! Because all of the Prefect Server infrastructure is run inside Docker containers, each time you're restarting Prefect Server, you're probably also tearing down and rebuilding the PostgreSQL container. As a result, the data inside the previous container is lost. We're looking to expand some of the options for deploying Prefect Server, including better exposing the ability to create longstanding DB connections but in the meantime you'll need to manually adjust connection settings to connect to an instance of PostgreSQL that won't be torn down with the server.