jlu-ilr-hydro / odmf-docker

Container environment for ODMF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build an extra container for database backup

philippkraft opened this issue · comments

That backup container is also responsible for restoring

Container is working.

Problem:

The backup should be usable to facilitate schema updates, hence the schema is created during setup. So backup is done with

pg_dump -a

But: Restore must be done in the right order of tables, pg_dump does not check that. The new odmf tables command
creates a table list in the right order (dependency wise). The backup container can not execute odmf tables. A not working try for tablewise backup and restore is in db_backup and db_restore