Skip to content

Instantly share code, notes, and snippets.

@akhdaniel
Last active August 30, 2023 16:52
Show Gist options
  • Save akhdaniel/a2a78436c5e2996988f73acb9cd70b16 to your computer and use it in GitHub Desktop.
Save akhdaniel/a2a78436c5e2996988f73acb9cd70b16 to your computer and use it in GitHub Desktop.

Backup db from odoo db manager inteface

the restore from command line:

pg_restore --format=c -U odoo -W -d <dbname> <backup_file.dump>

Backup manuyally

pg_dump -h hostname -U username -W -F c dbname >  dbname.dump
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment