Skip to content

Commit

Permalink
Docs: add -U flag to PostgreSQL database backup command (#5550)
Browse files Browse the repository at this point in the history
  • Loading branch information
sphuber authored Jun 21, 2022
1 parent 46d244e commit 25265ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/howto/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ To determine what storage backend a profile uses, call ``verdi profile show``.

.. code-block:: console
pg_dump -h <database_hostname> -p <database_port> -d <database_name> -W > aiida_backup.psql
pg_dump -h <database_hostname> -p <database_port> -d <database_name> -U <database_username> -W > aiida_backup.psql
The ``-W`` flag will ensure to prompt for the database password.
The parameters between brackets should be replaced with the values that have been configured for the profile.
Expand Down

0 comments on commit 25265ef

Please sign in to comment.