Skip to content

Instantly share code, notes, and snippets.

@selimb86
Last active May 6, 2021 12:41
Show Gist options
  • Save selimb86/da6ebcfaf23f1d6ce8af2b4ef5d3dc9e to your computer and use it in GitHub Desktop.
Save selimb86/da6ebcfaf23f1d6ce8af2b4ef5d3dc9e to your computer and use it in GitHub Desktop.
odoo-commands-restore-db
createdb -O odoo_dbuser db_name
pg_restore -v -U odoo_dbuser -Fc -d db_name your_dump.dump --no-owner -W
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment