Re: ldap backup solution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

here's a good script :

#!/bin/sh


#exit if no ldap database
if [ ! -f /var/lib/ldap/objectClass.dbb -a ! -f /var/lib/ldap/ objectClass.bdb ]; then
        exit
fi
backupdir=/var/lib/ldap/backup
slapcat >$backupdir/backup-`LANG=c date +%A`.ldif
if [ `date +%d` == "01" ]; then
        slapcat >$backupdir/backup-`LANG=c date +%B`.ldif


--
Salutations.

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Sébastien VALLA <sebastien.valla@xxxxxxxxxxx>
Ingénieur systèmes et réseaux

EQUATION SA   http://www.equation.fr
Ingénierie Réseaux, Linux et Internet
Progiciels de Gestion Intégrés (ERP)
Tél.: 04 77 79 48 00  Fax: 04 77 79 48 01



Le 25 juin 06 à 20:20, Anze Vidmar a écrit :

Hi!

I have a few OpenLDAP databases that are about 1Gb big at the moment.
The database is growing each day.

The database is set up on a IBM storage of 0,5T (Raid5) and it's
connected with fiberchannel on the RHEL4 cluster (2 nodes).

I need a backup solution for this ldap database. What application/tool
would be the most appropriate for ldap database backup?

thank you.

--
Anze Vidmar <anzevi@xxxxxxxxx>

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux