Export sql file