User:Jtraulle/DiscourseMigration: Difference between revisions

m
(Added a note about FQDN requirement.)
Tag: 2017 source edit
Tag: 2017 source edit
Line 493: Line 493:
====Use <code>pg_dump</code> to dump the database====
====Use <code>pg_dump</code> to dump the database====


Below syntax assumed that a custom pgsql account has been created prior to running the command (following [[#Allow PostgreSQL to be accessed from an external application]] section instructions).
Below syntax assume that a custom pgsql account has been created prior to running the command and that port 5432 of PostgreSQL is correctly forwarded from the container to the host (following [[#Allow PostgreSQL to be accessed from an external application]] section instructions).


The command is executed from the host.
The below command is executed from the host.


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">