Odk_sync database not visible


I try to dump our survey database but cannot find the database inside the docker postgres container

FATAL: Database "odk_sync" does not exist.

Though it is there, we can fetch data from it.
and by the way whenever I go inside the container, there itself also the database is not available but I can query the tables via odk_sync."__ODKTABLES__TABLE_TableName.



odk_sync is the name of the database schema not the database itself. The name of the database is stored in the POSTGRES_DB environment variable of the container. The default name of the database should be postgres.