Exporting local database to server and save it server-side