Re: Backup Nightmares @ 2oFB..
By: paulie420 to All on Thu Jun 29 2023 07:49 pm
Hey...
The weekly rsync backup ran - and... --delete made sure ALL the backup data was - deleted. And, users weren't able to download this past week and the bug reports started flowing in.
Sorry for your luck dude...
Reminds me of a time that I worked for an airline (IT admin) long time ago, and we had a system that kept core dumping (it was a new app), and the core files were so big, that 2 or 3 of them filled some important mount points.
The core files were important for the developers, so I had to keep them, so I wrote a script to find them each night and compress them (they compressed really well if I recall).
I tested, tested, tested - since my script tralled through the whole system looking for core files and I was confident it was working.
I deployed the script to another important system (starting with the airlines network management system), and got a call at 1am - the system wasnt working, and I couldnt remote it to look at it. When I got to the office, my script had compressed every file on the host. Argh! - That was a reinstall and a couple of days I couldnt of spent doing something better...
Anyway, wanted to share, if you want a different approach to backup, take a look at restic - IMHO, it does a better job than a rsync approach to backup.
...ëîåï
--- SBBSecho 3.20-Linux
* Origin: I'm playing with ANSI+videotex - wanna play too? (21:2/116)