Search code examples
databaseenterprise-architect

Automate backup of Enterprise Architect data


We are using Enterprise Architect for our models and it uses a database to save all of its data. We now need to have a daily "dump" of the data so that we can store it in our configuration management system. Is there an easy way to do this?


Solution

  • There is no specific built-in function for this. EA has a couple of options for version control, but they are based on packages, not the entire project.

    (Btw, using an external version control system in conjunction with a database-stored EA project is not recommended, so don't start down that path unless you are absolutely certain of what you're doing; use EA's baselines instead.)

    Dumping a project is easy to do manually using the "Project Transfer" function (under Tools - Data Management). This allows you to transfer an entire project from a database to an .EAP file (and the three other combos as well). The process typically takes less than a minute.

    This function is also available in the EA API (Project::ProjectTransfer), so if you want to automate it you can do so. In a previous job I designed and implemented a version control solution where this was one component, so it can be done and it isn't even all that hard.