Database Management


WebReminder stores all event data in a file named DateList.dat .
The event data are saved every 60 seconds to this file. Before the data is written new, the old file is copied to the backup file named DateList.dat.bak . If for any reason the data file DateList.dat cannot be read, you can use the backup file by renaming it to DateList.dat.
The database file is archived once a day in the subdirectory archive with the filename containing the current date.

For additional safety the event data are exported as ASCII text to a file named export.dat every hour.
If the original event data file is damaged, you can import the event data from the export file by starting WebReminder with the parameter -i .
A database import is also required to upgrade to a new release of WebReminder.
From release 0.98x to 0.99 the format of the export file has changed. To upgrade from an exported database of release 0.98x or earlier, use the -u flag instead of -i for the import function.
You can explicitly start an export of the event data via the administrator menu or by calling WebReminder with the parameter -e .

To prevent endless growth of the database the expiration process removes the oldest notepad and calendar entries with a repeat period of daily or weekday.
The expiration process runs daily at a configurable time. Expiration can also be forced by starting WebReminder with the parameter -x .