exportDBmapper is a QGIS 3 plugin to map export between PostgreSQL database and GPKG file. It consists of a mapping editor and processings in the toolbox.
The mapping editor will allow you to define your export between PG database and GPKG file. There is two tabs in the mapping editor dialog. The first one is used to map export from PG database to GPKG file. The second is used to export GPKG to PG database. Each process will produce a YAML file with your parameter. It is possible to import the YAML file in the dialog to modify an existing export configuration.
PG to GPKG mapper
Append to an existing GPKG option will allow you to add table to an existing GPKG file instead of erasing the initial GPKG file.
GPKG to PG mapper
There is two processing in the toolbox.
Each processing take a YAML file as input, and process the export.