@@ -138,7 +179,7 @@ In order to restore Owncloud database and files from backup, it is necessary to
...
@@ -138,7 +179,7 @@ In order to restore Owncloud database and files from backup, it is necessary to
`docker-compose -f backup-odoo.yaml run --rm backup_odoo sh -c "restore --force && createdb -T template0 \$PGDATABASE && pg_restore -d \$PGDATABASE \$SRC/\$PGDATABASE.pgdump"`
`docker-compose -f backup-odoo.yaml run --rm backup_odoo sh -c "restore --force && createdb -T template0 \$PGDATABASE && pg_restore -d \$PGDATABASE \$SRC/\$PGDATABASE.pgdump"`
You can also copy production database inside test one, first delete the database from test instance (from Odoo test interface URL/web/database/manager) then change directory to /home/docker/backups and run the following command:
You can also copy production database inside test one, be careful with that command that will delete test database at first : change directory to /home/docker/backups and run the following command:
`docker-compose -f restore-odootest.yaml run --rm restore_test`
`docker-compose -f restore-odootest.yaml run --rm restore_test`