| Monday May 30th 2016

JournalSpace Wiped Out

Blogging service JournalSpace has been completely wiped out after the drives that housed their entire database were overwritten.

journalspace logoThe problem was that their backups weren’t actually backups at all. The servers were set up with a mirrored RAID system so that if the primary drive should fail the secondary drive would be used to recover the primary. This alone is risky business, as it only protects you from the failure of one drive. In the case of JournalSpace, the drive didn’t fail but instead the data was overwritten/erased on one drive leading the other drive to follow suite and clear itself. A data recovery team was unable to retrieve the database.

Here’s a quick 1 line script to automate backups so this doesn’t happen to you…

rsync -r -t -v -h --progress --delete --ignore-errors -c -l -z /home/username/ /backup/

Then just save that as a bash script (e.g., backup.sh) and setup a cron job (crontab -e) to run it daily, weekly, or monthly.

Related Posts: On this day...

Leave a Reply

You must be logged in to post a comment.