Build an extra container for database backup
philippkraft opened this issue · comments
Philipp Kraft commented
Philipp Kraft commented
That backup container is also responsible for restoring
Philipp Kraft commented
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