gdbm_dump - Man Page

dump a GDBM database to a file

Synopsis

gdbm_dump [-H FMT] [--format=FMT] DB_FILE [FILE]

gdbm_dump [-Vh] [--help] [--usage] [--version]

Description

The gdbm_dump utility creates a dump of the specified gdbm(3) database file.  The name for the output dump file is supplied by the second argument (FILE).  If not specified, the output goes to the standard error.

The created dump can be given as argument to the gdbm_load(1) utility in order to re-create an exact copy of the DB_FILE.

Options

-H,  --format=FMT

Select dump format.  The value binary (or 0) instructs gdbm_dump to produce a binary dump, compatible with earlier gdbm versions (up to version 1.9).  The value ascii (or 1) instructs it to create an ASCII dump (this is the default).  The latter is preferred because, apart from the actual data, it also contains meta-information which will allow gdbm_load(1) to recreate an exact copy of the file.

-h,  --help

Print a short usage summary.

--usage

Print a list of available options.

-V,  --version

Print program version

See Also

gdbm_load(1), gdbmtool(1), gdbm(3).

For a detailed description of gdbm_dump and other gdbm utilities, refer to the GDBM Manual available in Texinfo format.  To access it, run:

 info gdbm

Reporting Bugs

Report bugs to <bug-gdbm@gnu.org>.

Referenced By

gdbm(3), gdbm_load(1), gdbmtool(1).

May 8, 2013 GDBM User Reference