Skip to content

Backup/Restore in special use case #483

Discussion options

You must be logged in to vote

@flachica First you need to backup your production database from terminal, directly from postgresql. Use database/manager is not advised if you are in production environment and as you say if bbdd gets big is useless. Ok, when you have a backup.dump you can run this inside your doodba folder:
docker exec -i 100_db_1 pg_restore -U odoo -d devel -v < /path/to/backup/backup.dump

Where '100_db_1' is the name of your db container and 'devel' is the name of database(if you follow directives and your environment is develop)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@antoniospneto
Comment options

@pleirb
Comment options

@rquevedo
Comment options

@pleirb
Comment options

Answer selected by flachica
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants