Hi,
we are using export/import (LDIF data)...
Here shell snippet (PADL=instance_name - we are exporting both
NetscapeRoot and rootUser space -> LDAP conf itself and our DATA set).
---8<---
# Get host architecture
[[ $(uname -m) = "x86_64" ]] && ARCH=64
# Define path to the Export utility
EXPUTIL="/usr/lib${ARCH}/dirsrv/slapd-${PADL}/db2ldif.pl"
# Import utility ('-i' accepts file from '-a' switch of Export utility):
IMPUTIL="/usr/lib${ARCH}/dirsrv/slapd-${PADL}/ldif2db.pl"
---8<---
Well, i have tried (once) to import rootUser data set into another
(test) instance, and it has worked.
Regards.
On 13.12.2012 21:43, harry.devine(a)faa.gov wrote:
We had an incident today using the 389-console GUI where our groups were
inadvertently deleted. We are in the process of recreating them (not
too bad, just tedious). I am looking at finding a way to back up our
data periodically so should this happen again, we can restore from
backup. I see online a script called db2ldif.pl. However, I can't find
that anywhere on our installation.
1) We are using 389-ds version 1.2.1 on CentOS 5.7 x64. Where can I get
this script?
2) If this is not the best way to do this, what IS the proper way to
backup our data? We are replicating to another server, but once that
groups were gone, that replicated to the other server and now BOTH were
toast.
Thanks for any tips!
Harry
Harry Devine
Common ARTS Software Development
AJM-245
(609)485-4218
Harry.Devine(a)faa.gov
--
389 users mailing list
389-users(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
--
Predrag Zečević, Technical Support Analyst, 2e Systems GmbH
Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894
Mobile: +49 174 3109 288, Skype: predrag.zecevic
E-mail: predrag.zecevic(a)2e-systems.com
Headquarter: 2e Systems GmbH, Königsteiner Str. 87,
65812 Bad Soden am Taunus, Germany
Company registration: Amtsgericht Königstein (Germany), HRB 7303
Managing director: Phil Douglas
http://www.2e-systems.com/ - Making your business fly!
[***]===---
And if sometime, somewhere, someone asketh thee, "Who kilt thee?", tell
them it 'twas the Doones of Bagworthy!