|
Backup for AyaNova network Firebird Server configuration |
Top Previous Next |
|
****************************************************************************
Never make a direct copy of the AyaNova database file with the Firebird Server services running.
Do not use external proprietary backup utilities or file-copying tools such as WinZip, tar, copy, xcopy, etc., to make a copy of the actual database file. Not only will the backup be unreliable, but the disk-level blocking used by these tools can corrupt a running database.
Only use the gbak utility as outlined in the snapshot batch file example it is the approved Firebird utility for making a snapshot of the Firebird database.
****************************************************************************
Below are the steps to backup the AyaNova network Firebird Server database. To avoid disappointment to read through all instructions first before proceeding.
1. Edit the sample snapshot creation file 2. Test the edited snapshot creation file 3. Create a Scheduled Task to auto-run the snapshot creation file 4. Confirm that the snapshot creation file creates the Firebird Server database backup file 5. Backup the snapshot file to your backup device
1. Editing the snapshot creation file
When you installed AyaNova onto your server selecting the network installation (which you would have selected to install the network Generator, etc), it installs a number of example config files and the example snapshot batch file to the folder C:\Program Files\Ground Zero Tech-Works Inc\AyaNova\examples. This snapshot batch file is to be edited so that it creates a "snapshot" of your AyaNova database, and it is this snapshot file that is actually backed up and restored from - never the AYANOVA.FDB database file itself.
2. Testing the snapshot creation file The first time the snapshot batch file is run, it creates a snapshot file AYANOVA.FBK
The second time it is run, it renames the first to AYANOVA02.FBK and creates a new snapshot file AYANOVA.FBK
The third time it is run, it renames AYANOVA02.FBK to AYANOVA03.FBK, renames the AYANOVA.FBK to AYANOVA02.FBK, and creates a new snapshot file AYANOVA.FBK and so on
Once 10 snapshots have been created, it will delete the oldest snapshot, shuffle renaming the existing and create a new snapshot, and so on.
There is no need to have users out of the AyaNova database to create this snapshot. The provided batch file (once edited with your information) takes a snapshot of the state of the database at the moment it starts, so users can continue working while a backup runs, allowing 24x7 operation.
NOTE: Only this utility can be used to create a snapshot of the live AyaNova database. And it’s the snapshot file that is to be backed up – never the actual live database file.
CD C:\Program Files\Ground Zero Tech-Works Inc\AyaNova\examples
networkFirebirdsnapshot.bat
3. Creating a Scheduled Task to auto-run the snapshot batch file
4. Confirm that the snapshot creation file creates the Firebird Server database backup file
As with any backup, it is recommended that you confirm on a regular basis that the snapshots are actually being created
5. Backup the snapshot file to your backup device (i.e. FTP, CD, REV, backup tape, etc)
As with any backup, it is recommended that you confirm on a regular basis that your backup process is backing up the snapshots |