Program export data from db for conversion