Monday, April 20, 2020

[389-users] Re: Exporting to LDIF

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEOjtDOPXdIVAWcUziyeav2MG3z/wFAl6eB0oACgkQyeav2MG3
z/x6qRAAglblF0KK002b5Pze4U7bZhxi034uQSnQ9n3nrjzWM0REneKdcQTFkEss
iBmHO8UX84tMKt3yoAZtD0FZ9rTYpgeVudZb75e0s+HEjLsrV0hJZ+BvkdFB2F3+
iW707KBhPbKiQ3iQIViR6gIgRibXp5SzSuvhdV2gWESpiFM0A8tRiOEXR+yUhtPx
Pzcnim7tfegfq6vZ62xfvYn7MoLq5pFcWVZOJmpoE5i1FXV5z4vHD/F9uDSDcQmh
KgjLL1XAFJVq0b/hR6a8IcyMkGRfc5WiFDvjIiq0+XoL6Epms4PwadmH23TB13GP
pBuzJutpEjKeUN4HbVtGdJ4NMdYYSxSiaBEJlNUUkYDstaWfXNJ5LZVi1KUGFol7
PogcLpD7Wk4MiAsssvTSlNZgjdYDobVLAjIZ1mhdsOP0Sm9+7D732CvAea3+l6eT
o5uiLgv8FFhjxYC4MWdlzNalR/fskaSvI+TaPAFQXmSKgtQMQN7T1Ig75xmr/0Ca
3SRvcWS+V1PFeps6CjKkp5uWX/IymCQfoU4PkmZJwD+iETPDdqU92eumyOs7OYZQ
SfB1MRJF36OMaim7KqEVzqTrGl2KJa/CyHqK0byne3o6NTaXpgk3sweLF1bcENAU
JwWWD6+uOR/0c0Yxf/4eOkEA5ryP+1nPsC2UT5UDGJEDVs5Ra1w=
=3oqF
-----END PGP SIGNATURE-----
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?

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

No comments:

Post a Comment