by electricant on 6/17/23, 6:25 PM with 1 comments
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.
by simonblack on 6/18/23, 3:17 AM
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.
This is my /var/www from last night:
-rw-r--r-- 1 root root 786297918 Jun 18 01:33 /x/BAK/0951-230618raspberrypi/www.raspberrypi.230618.tgz
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.
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.