Today we will look at automating the backups on ARIS with step by step instructions as well as a Windows batch file to run the task on a scheduled basis.
The backup scripts available will create a new folder in the backup folder with today’s date. All of the backups will then be placed in the date folder. This way you can have backups for every day without having to overwrite the previous day’s backup.
The instructions provided will work for ARIS 7 and ARIS 9. There are a few differences between the two that we will highlight.
Steps to follow:
- Copy the batch file to the correct folder.
- Configure the batch file to fit your environment and settings.
- Configure the Windows scheduler to automate the running of the batch file.
- Access to the ARIS server
- Basic batch file knowledge
To start off, you need to answer these questions:
- What is the server name?
- Where should the backups be saved? This location on the server or shared drive needs to be created before using the backup script.
- What port is configured for the server? (ARIS 9 only)
- The tenant? (ARIS 9 Only) – normally “default”
- Username and password to use. (ARIS 9 only)
Location for the batch file:
- ARIS 9:
[ARIS Install folder]\ARIS9.5\tools\ArisAdm
- ARIS 7:
[ARIS Install folder]\ARIS7.2\JavaClient
Step 1: Copy the batch file to the appropriate folder
Download and unzip the batch files and copy the batch file for your ARIS version to the correct folder as shown above.
Download here (registration required)
Step 2: Configure the batch file to fit your environment and settings
Depending on your ARIS version you will need to configure the batch file with the information provided in the answers to the questions above. The date will be set using the format configured on the Windows settings. You can override the format by using the examples provided in the batch file (you will need basic Batch file skills).
Edit the .bat file using a text editor like Notepad. Insert the values for your server environment in the section
======CHANGE THESE SETTINGS======
After changing the settings I recommend that you test your settings by running the batch file in the command prompt so that you can see the output and any possible error message it might have.
Step 3: Configure the Windows scheduler to automate the running of the batch file
You can then add the batch file to the Windows Task Scheduler at the required interval.