I just had a disaster moving around my NAS storage.
I had ~/Documents symlinked to /mnt/storage0/alexatkin. I had done a fresh install on a larger drive so moved /mnt/storage0/alexatkin/* to /home/alexatkin/.
I thought it had been successful so ran a backup (huge mistake here).
Somewhere along the line something went wrong and the Pictures folder is empty.
What I think happened is because I stupidly used mv instead or rsync -a, it had been sat waiting for me to confirm overwriting the default Pictures folder. I'm sure I remember it asking and saying y to overwriting the folder, but something must have gotten missed in the console error messages of NUT unable to see my UPS (that's another issue, no idea why that wont work).
Of course I did this overnight so whatever happened I did not notice something had gone wrong, and only noticed AFTER running the backup script, wiping out the backup copy.
I have written a ton of files to /mnt/storage0 in the meantime, so recovery from there is impossible. Unfortunately the backup was also after that, so I'm not hopeful of recovering any of this. Of course, this is all my personal photo collection, the most devastating folder to lose.
I knew using the OS default Pictures folder would bite me in the ass eventually, even if it was my own stupidity for not sanity checking the move was fully successful.
I'd say live and learn but fibro fog seems to mean I'm doomed to constantly losing my personal photos. I already lost tons from CD bit rot and this was supposed to be as bullet-proof a solution as I could manage. Of course, there is no accounting for user error and ignoring the age-old advice of "always make a backup FIRST and make sure everything is where it should be after".
I'm just so angry at myself for not double checking everything had moved over and why the heck I used mv in the first place. What baffles me is I could have sworn the Pictures folder was gone from the old drive, implying it had successfully moved it, but its nowhere to be found. I had ample opportunity to spot this mistake and recover from the backup. I could have sworn I checked folder sizes to make sure there was the right number of files in both locations, I don't know how I missed it.
[UPDATE]
Oh, it looks they ARE still on /mnt/storage0/alexatkin, that's a stroke of luck if true.