EnglishFrenchSpanish

OnWorks favicon

ldap-git-backup - Online in the Cloud

Run ldap-git-backup in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command ldap-git-backup that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


ldap-git-backup - check in LDIF from an LDAP server into a GIT repository

SYNOPSIS


ldap-git-backup [options]

ldap-git-backup --help

DESCRIPTION


ldap-git-backup takes an LDIF dump of an LDAP server and updates a GIT repository that
serves as a versioned backup.

ldap-git-backup splits the LDIF data into separate entries. It constructs unique but
stable file names using a combination of the creation time stamp for ordering and the DN
as the unique key for an entry.

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/safe-ldif" is taken which calls "/usr/sbin/slapcat" from OpenLDAP.

If you have access to an LDAP server over the network you can use ldapsearch as your
"--ldif-cmd". Example:

--ldif-cmd 'ldapsearch -u -x -o ldif-wrap=no \
-H ldaps://ldap.example.org -b dc=example,dc=org'

If you need to log in to a certain server first you would use something along the
lines of

--ldif-cmd 'ssh host.example.org ldapsearch -u -x -o ldif-wrap=no \
-H ldaps://ldap.example.org -b dc=example,dc=org'

You can make this as complicated as you like as long as it fits into a one line
command. If you need more you may want to create a script for the purpose.

--backup-dir <backup_directory>
Specify the directory where the GIT repository for the versioned backup is held.
Default: /var/backups/ldap

--commit-msg <commit_string>
Specify a custom commit message. Default: ldap-git-backup

Example:

--commit-msg "Import $(date --rfc-3339=seconds)"

--commit-date <date_string>
--commit-date <file>
Specify a custom commit date. If a file is given its modification time is used.

--no-gc
Do not perform a garbage collection (git gc) after checking in the new backup. By
default gc is done so as to keep the size of the backup down. You may want to skip gc
for the occasional backup run but leave it on for the scheduled backups.

--help
Prints this page.

Use ldap-git-backup online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 2
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • 3
    Xtreme Download Manager
    Xtreme Download Manager
    The project has a new home now:
    https://xtremedownloadmanager.com/ For
    developers:
    https://github.com/subhra74/xdm Xtreme
    Download Manager is a powerful tool t...
    Download Xtreme Download Manager
  • 4
    TTGO VGA32 Lite
    TTGO VGA32 Lite
    Features:4:3 and 16:9 low resolution
    VGA outputPS/2 keyboard and mouse
    inputText-based user interface (TUI)
    with dialog managerPartial Unicode
    supportSlave dis...
    Download TTGO VGA32 Lite
  • 5
    Clover EFI bootloader
    Clover EFI bootloader
    Project has moved to
    https://github.com/CloverHackyColor/CloverBootloader..
    Features:Boot macOS, Windows, and Linux
    in UEFI or legacy mode on Mac or PC with
    UE...
    Download Clover EFI bootloader
  • 6
    unitedrpms
    unitedrpms
    Join us in Gitter!
    https://gitter.im/unitedrpms-people/Lobby
    Enable the URPMS repository in your
    system -
    https://github.com/UnitedRPMs/unitedrpms.github.io/bl...
    Download unitedrpms
  • More »

Linux commands

Ad