Re: Exporting to LDIF

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

 



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@xxxxxxxxxxxxx

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg
http://www.b1-systems.de
GF: Ralph Dehner
Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx

[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