Hi William, On 20.04.20 at 01:17 William Brown wrote: >> On 17 Apr 2020, at 18:38, Johannes Kastl <[email protected]> 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/html/administration_guide/populating_directory_databases-exporting_data 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: [email protected] B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
signature.asc
Description: OpenPGP digital signature
_______________________________________________ 389-users mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected]
