dbxml_dump

dbxml_dump [-NRrV] [-f output] [-h home] [-P password] xml_container  

The dbxml_dump utility reads the XML container in file xml_container and writes it to the standard output using a portable flat-text format understood by the dbxml_load utility. The xml_container argument must be a file produced using the Berkeley DB XML library functions.

The options are as follows:

The dbxml_dump 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_dump should always be given the chance to detach from the environment and exit gracefully. To cause dbxml_dump to release all environment resources and exit cleanly, send it an interrupt signal (SIGINT).

Even when using a Berkeley DB database environment, the dbxml_dump utility does not use any kind of database locking if it is invoked with the -R or -r arguments. If used with one of these arguments, the dbxml_dump utility may only be safely run on XML containers that are not being modified by any other process; otherwise, the output may be corrupt.

The dbxml_dump utility exits 0 on success, and >0 if an error occurs.

Environment Variables

DB_HOME

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.