File: slapd_dump.sh

package info (click to toggle)
slbackup 0.0.12-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 448 kB
  • sloc: perl: 609; sh: 75; makefile: 5
file content (12 lines) | stat: -rw-r--r-- 311 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
#
# Script that stop slapd (and nscd), slapcat the ldap-database into a
# properly directory, and start (nscd and) slapd again.
#
# $Id: slapd_dump.sh,v 1.1 2005-05-23 09:28:07 werner-guest Exp $
# 

DUMPDIR=/var/backups
DUMPLDIF=$DUMPDIR/ldap_database.ldif
OLDDUMP=$DUMPDIR/ldap_database.ldif.old