Dump ldap-master naar Subversion

From PostgreSQL_wiki
Revision as of 19:57, 9 February 2010 by 10.68.71.30 (talk)
Jump to: navigation, search

#!/bin/bash
export script_name="dump-samba-ldap-master"
. /usr/local/bin/logging.sh ${script_name}

/etc/init.d/slapd stop

/usr/sbin/slapcat > /var/lib/slapd/cirquest.nl/master.<domein>.nl.ldif

/etc/init.d/slapd start

datum=`date +%Y%m%d`

cd /var/lib/slapd/cirquest.nl/

/usr/bin/svn commit -m "master.<domein>.nl $datum"

cd -

Terug naar: Uwork Support Infrastructuur