Forums/Mingle Community & Support/Mingle Knowledge Base

To export or import all the Mingle projects

Arun Kumar
posted this on February 23, 2011 23:42

This tool can be found in <MINGLE_HOME>/tools directory where <MINGLE HOME> is the directory where Mingle is installed.

To use this tool please follow the instructions in the <MINGLE_HOME>/tools/export_import/readme.txt.

        As outlined in readme.txt if using this tool to migrate from one database to another you should:
  • complete the Mingle installation process using the new database settings in their entirety, including creation of an initial user, before running this tool
  • license the new instance
  • create any users who are not associated with a project manually, using Mingle, as they will not be imported with the projects
  • review the templates after the import has completed to remove any duplicates of the standard templates that may have been installed
     

The tool can be used to export all projects on any database and therefore, if you wish to easily export all projects for archive purposes this tool can be used

 

Comments

User photo
Ashraf Yassin

I don't have a tools directory in my Mingle Home directory. What does that mean?

March 22, 2011 18:02
User photo
Arun Kumar
ThoughtWorks Studios

What version of Mingle are you running? ( You can get this information by clicking on the "About" link at the bottom of any Mingle page)

Also could you please list all the sub-directories that you find under <MINGLE_HOME>.

March 22, 2011 18:27
User photo
Ashraf Yassin
Version
3_3
Revision
22830_6f5211011b6d
Ruby platform
java
Java version
1.6.0_07-b06
Operating system
Windows Server 2008


Subdirectory under mingle home:
  1. activemq-data
  2. config
  3. public
  4. tmp


March 23, 2011 17:22
User photo
Arun Kumar
ThoughtWorks Studios

Hi Ashraf,

You are looking at the Mingle Data Directory. Could you please look at the Mingle installation directory. You should find the tools directory.

Thanks,
Arun

March 23, 2011 17:37
User photo
Ashraf Yassin

My bad. Didn't realize that there is another folder for Mingle. Thanks for pointing it out. The readme file warns that:

 

"This tool only works with Mingle 3.2. This tool is not guaranteed to work as expected with earlier or later versions of Mingle"

 

I am on Mingle 3.3. does that mean that it is not recommended to use this tool? Also, the file mentions that using this tool is helpful when migrating from one DB to another. I was thinking I could use this tool to backup my mingle projects on a daily basis. Is that a good idea? If not, what is the best way of backing up my project (both project layout/structure and database)? I need to be able to setup automatic daily backups. my database is Postgres

 

Please advice.  Thank you!

March 23, 2011 17:59
User photo
Arun Kumar
ThoughtWorks Studios

You can use the tool on Mingle 3.3. This is a documentation bug and we have made a note of the same. The documentation will updated to indicate the latest release. You can certainly use the tool to backup your projects.

Thanks,
Arun

March 23, 2011 22:03