This sample demonstrates saving an image (snapshot) of a database to disk using
mco_db_save()
and restoring the database usingmco_db_load()
.
See instructions here on how to build this and other samples on your development platform. Once built, the sample can be run from the
\target\bin
directory:18_backup_dbBut it is more instructive to run it in your development environment debugger, stepping through the code.