URL: http://www.firstbasesoftware.com/man/man8/dbrestor.htm
Last modified: 12 September 1995
Copyright © by FirstBase Software.
[
Index of Contents] [
FirstBase RDBMS Overview]
The concept is as follows: the dumped database and its map are copied from the dbase.BKfirstbase and dbase.BKmap files back to the live files dbase.cdb and dbase.map. Then, the dbrestor(8) tool will use the database log, dbase.log, and recover the database almost to the point where the failure occurred.
Note: it is very important that the backed up database and its map are kept intact before using the dbrestor(8) script. This is due to the fact the the database log is kept using logical record numbers. Dbclean(1) would change these record numbers -- thus causing havoc and destruction during the dbrestor(8) process.
Dbrestor(8) will run dbclean(1) on the restored database once it has completed. This is used to determine accurate counts of valid and deleted records.
This script could easily be changed to use tape backups if desired.
FirstBase User's Guide and Reference Manual