>> Fastbase Business Software Ltd
Fastbase Accounting System - Online Manual
Entered Wed, 4 Dec 2002 11:51 by Peter Campbell
The setup.dat file must have the following two entries:
The paths should be set as they would be used on the computer that is responsible for doing the backups, usually this is the file server. Use forward slashes instead of backslashes to represent directory names, eg: "c:/mysql/data/company" and "c:/fbase/backup".
Configure Daily Backup
Create a file which is acessible on the computers path called "fbbackup.bat", eg: create this file in C:\WINDOWS (if editing the file with wordpad then make sure it is saved as type
The file should look like this:
Run the following command from the "cmd" prompt, this will create an entry in the computers scheduler to run the backup at 10pm every Monday-Friday (NT class computers).
To schedule the backup to run on a UNIX server edit the cronjob file for a user with sufficient rights to access the database directory and backup destination directory.
Example crontab entry (this backs up the database at 11pm):
Additional Backup Notes
When the backup script is run and a successful backup is completed FastBase records the date/time in the SYSTEM file.
When a user exits FastBase the system checks if the computer can do a backup (by checking that the backup source and destination directories exist). The system then checks when the last backup was completed, if it is more than 24hrs ago the computer asks if you want to do a backup now. This option would not normally appear to the user as the system would be backing up automatically late at night.
When a user logs into FastBase the system also checks the last backup date. If this is more than 7 days ago your are strongly warned to complete a backup now. An email notification is also sent to your FastBase support staff.