Ok, I fixed it by updating by leaving the old emoncms as emoncms_old and the lastest version emoncms_new into emoncms, then I had to find where the folders where the data was stored to configure the backup module and it worked