InnoZ / MAS

analysis and (potentially) development of a multi-agent simultation for carsharing
Apache License 2.0
0 stars 0 forks source link

Tool to generate dump of local modelling data #50

Closed 00Bock closed 7 years ago

00Bock commented 7 years ago

Tool to automatically create a dump of local modeling data of some sort to work or run a showcase of-line. Is that a difficult task? @dhosse

wese-da commented 7 years ago

Yes and no. As I stated before, the JDBC adapter in Java enables database operations through query execution. This is a bit cumbersome for dumping a whole database because you can't just "pg_dump" everything unfortunately. The JDBC adapter is the best tool if you want to extract rows from a specific table.

In my opinion, the easiest way would be to provide a shell script that dumps the databases we need and pipes the output stream to the local machine on which we want to set up a local database.

wese-da commented 7 years ago

I put a suggestion for a shell script into the "dbmigration" module: d242f5b2fb38e167a38d4fff37abc79742b574d9

00Bock commented 7 years ago

now covered with the geojson export?