This tool takes care of two-way synchronization between Mergin Maps and another database (currently supporting PostGIS).
That means you can:
- insert / update / delete features in PostGIS database - and the changes will get automatically pushed to a configured Mergin Maps project
- insert / update / delete features in a GeoPackage in Mergin Maps project - and the changes will get automatically pushed to the PostGIS database
There are three steps to get DB Sync up and running:
-
Install the tool. See the installation guide
-
Set up YAML configuration file. See Using DB Sync.
-
Run the tool. There are several parameters to control the way the tool runs (see Using DB Sync)
Not sure where to start? Check out our quick start guide to set up sync between your database and a new Mergin Maps project.