SAFE-LDIF(1)
π NAME π
safe-ldif β bestie, this one verifies AND dumps an LDIF file so you can back it up π it's giving "trust but verify" energy and honestly? iconic.
β¨ SYNOPSIS β¨
ldap-git-backup [--ldif-cmd=</path/to/ldif-dump>]
ldap-git-backup --help
okay so yes, the command is literally spelled ldap-git-backup up there and not safe-ldif β no, that's not a typo I made, that's just how it is, iykyk π copy it exactly bestie.
π¦ DESCRIPTION π¦
So here's the vibe: it runs whatever command you handed to --ldif-cmd multiple times π and then it gives you back the last output β but only as soon as two consecutive invocations spit out the same number of LDIF stanzas. Like, it's waiting for the dump to stop changing between runs. Consistency check, but make it slay. π
Basically: no stable stanza count, no final answer. Two matching runs in a row? Boom, you get your output. periodt.
πΈ OPTIONS πΈ
--ldif-cmd <dump_ldif_command>β bestie this is the whole moment. You tell it a command that makes a complete LDIF dump of your LDAP directory, one that's good enough to actually be a backup π«Ά. It should contain all the entries you'd need to restore the LDAP database, no cap. If you don't say anything, the default is/usr/sbin/slapcatfrom OpenLDAP β she's the default queen π.--helpβ prints this page. that's it, that's the whole job, and she does it flawlessly β¨
π AUTHOR π
Elmar S. Heeb <elmar@heebs.ch> β ty for your service, king π«‘
heads up bestie: this page is from theUser Commandsmanual, version1.0.8, dated2021-01-06π go forth and back up responsibly, mwah ππβ
π¦ where this page comes from
- debian bookworm: ldap-git-backup 1.0.8-1.1 Β· GPL-3.0-or-later
- debian trixie: ldap-git-backup 1.0.8-1.1 Β· GPL-3.0-or-later
- ubuntu jammy: ldap-git-backup 1.0.8-1.1 Β· GPL-3.0-or-later
- ubuntu noble: ldap-git-backup 1.0.8-1.1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms