How to backup Fresh Reader
We recommend you to backup data of Fresh Reader when you move you Fresh Reader to the other environment or upgrade it. And, you had better to backup data periodically.
Where does Fresh Reader put data?
All data are stored in (Installation directory)/db directory/folder.
Basically, you just copy the directory to the other directory, and backup is done.
cf. The Folder/Directory Tree of the Fresh Reader
Restore backuped data
You just copy the backuped data to (installation directory)/db directory/folder.
Backup on Windows
Manual Backup
Just copy (installation folder)\db to (backup folder)\db with using Explorer, or using command line as the following,
- [Start ] - Run... and, type cmd and return,
- type the following command,
> xcopy (installation folder)\db (backup folder)\db\ /D /S /E /H /C /Y /R
Periodical Backup
You can enable the server to backup data automatically with 'Scheduled Task' of Windows.
- Prepare a batch file as the following,
- Add a scheduled task which executes the batch file
xcopy (installation folder)\db to (backup folder)\db\ /D /S /E /H /C /Y /R >> (backup folder)\log
Backup on other than Windows
Manual Backup
Type the following,
% cp -r (installation directory)/db (backup directory)/db
Periodical Backup
You can enable the server to backup data automatically with cron.
- Create a shell script, for example, named /usr/local/bin/backup-freshreader.sh like this,
- Allow the script execution,
- Register the script on cron,
date >> (backup directory)/log cp -r (installation directory)/db (backup directory)/db 2>> (backup directory)/log
% chmod 700 /usr/local/bin/backup-freshreader.sh
% crontab 5 4 * * * /usr/local/bin/backup-freshreader.sh ^D


