Re: Backing up our 389-DS

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

 



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@xxxxxxx 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@xxxxxxx
> 
> 
> --
> 389 users mailing list
> 389-users@xxxxxxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxx

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!

Attachment: signature.asc
Description: OpenPGP digital signature

--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users

[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux