Thank you Derek.
Alberto.
On 14/08/14 15:41, Derek Belcher wrote:
These commands will export your data into an LDIF file.
Replace everything in the [brackets] with your info.
Change to directory with scripts
# cd
/usr/lib64/dirsrv/slapd-[TAB]
Dump data to ldif
# ./db2ldif -n userRoot -a /var/tmp/`date +%Y.%m.%d`.ldif
This step might be optional.. I think it should all ready
have the 755 permissions when you dump it, but if not, do
this...
# chmod 755 /var/tmp/`date +%Y.%m.%d`.ldif
Restore command
# ./ldif2db.pl -v -D
"cn=directory manager" -w PASSWORD -i /var/tmp/`date
+%Y.%m.%d`.ldif -s dc=[YOUR],dc=[COM]
-Derek
--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users
|
--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users