Backup of Objects

Using Migration Utility can be used to take the backup of all objects of Adeptia Server.
createbackup.bat (for windows) and createbackup.sh (for linux and solaris) is provided in the <InstallFolder>\ServerKernel folder. When you execute this file, it creates a zip file, which contains the backup of objects. Name of the zip file will be backup<Date><Time>.zip.
A file backup.properties is provided in <InstallFolder>\ServerKernel\MigrationUtility. This file is used to define following parameters:

  1. Folder where zip file is created
  2. Whether to backup the optional file or not


KernelApplication.log and WebrunnerApplication.log are the optional files. These file contains logs of Kernel and WebRunner.
Default backup.properties is given in Figure 57


Figure 57: Sample backup.properties file


By default the zip file is created in the folder where Adeptia Suite is installed. For example if Adeptia Suite is installed in C:\Program Files\AdeptiaSuite\AdeptiaSuite-6.1\AdeptiaServer then the backup is created in C:\Program Files\AdeptiaSuite_ _AdeptiaSuite-6.1\AdeptiaServer-6.1.
If you want to create the backup file in any other folder, then edit the <InstallFolder>\ServerKernel\MigrationUtility\backup.properties file and specify the path where you want to create the backup zip. You can specify any absolute path.

Use only forward slash (tick) in the path.


By default optional files are not included in the backup. If you want to include optional files in the backup then edit the backup.properties file and change the value of optional.files from no to yes.
 

Steps to backup the objects

  1. Make sure that the Kernel is running.
  2. In case you want to create the backup in folder other than the default folder, edit the backup.properties file and specify the path where you want to create the backup zip.
  3. Go to <InstallFolder>\ServerKernel folder in execute the createbackup.bat file.
    On Linux or Solaris, execute createbackup.sh file using following command.
    ./createbackup.sh