Restoring a Hot Backup File (Windows/Linux)
Problem
How to restore a hot backup file.
Fix
-
Take a full backup of Zephyr first and set it aside for safe keeping
-
Stop the Zephyr server
-
Since hot backup format is compressed you will need to decompress it to get the itcc.
-
Drop the itcc.bak into the Zephyr root folder
-
Enter into mysql bin\mysql -uroot -proot (here root is the MySQL id and password)
Type:
> drop database itcc;
>create database itcc;
> quit
-
Go to MySQL database type: bin\mysql -uroot -proot itcc <../itcc.bak
-
Start the Zephyr server
This should restore the hot backup.