File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,14 +65,14 @@ coder server postgres-builtin-url
65
65
psql "postgres://coder@localhost:49627/coder?sslmode=disable&password=feU...yI1"
66
66
```
67
67
68
- ### Migrating from internal database to external database
68
+ ### Migrating from the built-in database to an external database
69
69
70
- To migrate from the internal database to an external database, follow these steps:
70
+ To migrate from the built-in database to an external database, follow these steps:
71
71
72
72
1 . Stop your Coder deployment.
73
73
2 . Run ` coder server postgres-builtin-serve ` in a background terminal.
74
74
3 . Run ` coder server postgres-builtin-url ` and copy its output command.
75
- 4 . Run ` pg_dump <internal -connection-string> > coder.sql ` to dump the internal database to a file.
75
+ 4 . Run ` pg_dump <built-in -connection-string> > coder.sql ` to dump the internal database to a file.
76
76
5 . Restore that content to an external database with ` psql <external-connection-string> < coder.sql ` .
77
77
6 . Start your Coder deployment with ` CODER_PG_CONNECTION_URL=<external-connection-string> ` .
78
78
You can’t perform that action at this time.
0 commit comments