GDBM_DUMP(1)
β¨ GDBM_DUMP β bestie's guide to yeeting a GDBM database into a file β¨
okay so real talk, this is gdbm_dump, and it lives in the GDBM User Reference corner of your manual, and honestly? it's giving backup queen π
π NAME π
gdbm_dump β dump a GDBM database to a file
πΈ SYNOPSIS πΈ
gdbm_dump [-H FMT] [--format=FMT] DB_FILE [FILE]
gdbm_dump [-Vh] [--help] [--usage] [--version]
π¦ DESCRIPTION π¦
so the gdbm_dump utility makes a dump of the gdbm(3) database file you point it at, no cap. the name for the output dump file comes from the second argument, FILE. and if you don't give it one? the output just goes to the standard error. yes, standard error, we don't make the rules π«
the dump it creates can be handed straight to the gdbm_load(1) utility, and that's how you re-create an exact copy of the DB_FILE. iconic behavior, truly.
π OPTIONS π
-H,--format=FMTβ pick your dump format, bestie. the valuebinary(or0) tellsgdbm_dumpto produce a binary dump, compatible with earlier gdbm versions (up to version 1.9). the valueascii(or1) tells it to create an ASCII dump, and that one is the default. the ASCII one is the preferred one because, apart from the actual data, it also carries meta-information that letsgdbm_load(1)recreate an exact copy of the file. main character format fr fr.-h,--helpβ prints a short usage summary. the little snack-sized version π--usageβ prints a list of available options.-V,--versionβ prints the program version.
π SEE ALSO π
gdbm_load(1), gdbmtool(1), gdbm(3).
for a detailed description of gdbm_dump and other gdbm utilities, go look at the GDBM Manual, which is available in Texinfo format. to access it, run:
info gdbm
the documentation is also available online at
https://www.gnu.org/software/gdbm/manual
and hey β should any discrepancies occur between this manpage and the GDBM Manual, the latter shall be considered the authoritative source. so if they disagree, the manual wins. periodt. π
π REPORTING BUGS π
report bugs to <bug-gdbm@gnu.org>. they wanna hear about it, fr.
π COPYRIGHT π
Copyright Β© 2013-2025 Free Software Foundation, Inc License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
okay that's the whole thing, bestie π this page is from the GDBM manual, dated March 6, 2025, and it's GDBM_DUMP(1) β go dump something cute, slay β¨π¦π
π¦ where this page comes from
- alpine 3.23: gdbm-doc 1.26-r0 Β· GPL-3.0-or-later
- alpine 3.24: gdbm-doc 1.26-r0 Β· GPL-3.0-or-later
- arch rolling: gdbm 1.26-2 Β· GPL-3.0-or-later
- centos-stream 10: gdbm 1:1.26-15.el10 Β· GPL-3.0-or-later
- nixpkgs unstable: gdbm 1.26
- ubuntu questing: gdbmtool 1.26-1
- ubuntu resolute: gdbmtool 1.26-1build1 Β· GPL-3.0-or-later
- ubuntu stonking: gdbmtool 1.26-1build1 Β· GPL-3.0-or-later
- Copyright (C) 2013-2025 Free Software Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms