URL: http://www.firstbasesoftware.com/man/man8/dbdump.htm
Last modified: 12 September 1995
Copyright © by FirstBase Software.
[ Index of Contents] [ FirstBase RDBMS Overview]


NAME

DBDUMP - backup a FirstBase database to disk.

SYNOPSIS

DBDUMP database

DESCRIPTION

DBDUMP is a shell script that copies a database to the disk in case it later needs to be used for a dbrestor(8) operation. Ideally, a restore is never needed -- but, if the computer fails during an update from dbedit(1), the database can be left in an unknown state. This is referred to as a "dirty" database.

DBDUMP is used to copy a database and its map file to another area of the hard disk. The database and its map are renamed to dbase.BKfirstbase and dbase.BKmap, where dbase is the base name of the database.

It is a good idea to use dbcheck(8) on the database before using dbdump(8) to insure that a good database is being saved. Note that the backed up database map must be kept intact for dbrestor(8) to work properly. It is not acceptable to merely copy the database, and dbclean(1) it before using dbrestor(8).

This script could easily be changed to use tape backups if desired.

FILES

*.cdb
FirstBase database.

*.map
record map of FirstBase database.

*.BKcdb
dumped FirstBase database.

*.BKmap
dumped map of FirstBase database.

SEE ALSO

cp(1), firstbase(5), dictionaries(5), dbrestor(8)

FirstBase User's Guide and Reference Manual


URL: http://www.firstbasesoftware.com/man/man8/dbdump.htm
Last modified: 12 September 1995
Copyright © by FirstBase Software.
[ Index of Contents] [ FirstBase RDBMS Overview]