Instructions for Changing the Backup Directory

The backup scripts create the backups to the directory that is specified with environment variable APP_BACKUP_ROOT. The setting is given during the installation time of RTDB.

The setting should refer to a directory that is available for all processes of the system (specifically, for the RTDB-Scheduler service). An UNC path is also OK, but verify that the RTDB-Scheduler service runs under user
account that has write access to the directory.

The backup scripts use the following subdirectories within this folder:

  • Onlinecopy
  • Backup
  • Essential Backup

To Change this setting perform the following steps.

📘

All commands should be executed with elevated privileges.

  1. Copy the contents of old location to the new location, by this way the incremental backup for Onlinecopy does not need to make the backups of unmodified tables again.
  2. Replace the parameter of ANS_P_BACKUP_ROOT to the new location with old location in the file Setup_Answers.bat under path %app_root%\setup\.
    notepad "%app_root%\setup\Setup_Answers.bat"
  3. Make Similar changes to the file APP_DefEnvironment.BAT under path %app_root%\config\application\, Replace the parameter of ANS_P_BACKUP_ROOT to the new location with old location.
    notepad "%app_root%\config\application\APP_DefEnvironment.BAT"
    Save the file and execute it.
    "%app_root%\config\application\APP_DefEnvironment.BAT"
  4. Restart the RTDB-Scheduler service, so that it sees the new APP_BACKUP_ROOT setting.