metadb
.
metadb
metadb_new
:
postgres
.metadb
to metadb_old
:
metadb_new
to the metadb
, which will serve as the new metadata db:
metadb2
metadb
to metadb2
first, which means to transfer
the change history to metadb2
.
Locate the migration_history
table in the dump file, and for each record, find the value metadb
which corresponds to the namespace
column, change each occurrence from metadb
to metadb2
.
metadb2
metadb2
:
--data
directory or the pgdata
subfolder.