Restoring corrupted database
Applicable to:
TimeGuard Network | TimeGuard Pro
Compacting the database: Restoring a database backup In the remote event of database corruption, you can restore the latest
database backup and resume business quickly. If TimeGuard cannot start, follow this
procedure:
Database backup
mechanisms
Automatic database backup
mechanism:
TimeGuard automatically creates backups of the
database. TimeGuard also compacts and repairs the database regularly to ensure
that it's in top condition. The backups directory is normally located in the
database directory, however, you can specify a different path.
Note: the path must be visible to all the
stations.
When TimeGuard is used, a new copy of the database
is created about every 2 hours. There are 3 backups for the current
workday, and additional backups for the last 7 (or more) workdays,
depending on TimeGuard's usage. TimeGuard automatically refreshes the backup
files on a regular basis. The first backup file in, is the first backup
file out (FIFO).
Manual database backup:
It is recommended to backup the database to
a safe location from time to time, preferably to another PC or external storage
device.
To backup the database manually perform the following steps:
TimeGuard compacts the database if at least one station is turned ON, and the
database is not accessed by any station for at least one hour.
It is also
recommended to compact the database manually every week or two.
To
compact the database manually open the 'Managers Tools' window, and under
the 'Edit' menu select 'Compact And Repair Database...'.
Before compacting
the database make sure that TimeGuard is not used by any user.
Note: Before doing any database operation, it is highly
recommended to make a full copy of the current database, and the database
backups directory.
If
TimeGuard is able to start normally, follow this
procedure:
(If you
are NOT using TimeGuard over a network, it would most liekly
be in:
'My
Documents\TimeGuard 4\Backup_Db')
(Note: The name of the backups
directories shows their chronological order).