Hi William,
On 20.04.20 at 01:17 William Brown wrote:
> On 17 Apr 2020, at 18:38, Johannes Kastl
<kastl(a)b1-systems.de> wrote:
> This one mentions creating a task, but the example does not work
out of the box:
>>
https://access.redhat.com/documentation/en-us/red_hat_directory_server/10...
Actually I got that working:
Create a file export_to_ldif_20200420.ldif:
--- cite ---
dn: cn=task_name,cn=export,cn=tasks,cn=config
objectclass: extensibleObject
cn: task_name
nsInstance: userRoot
nsFilename: /tmp/export.ldif
--- /cite ---
Then run the following command:
ldapadd -D "cn=Directory Manager" -W -H ldaps://YOUT_HOSTNAME_GOES_HERE -x -f
export_to_ldif_20200420.ldif
Voila:
# ll /tmp/export.ldif
-rw------- 1 dirsrv dirsrv 15043 Apr 20 17:24 /tmp/export.ldif
#
Modern 389-ds no longer ships db2ldif, you need to use `dsctl
<instance> db2ldif`
OK, thanks for that information.
Is there a section in the wiki for these kinds of things? If not, I would
volunteer to write a small summary.
Kind Regards,
Johannes
--
Johannes Kastl
Linux Consultant & Trainer
Tel.: +49 (0) 151 2372 5802
Mail: kastl(a)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