How to unload model via command line for backup purpose.
Open CMD and point to the Corporate Modeler BIN directory
C:\Program Files (x86)\Casewise\CM10\bin
Then add the following command: (note do not copy and paste)
Unload a Specific model:
Load.exe -Unload -connection:Stand-Alone -username:ADMIN -password:”mypassword” -DB:CWFREX09 -To:C:\Model\CWFREX09.mdb –ReplaceTarget
Unload ALL models from DB:
Load.exe -Unload -connection:Stand-Alone -username:ADMIN -password:”mypassword” -all
-connection:Stand-Alone : the name of you connection as you see in the logon screen.
-username:ADMIN : a Corporate Modeler system manager user
-password:”mypassword”: the password of the Corporate Modeler SM user.
-DB:CWFREX09 : the file name of the Model you are unloading/loading ( Control database is always CWADMN09)
-To:C:\Model\CWFREX09.mdb: the path of the MDB file you want to save the files.
–ReplaceTarget: always use this as it will replace what is in the repository