euglug.org

[Eug-lug] Backups for the budget conscious

작성자

카테고리:



Po PetzWed Dec 22 11:58:25 PST 2004

On Wed, 22 Dec 2004, larry price wrote:

> currently my backup strategy (for my stuff) consists of Raid 1 on one 
> machine and selective directory mirroring using rsync from the other 
> machines, plus a monthly session of cd burning for critical data. It's 
> starting to look inadequate and in the case of failure I do have 
> recovery work that needs to be done before I'm fully operational, above 
> and beyond recovering the data.

How much data?  How are you defining your critical data?  In the event of 
say, burglary or fire, how long can you tolerate being down?

> What I'm considering:
>
> 1. DAT tape drive ~$600 to get started 40GB per tape, can use AMANDA
> enough capacity, enough speed, fairly robust, light power requirements

I've found Bacula http://www.bacula.org/ to be more flexible than Amanda. 
Tape really only seems to pay off if you're keeping archives, have a lot 
of data that is crucial to your bare-metal plan, or have an entire network 
that you need to back up and have a dedicated backup server.

> 2. Disk mirroring with external/removable drives cost varies but
> figure ~$600  to get enough space and enough units to allow for
> backups and offsite storage, does allow the possibility of having a
> bootable backup disk that can be ported to another machine.

I have a couple of USB enclosures to which I rsync important data from my 
main colocated server.  They're ATA disks and not terribly fast but if 
something catastrophic happens to the colo hardware, I can pull the drive 
from the enclosure and slap it into or copy it over to another box and be 
back up in a degraded but functional form.  This is my poor-mans remote 
hot swap. :)  (mild bonus: offline checksumming for unauthorized changes)

Disks are cheaper, have a faster backup window, have random-access, and a 
lower cost per gigabyte until you extend the cost line into keeping 
archives.  Another drawback is that stacks-o-disks scale poorly past a 
dozen systems or so and, depending on your rotation, can make going back 
in time to find the origin of an intrusion harder if not impossible.

> 3.  ??? (I'm open to suggestions)

Have you looked at Mondo?  http://www.microwerks.net/~hugo/ I'll cop to 
not having tried it yet although it seems like a good tool to add into a 
recovery plan.

-po