Settings for the Login page| Up| RSS feeds provided by Fresh Reader

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,

  1. [Start ] - Run... and, type cmd and return,
  2. type the following command,
  3. > 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.

  1. Prepare a batch file as the following,
  2. xcopy (installation folder)\db to (backup folder)\db\ /D /S /E /H /C /Y /R 
        >> (backup folder)\log
    
  3. Add a scheduled task which executes the batch file

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.

  1. Create a shell script, for example, named /usr/local/bin/backup-freshreader.sh like this,
  2. date >> (backup directory)/log
    cp -r (installation directory)/db (backup directory)/db 2>> (backup directory)/log
    
  3. Allow the script execution,
  4. % chmod 700 /usr/local/bin/backup-freshreader.sh
    
  5. Register the script on cron,
  6. % crontab
    5 4 * * *        /usr/local/bin/backup-freshreader.sh
    ^D
    

Settings for the Login page| Up| RSS feeds provided by Fresh Reader
track feed