I have written some code into an app of mine that backs up and restores the database on closing and opening the application.
Have a look at the functions VFSExportDatabaseToFile & VFSImportDatabaseFromFile functions of the Virtual File System Manager. This will at least give you a starting point... Les -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
