server side code and database export file