backup the database structure