Hello ARIS lovers!
Recently we are trying to define a automatized procedure to backup all our ARIS server objects (DB's, filters, querys, etc)
We try using ARIS Admin Tool in non interactive mode, but after try the MS-DOS command:
>arisadm71 server <server IP> SITEADMIN
Yes, we still use the default password :P, but after input the command, the connection doesn't seem to be working (even, i don't receive any error message or so)
The response always came with:
'ARIS Server Administrator, Copyright ©& 2009 IDS Scheer AG' (no quotes)
However, when we use the interactive mode of Admin Tool, everything works right...
I have been looking for use examples or some kind of manuals but until now i cannot resolve my issue...
So, there is someone who already use non interactive mode ARIS Admin Tool to programa automated backups of the ARIS server objects?
Thanks in advance for you attention!
Hi Rodrigo,
Have you looked at the backup utility you can find on the ARIS CD? Here is the Batch file contents:
@echo on
REM
REM Backup script for automated export of ARIS databases on an ARIS server
REM
REM (C) 2011 by Software AG
REM ******************
REM *** Variables ***
REM ******************
Rem *** Backup directory for ARIS databases
SET BACKUPDIR=c:\ARIS7.2\DBBackup
Rem *** Directory with ARIS Installation
SET ARISDIR=c:\ARIS7.2\javaclient
REM *** SITEADMIN password
SET SITEADMIN=SITEADMIN
REM *** DBADMIN password
SET DBADMIN=DBADMIN
REM *** CFGADMIN password
SET CFGADMIN=CFGADMIN
REM *** Set command name of ARIS Admin Tool
SET ARISADM_CMD=ArisAdm72.exe
REM ***************
REM *** ACTION ***
REM ***************
REM *** Delete old backup directory with subdirectories ***
del /S /Q %BACKUPDIR% >%BACKUPDIR%\delete.log
md %BACKUPDIR%
REM *** Change into ARIS directory ***
REM ***
cd /d %ARISDIR%
REM *** Do an export of all databases into the BACKUPDIR ***
%ARISADM_CMD% -l %BACKUPDIR%\arisbackup.log -s localhost -pa %SITEADMIN% -p %DBADMIN% backup all %BACKUPDIR%
REM *** Do an export of the config database into the BACKUPDIR ***
%ARISADM_CMD% -l %BACKUPDIR%\arisbackup2.log -s localhost -pa %SITEADMIN% -pc %CFGADMIN% backupconfig %BACKUPDIR%
REM *** Cleanup environment ***
SET BACKUPDIR=
SET ARISDIR=
SET DBADMIN=
SET CFGADMIN=
SET SITEADMIN=
REM *** Now the standard backup software can backup *.adb, *.acb files in BACKUPDIR ***
Hope it helps
Regards,
Francois
Thank you Francois, i didnt know there was a utility file with all the backup commands on ARIS CD.
Actually it works perfectly but, only works on a local enviroment (the cmd must be executed on the same machine wich the server is running), it seems isn't possible to make this can work on a remote machine.
Thanks again.