History Server Section 5 Maintenance and Administration
74 2PAA107563-600 B
7. To restore RTDBData Directory, do the following:
a. Navigate to E:\EssentialBackup folder and choose the latest available
backup, unless it is known that a better backup can be made use of, like
WeekDay7, Day9 and so on.
b. Run the following command in cmd editor.
robocopy/E e:\EssentialBackup\day9 "%app_datapath%"
/copyall /xf *.table*
c. If RDTB services are not stopped, then Double-click Stop_RTDB.bat file
to stop RTDB services from the location Desktop> RTDB Control Panel>
Starting and Stopping.
d. From E:\Onlinecopy folder, double-click
PrepareOnlineBackupForRestoration.bat to execute it. A pop-up
appears, which provides instructions to restore the backup.
e. Let the command complete the restoration procedure. This may take some
time based on the database size. After completion, SUCCESS message
appears on the cmd editor.
8. Open RTDB Control Panel folder from Desktop and double-click to open
Starting and Stopping folder.
9. Double click Start_RTDB.bat.
10. Type Y in the pop-window and click Enter. A message stating RTDB Services
Started will appear. Press any key to exit.
It may take some time for the Database to initialize and return to normal running
state.
To verify that the database is returned to normal running state:
1. Go to Start > Run and enter Taskmgr.msc to open Windows Task Manager.
2. Check for the process RTDB_Scandb.exe. This process verifies the states of
all the tables in Database and if there are any problems, it fixes the tables
automatically.
After this process exit from Task Manager, the Database comes into Normal
Running State. This completes the recovery of the History Server Node Database in
case of Database Disk Failure.