---
name: "safe-ldif"
section: "1"
platform: "linux"
package: "ldap-git-backup"
version: "1.0.8-1.1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/safe-ldif"
---

# safe-ldif(1)

verify and dump an LDIF file for backup

## NAME

safe-ldif - verify and dump an LDIF file for backup

## SYNOPSIS

ldap-git-backup \[--ldif-cmd=\</path/to/ldif-dump\>\]

ldap-git-backup --help

## DESCRIPTION

Runs the command given by `"--ldif-cmd"` multiple times and returns the last output as soon as there are two consecutive invocations giving the same number of LDIF stanzas.

## OPTIONS

- **--ldif-cmd \<dump\_ldif\_command\>**

  Specify a command to create a complete LDIF dump of the LDAP directory suitable for a backup.  It should contain all entries necessary to restore the LDAP database.  By default /usr/sbin/slapcat from OpenLDAP is taken.

- **--help**

  Prints this page.

## AUTHOR

Elmar S. Heeb \<elmar@heebs.ch\>
