Firstly, open up the Microsoft Dynamics AX 2012 Server Configuration and obtain the Server name with the Database name.
Server Configuration details |
>CD \Program Files\Microsoft Dynamics AX\60\ManagementUtilities
Now, an example using the s and db switches:
AxUtil export /s:eszaractsql04\eszaractsql04 /db:zzzz_ax2012_db_prod_05_2014 /model:"VAR Model" /file:c:\temp\VARModel.axmodel
I assume that you will require access to the database, which is normally via the AOS service account.
Finally, an Error (0x80070005 E_ACCESSDENIED) can occur if we forget to add the path to the output file.