Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: database backup #5521

Closed
mkotiuga opened this issue May 9, 2022 · 0 comments · Fixed by #5550
Closed

Docs: database backup #5521

mkotiuga opened this issue May 9, 2022 · 0 comments · Fixed by #5550

Comments

@mkotiuga
Copy link

mkotiuga commented May 9, 2022

The instructions to export the entire database currently are:

pg_dump -h <database_hostname> -p <database_port> -d <database_name> -W > aiida_backup.psql

which does not work if the username of the profile is not the same as the username of the terminal session. It would be helpful if the -U <database_username> flag was included in the instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant