Thursday, January 03, 2008
Relocating Teamwork data
We are buiding a new powerful functionality: in Teamwork it will be possible to export all or some area's data to a zipped archive, and to import it in another Teamwork instance, just through the web interface. For example, this will allow to move data from online to a local installation; to move data from one database to another, to have a backup etc. .
Technically, we'll do it as follows: you need a Hibernate Factory clone, on its own dialect/connection, but with the same persistent entities, which will loop through the persisted instances, saving them in a temporary Hsqldb instance, and ten zip the resulting script. Vice-versa for the import.
Technically, we'll do it as follows: you need a Hibernate Factory clone, on its own dialect/connection, but with the same persistent entities, which will loop through the persisted instances, saving them in a temporary Hsqldb instance, and ten zip the resulting script. Vice-versa for the import.
Labels: export import data, hibernate clone