Backups are for weaklings! - Desktop Customization & Workflow

Users browsing this thread: 3 Guest(s)
eksith
Long time nixers
While that shell script + cron solution gets rained on a lot, by and large, it's quite an effective method provided nothing else breaks. It's possible to write scripts that are quite robust with error checking, conflict detection, checksums etc... It all comes down to how important your work really is. If you can survive without it, then it's toward the 'less' important end ;)

I'm currently running a web server in the test phase and the forum script auto-locks and archives threads as html files after a certain period without replies. This is significantly easier on resources since I don't need to hit a database to serve essentially static content. Basically the URL is SHA1 hashed and that gets split a few times to make directories where html file goes [ don't want 8000 files in one folder ;) ]. Now this kind of thing is ideal for the cp + cksum treatment via shell script and cron. Does it fail occasionally? Of course! But that's why it will try again and if it fails one more time, it will send me an email.

Basically...
Code:
#!/bin/bash
MESSAGE="/tmp/bkpstatus2013_10_26.txt"
/bin/mail -s "Backup status today" "admin@mail" < $MESSAGE

The hiccups come if you want complex versioning of sorts with your backups. This is especially true of constantly edited files like office documents or Photoshop/Gimp files. The best in that case (again, depending on how important this stuff is to you) is something like FreeNAS.

I'm allergic to most things "cloud" ;) "Cloud" turns computing and backups down to "magic" pretty much. And I don't believe in "magic" ;) My stance on that is simply : *You do not own what you cannot control*. It's nice to think storage solutions like Dropbox, Google Drive, Ubuntu Cloud etc... or proper backup services like Carbonite et. al. are there for you, but you don't know how or where they store your stuff. If it's just family pics and stuff, it's probably not a big deal, but more sensitive things really don't belong there. Add to that the current atmosphere where authorities basically have the gall to say they can peek at your junk because you're not storing it and you have a recipe for mistrust that leaves quite a bad case of indigestion.

Of course, I'm also keeping backups for other folks who use my services (don't know what they're storing and don't care) so if I were to lose any of it, I'd need a one way ticket to Mexico :P


Messages In This Thread
Backups are for weaklings! - by shtols - 22-10-2013, 09:50 AM
RE: Backups are for weaklings! - by Phyrne - 22-10-2013, 10:48 AM
RE: Backups are for weaklings! - by jobss - 22-10-2013, 12:05 PM
RE: Backups are for weaklings! - by venam - 22-10-2013, 03:33 PM
RE: Backups are for weaklings! - by crshd - 23-10-2013, 02:03 AM
RE: Backups are for weaklings! - by kirby - 23-10-2013, 03:23 PM
RE: Backups are for weaklings! - by ajac - 23-10-2013, 06:26 PM
RE: Backups are for weaklings! - by zygotb - 25-10-2013, 10:31 AM
RE: Backups are for weaklings! - by eksith - 26-10-2013, 06:14 PM
RE: Backups are for weaklings! - by jobss - 26-10-2013, 07:53 PM
RE: Backups are for weaklings! - by eksith - 27-10-2013, 01:27 AM
RE: Backups are for weaklings! - by c107 - 27-10-2013, 09:15 PM