Export to git from docker-compose

Describe the problem

Hi

i need to transfer baserow with schema to another host with git
Im using docker-compose to self-host and tried to move docker volume(docker cp), docker export and baserow export.

Docker volume transfering doesnt work
Can you show docker-compose configuration or any other way to transfer baserow with git?

Hi @Vadim,

It is not very clear to me what you are trying to achieve. If you want to move your database from one server (or a machine) to another then the best course of action is to use PostgreSQL export/import tools.

You shouldn’t try to do that with Git or Docker volumes. Docker volume is just a pointer to some location where the data is stored.

Petr