2 years ago
Sat Jun 17, 2023 6:25pm PST
Tell HN: Always Backup Your Data
tl;dr Today I accidentally wiped the contents of my /var/www and have no way to recover it

Basically, I was playing with some chroots. After messing one up, I decided to delete it completely so I did 'rm -rf chroot'. However, I forgot that I had /var/www also bind mounted to it. So there she goes. Completely wiped it with no backup.

Fortunately, it was just tt-rss and some dummy pages. Still it is a pita to setup again.

comments:
add comment
loading comments...