- Confirm the PingDirectory server is online.
-
To import data from an LDIF file at a scheduled time, use the
import-ldif command.
Note:
To specify a time in the UTC time zone, include a trailing
Z
. Otherwise, the time zone defaults to the time zone configured on the server.$ bin/import-ldif --task \ --hostname server1 \ --port 389 \ --bindDN uid=admin,dc=example,dc=com \ --bindPassword password \ --backendID userRoot \ --ldifFile /path/to/data.ldif \ --start 20111026010000 \ --completionNotify import-complete@example.com \ --errorNotify import-failed@example.com
Import task 2011102617321510 scheduled to start Oct 26, 2011 1:00:00 AM CDT
-
To confirm that you successfully scheduled your import task, use the
manage-tasks command to view a summary of all tasks on the
system.
$ bin/manage-tasks --summary
ID Type Status ----------------------------------------------- 2011102617321510 Import Waiting on start time
-
To monitor the progress of this task, use the manage-tasks
tool.
Note:
Use the task ID of the import task. If you cannot find the task ID, use the --summary option to view a list of all tasks scheduled on the PingDirectory server.
$ bin/manage-tasks --info 2011102617321510
Task Details ----------------------------------------------------- ID 2011102617321510 Type Import Status Waiting on start time Scheduled Start Time Oct 26, 2011 1:00:00 AM CDT Actual Start Time Completion Time Dependencies Failed None Dependency Action None Email Upon Completion admin@example.com Email Upon Error admin@example.com Import Options ---------------------------- LDIF File /path/to/data.ldif Backend ID userRoot