Monday, April 20, 2020

[389-users] Re: Exporting to LDIF

> On 21 Apr 2020, at 06:34, Johannes Kastl <kastl@b1-systems.de> wrote:
>
> On 17.04.20 at 10:38 Johannes Kastl wrote:
>> Hi again,
>>
>> I found several links on how to export from 389 to LDIF.
>
> On a related note:
>
> https://directory.fedoraproject.org/docs/389ds/howto/howto-ds-admin-migration.html
>
> ---cite---
> foreach db /opt/fedora-ds/slapd-instance/db/*
> db2ldif -n db -a \
> /opt/fedora-ds/slapd-instance/db/db.ldif
> end
> ---/cite---
>
> Is this outdated, too?

That looks very outdated to me ... :(

>
> Because I have lots of files and one directory in the directory (if I picked the
> correct one?):
>
>> # ll /var/lib/dirsrv/slapd-localhost/db/
>> total 117948
>> -rw------- 1 dirsrv dirsrv 51 Apr 16 16:53 DBVERSION
>> -rw------- 1 dirsrv dirsrv 24576 Apr 16 16:53 __db.001
>> -rw------- 1 dirsrv dirsrv 7102464 Apr 20 20:30 __db.002
>> -rw------- 1 dirsrv dirsrv 103243776 Apr 20 20:23 __db.003
>> -rw------- 1 dirsrv dirsrv 1081344 Apr 20 20:30 __db.004
>> -rw------- 1 dirsrv dirsrv 8863744 Apr 20 20:23 __db.005
>> -rw------- 1 dirsrv dirsrv 90112 Apr 16 17:04 __db.006
>> -rw------- 1 dirsrv dirsrv 10485760 Apr 16 17:05 log.0000000001
>> drwx------ 2 dirsrv dirsrv 4096 Apr 16 17:03 userroot
>
> Kind Regards,
> Johannes
>
> --
> Johannes Kastl
> Linux Consultant & Trainer
> Tel.: +49 (0) 151 2372 5802
> Mail: kastl@b1-systems.de
>
> B1 Systems GmbH
> Osterfeldstraße 7 / 85088 Vohburg
> http://www.b1-systems.de
> GF: Ralph Dehner
> Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
>
> _______________________________________________
> 389-users mailing list -- 389-users@lists.fedoraproject.org
> To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org


Sincerely,

William Brown

Senior Software Engineer, 389 Directory Server
SUSE Labs
_______________________________________________
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org

No comments:

Post a Comment