The rdmgr utility can add new data as well as replace, modify, or retrieve existing data. All data input and output is done using Search, with UTF-8 character encoding for character fields. Note that Search also supports binary-valued fields and they can be added or retrieved too.
For more information on rdmgr, see Sun Java System Portal Server 7.2 Technical Reference.
In the simplest case, rdmgr can be used to add a file containing multiple Search Resource Descriptions (RDs) to the database. This is as simple as creating a Search file with the search SDK, or by other means, and adding the data with the command rdmgr search_input_file. The rdmgr also accepts resource description submit requests as input. Submit requests also use Search format and include a request header in addition to the normal body consisting of the Search data to be added or retrieved to or from the database.