Did you get the data from Alfresco? Some solutions exist to migrate data and contacts you can look at. It all depends on the type of software you would like to use. I think you can look into software like Informatica or Talend Open Studio, two interesting programs for your needs.