carta
gdbm_load-nolfs(1)

gdbm_load-nolfs1

Re-create a gdbm database from a dump file.

Usage

gdbm_load [-Mnr] [-b NUM] [-c NUM] [-m MODE] [{-u NAME | UID [{:NAME | GID}]}] [--block-size=NUM] [--cache-size=NUM] [--mmap=NUM] [--mode=MODE] [--no-meta] [--replace] [{--user=NAME | UID [{:NAME | GID}]}] FILE [DB_FILE]

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

Overview

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).

Options

-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.

--usage

Print a list of available options.

-V, --version

Print program version

History

  • Debian 12 (Bookworm): the text shown here
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)

Reporting bugs

Report bugs to <[email protected]>.

From gdbmtool 1.23-3 in Debian 12 (Bookworm). Parsed by carta from the page's man source.