We now have new tasks for dumping a database and loading it again.
Sample calls:
nant dumpDatabase -D:OutputDB.file=tmp/testmysql.sql
nant loadDatabase -D:LoadDB.file=tmp/testmysql.sql
Please note that this only works for one database system, so it is not intended to convert data from PostgreSQL to MySQL etc. We have the yml Export and Import for that inside OpenPetra, in System Manager.
These Dump and Load tasks are intended to help with development, exchanging test databases between developers, and quick reverting to a given state of the database for testing.