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.
- 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.
- Replace the parameter of
ANS_P_BACKUP_ROOTto the new location with old location in the fileSetup_Answers.batunder path%app_root%\setup\.notepad "%app_root%\setup\Setup_Answers.bat" - Make Similar changes to the file
APP_DefEnvironment.BATunder path%app_root%\config\application\, Replace the parameter ofANS_P_BACKUP_ROOTto the new location with old location.Save the file and execute it.notepad "%app_root%\config\application\APP_DefEnvironment.BAT""%app_root%\config\application\APP_DefEnvironment.BAT" - Restart the RTDB-Scheduler service, so that it sees the new APP_BACKUP_ROOT setting.
Updated 5 months ago
