dbxml_load [-V] [-f file] [-h home] [-P password] xml_container 

The dbxml_load utility reads from the standard input and loads it into the XML container xml_container. The XML container xml_container is created if it does not already exist.

The input to dbxml_load must be in the output format specified by the dbxml_dump utility.

The options are as follows:

The dbxml_load utility may be used with a Berkeley DB environment (as described for the -h option, the environment variable DB_HOME, or because the utility was run in a directory containing a Berkeley DB environment). In order to avoid environment corruption when using a Berkeley DB environment, dbxml_load should always be given the chance to detach from the environment and exit gracefully. To cause dbxml_load to release all environment resources and exit cleanly, send it an interrupt signal (SIGINT).

The dbxml_load utility exits 0 on success, 1 if one or more key/data pairs were not loaded into the database because the key already existed, and >1 if an error occurs.

Environment Variables


If the -h option is not specified and the environment variable DB_HOME is set, it is used as the path of the database home, as described in the DB_ENV->open() method.