SourceKettle / sourcekettle

SourceKettle is an open source project management and source code management tool
17 stars 6 forks source link

Export/import functionality for projects #256

Open antineutron opened 11 years ago

antineutron commented 11 years ago

I'm thinking it would be useful to have something like this, partly for doing a manual backup of a repository and partly for moving projects between DevTrack installs. I'm thinking it should be a single tar.gz or zip file containing:

The import process would then be:

A very basic "Dump project without primary keys" would be handy for doing a transfer from installation A to installation B.

antineutron commented 11 years ago

Just thought of something: all the stuff contained "within" a project - project details, tasks, time, milestones, etc - can be easily exported and imported as a single unit. However, anything that involves users - user details, history, who logged time, task assignments etc - is "site-wide" and doesn't fit neatly into a self-contained "project dump".

Notes and ideas:

I'm thinking this could be used partly for backup/restore functionality, partly for convenience (one big dump of the whole thing for the project admin to do... things with) and partly for moving/copying entire projects between servers (e.g. copy projects from the live system to the dev system so you can test upgrading devtrack).

antineutron commented 11 years ago

Also, if we can make sure all our URLs use some unique non-primary-key field, that means that throwing away primary keys should make no functional difference to the system at all, making dump/restore much easier :-)