-
Is there a way to migrate to an external database from the built-in database without losing the data? |
Beta Was this translation helpful? Give feedback.
Answered by
kylecarbs
Apr 12, 2023
Replies: 1 comment 3 replies
-
The following steps should work:
Let me know if something needs to be changed; happy to help! |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
deansheather
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following steps should work:
coder server postgres-builtin-serve
in a background terminal.coder server postgres-builtin-url
and copy its output command.pg_dump <connection-string>
to dump the database contents. Then restore that content to an external database, and start Coder pointing at the new one!Let me know if something needs to be changed; happy to help!