Interface to export data from server