Use this library to backup your MySQL Database from your Javacode. This library only backs up the data, not the database structure(Future Releases). So when restoring the backup file, you must ensure that the database is created and fully functional.