tl;dr Today I accidentally wiped the contents of my /var/www and have no way to recover it<p>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.<p>Fortunately, it was just tt-rss and some dummy pages. Still it is a pita to setup again.
The world has only two groups of people: Those who have lost data due to no backups, and those who are yet to lose data due to no backups.<p>Most of us in the first group, try our best to remain out of the second group. Unfortunately some of us in the first group remain committed to also belong to the second group.<p>This is my /var/www from last night:<p>-rw-r--r-- 1 root root 786297918 Jun 18 01:33 /x/BAK/0951-230618raspberrypi/www.raspberrypi.230618.tgz<p>I backup my main system in a (roughly) 15GB snapshot every night. That snapshot has sufficient information to reproduce my main system within about an hour or so to the situation it was in at backup time last night.<p>I also backup my archive disk that holds about 6 TB of 'write once, keep forever' stuff like music, photos, videos, software, etc. on a daily basis. Bash scripts are your friends.