gdbm_load (1) - Linux Manuals

gdbm_load: re-create a GDBM database from a dump file.


gdbm_load - re-create a GDBM database from a dump file.


gdbm_load [-Mnr] [-b NUM] [-c NUM]
    [--user=NAME|UID[:NAME|GID]] FILE [DB_FILE]                         

gdbm_load [-Vh] [--help] [--usage] [--version]


Create a gdbm database file DB_FILE from the dump file FILE. If the FILE argument is not supplied, output the created database to the standard error.

If the input file is in ASCII dump format, the mode and ownership of the created database are restored from the information in the dump. This can be overridden using the command line options (see below).


-b, --block-size=NUM
Sets block size.
-c, --cache-size=NUM
Sets cache size.
-M, --mmap
Use memory mapping.
-m, --mode=MODE
Set database file mode (octal number).
-n, --no-meta
Do not attempt to restore database meta-data (mode and ownership).
-r, --replace
If the database exists, replace records in it.
-u, --user=NAME|UID[:NAME|GID]
Set file ownership.
-h, --help
Print a short usage summary.
Print a list of available options.
-V, --version
Print program version


Report bugs to <bug-gdbm [at]>.


Copyright © 2013 Free Software Foundation, Inc
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.


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

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

  info gdbm