|
Backup for AyaNova network Firebird Server configuration |
Top Previous Next |
|
It is always recommend to read through all instructions first before proceeding.
****************************************************************************
Never make a direct copy of the AyaNova database file with the Firebird 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 per the information provided below
****************************************************************************
Included in the AyaNova program folder is the sub-folder Examples that has an example batch file called networkFirebirdsnapshot.bat
C:\Program Files\Ground Zero Tech-Works Inc\AyaNova\examples
This file (once edited to reflect your information) creates a snapshot file of the AyaNova database file every time it is run.
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.
The first time the 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.
Direct your backup process to backup all the snapshot files in the backup folder.
Or direct your backup process to backup just the AYANOVA.FBK snapshot as that will be the latest snapshot.
NOTE: It is suggested that you create a Scheduled Task to run the batch file (once it has been edited to reflect your information) just prior to the backup process occurring, so your backup process backs up the latest snapshot each time.
Editing the snapshot creation file
Testing the snapshot creation file
CD C:\Program Files\Ground Zero Tech-Works Inc\AyaNova\examples
networkFirebirdsnapshot.bat
Creating a Scheduled Task to auto-run the snapshot batch file
|