Tuesday, July 19, 2011

Backup Your AR System Workflow

You need to make sure that your AR System workflow is always secure because it is the code that you produce and you can not stand losing it any time. While we were in school, one of the mates was deleting the C code and then shouting with a fear on his face :) This is why backuping is always important in IT, whatever you develop. AR System provides you backup your workflow by exporting to the definition files. You can use the following code and put it into a Windows bat file in your PC to export all workflows. Of course you need to provide your parameters for username, password, server name and port number.
call "DefinitionExport.bat" -u <username> -p <password> -x <servername> -portnum <portnumber> -e "<servername>_Part1-%DATE%.def" -F -o "<servername>-Part1_%DATE%.log"
call "DefinitionExport.bat" -u <username> -p <password> -x <servername> -portnum <portnumber> -e "<servername>_Part2-%DATE%.def" -T -H -o "<servername>-Part2_%DATE%.log"
call "DefinitionExport.bat" -u <username> -p <password> -x <servername> -portnum <portnumber> -e "<servername>_Part3-%DATE%.def" -A -G -o "<servername>-Part3_%DATE%.log"
call "DefinitionExport.bat" -u <username> -p <password> -x <servername> -portnum <portnumber> -e "<servername>_Part4-%DATE%.def" -Q -M -B -D -N -o "<servername>-Part4_%DATE%.log"

Parameters telling which objects will be exported are explained (Integration Guide page 212).

No comments:

Post a Comment