Book a Demo

Author Topic: How to export the model to an .eap file  (Read 5069 times)

Mintra

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
How to export the model to an .eap file
« on: March 10, 2022, 03:08:57 am »
Hello,

I found the option to export the whole model to an XML file, but how do I export to the .eap file?
The reason is I am trying to back up the updates for the model.

Thank you,
Mintra

wivel

  • EA User
  • **
  • Posts: 243
  • Karma: +12/-1
  • Driven by Models
    • View Profile
Re: How to export the model to an .eap file
« Reply #1 on: March 10, 2022, 03:20:50 am »
Hi Mintra

In EA terms, you don't export to an EAP file, you transfer to it. Model transfer between different database technologies are done using 'Project Transfer' (Configure -> Transfer -> Project Transfer ...), and in your case, you choose your EAP file as the desination. As source you choose the model database you wish to back-up
.
I assume you are on 15.x. If not, 'Project transfer...' might be hidden somewhere else  :)

Henrik

Mintra

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: How to export the model to an .eap file
« Reply #2 on: March 10, 2022, 03:30:28 am »
Thank you, Henrik. I am new to Sparx. Your response is very helpful.

It is asking for the source, how can I identify the source if I need everything from the existing model?

Any online training course recommended would appreciate.
« Last Edit: March 10, 2022, 03:37:54 am by Mintra »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: How to export the model to an .eap file
« Reply #3 on: March 10, 2022, 03:40:18 am »
Can you tell what you want to export and for what purpose? Transfer is not Export.

q.

Mintra

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: How to export the model to an .eap file
« Reply #4 on: March 12, 2022, 03:55:05 am »
Hi qwerty,

It is for backing up purposes.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: How to export the model to an .eap file
« Reply #5 on: March 12, 2022, 07:52:35 am »
In that case you don't need an export. Just compress the eap (Config/...somewhere in the menu jungle; currently without a Windoze) and save the (zipperd) eap. If you're on a real database use whatever backup mechanism they have.

q.

wivel

  • EA User
  • **
  • Posts: 243
  • Karma: +12/-1
  • Driven by Models
    • View Profile
Re: How to export the model to an .eap file
« Reply #6 on: March 14, 2022, 09:59:06 pm »
In that case you don't need an export. Just compress the eap (Config/...somewhere in the menu jungle; currently without a Windoze) and save the (zipperd) eap. If you're on a real database use whatever backup mechanism they have.

q.
Agree. I assumed that the main repository was on SQL server, but if it is not, the easiest way is to:
1. Compress the EAP/EAPX file from within EA (Configure -> Integrity -> Manage .EAP/.EAPX File -> Compact .EAP/.EAPX file...)
2. Make a copy of the EAP/EAPX file
3. ZIP it to save storage

I usually rename the zipped afterwards, adding the backup date as a prefix to the EAP/EAPX file name. That way it can be used as simple baselining e.g. everytime you release a new version of your model.

Henrik