@Fabby So, I copied the files on another HDD, installed Ubuntu 18.04 on the laptop's SSD (the one I had problems with), installed Dropbox, and brought the things back.
What I'd need is to check if the SSD is permanently damaged and if so, how much of it.