by arthurcolle · 6y ago · 0 comments
I lost 50GB of options data going back 4 months yesterday + 2.5TB of currency data going back 20 years because I never checked that my backups were running.
Please don't let this happen to you.
EDIT: Literally just write a script that backs up flat files or binaries to S3 every N intervals.
I'm working on this exact problem at the moment: a dashboard to keep track of your backups to check they never fail. https://backupshq.com
* Get notified when backups fail or take too long via email, slack, webhook, etc.
* Run your backup scripts and tools with an open source agent, which takes cares of reporting backup results to the dashboard.
* Alternatively, write your own integration with our API to report backup results and send logs yourself.
I'm hoping to launch privately soon, I'd love to hear what you think. We haven't made any pricing decisions yet, but definitely want to give free credit to homelabbers!
Sorry you lost your data, data loss is terrible
while doing a simple copy to S3 is better than nothing, Everyone wanting to backup their data should follow a 3-2-1 Policy [1][2][3]
3 Copies of the data
2 different storage media's / devices
1 offsite location.
backing up only to S3 can still leave you vulnerable, for example I remember one person that was doing cloud backups and their card was declined and they missed the emails for awhile so their data was deleted...
[1] https://medium.com/@nakivo/the-3-2-1-backup-rule-an-efficien...
[2] https://www.backblaze.com/blog/the-3-2-1-backup-strategy/
[3] https://www.veeam.com/blog/how-to-follow-the-3-2-1-backup-ru...
I wrote more about it here: https://photostructure.com/faq/how-do-i-safely-store-files/
To me the "2 media" It is not strictly 2 media, ie hdd and dvd. Or hdd and tape.
It is primarily to ensure you are on 2 devices/systems/ etc
For individuals the could be their local system and a home nas
On reason this was created is that in enterprise most systems are backed by a SAN. Having your prod data AND backup data on the same physical storage device or cluster would violate the rule. Often times admins miss this because the storage layer is cluster and partitioned in away that could give the appearance of it being separate even if physically it is the same device
Further cloud storage can count has separate media as well
So if you have the prod copy of data + a backup on a local nas + copy on backblaze or another cloud storage provider you have followed the 3-2-1 rule
https://news.ycombinator.com/newsguidelines.html.
(Sorry about your stuff.)
Restore your data once in a while to check that it's really getting backed up.
For me personally redoing my PC is worth couple of years of backup subscription plus HDD docking station plus two 4TB hard drives dedicated to backups.
I think for my next machine I'm going to dump Mac OS and switch Windows + WSL so may investigate fully automating my setup and config then.