The directory in which persistent metadata files are stored can now be configured. By default persistent metadata files are stored in the environment home directory. The files that will be stored in the metadata directory are __db.rep.system, __db.rep.gen, __db.rep.egen and __db.rep.init.
To set the metadata file directory, call DB_ENV->set_metadata_dir() with
the path to the directory in which to store metadata files. The
metadata directory can also be set in the
DB_CONFIG
file using
set_metadata_dir
.