Wednesday, March 3, 2010

opends export scheduled to work at midnight

The following crontab entry will get the export of the given branch {ou=subscriptions,dc=mycompany,dc=com} .4444 is the admin port of ldap server.

00 00 * * * sh /space/opends/OpenDS-2.2.0/bin/export-ldif -h localhost -p 4444 -D "cn=Directory Manager" -w mypassword -X --includeBranch "ou=subscriptions,dc=mycompany,dc=com" --backendID userRoot --ldifFile /space/opendsExport.ldif &

No comments:

Post a Comment