restore database.yml and solr.yml