Backups

In the office, we cur­r­ent­ly have about 120gb of disk that need regu­lar back­ups. We wan­ted to have a solu­ti­on that enab­les us to store off­si­te copies easi­ly and wasn’t too expen­si­ve. Tapes were out for hand­ling rea­sons — tho­se dri­ves that we were wil­ling to afford would have meant a sys­tem of cas­ca­ded incre­men­tal back­ups, making res­to­ra­ti­on of sin­gle files a tape-shuf­fling issue. DVDs don’t hold enough data and their sto­ra­ge times are not yet ful­ly unders­tood, so that didn’t qui­te sound so prac­tical, eit­her.

In the end, we deci­ded to out­fit one of the older machi­nes around (a Pen­ti­um II) with remova­ble hard disks (nor­mal Wes­tern Digi­tal 160 GB dri­ves, fit­ted into run-of-the-mill alu­mi­ni­um mobi­le racks). We have two dri­ves fit­ted into a car­ria­ge, so there’s always one at home and one in the machi­ne. During the day, the appro­pria­te machi­nes copy their data onto that one volu­me over the net­work and I can take along the disk in the evening, brin­ging the other one next morning.

Most of our machi­nes run Net­BSD so I’ll just quick­ly run down the very basic con­fi­gu­ra­ti­on, we have here, but it should also work with many other unix-like ope­ra­ting sys­tems. Ope­ra­ting sys­tem and all esen­ti­al stuff is on a disk that always remains in the back­up machi­ne, the back­up volu­me is a dri­ve off the secon­da­ry IDE con­trol­ler.

The machi­ne is only powe­r­ed on when the disk is in, so there’s no cho­king on mis­sing disks — this could be avo­ided by using a hotswap-enab­led IDE con­trol­ler, but cur­r­ent­ly, we don’t have that need. As soon as the disk goes in in the morning, the machi­ne is powe­r­ed up, boots and sha­res the back­up volu­me via NFS. The other machi­nes (all run­ning Net­BSD) have that volu­me in their auto­moun­ter. Scripts are star­ted that use dump(8) to copy their appro­pria­te sli­ces onto the back­up dri­ve. As soon as they’re all finis­hed, the machi­ne powers down again, wai­ting for the dri­ve to be taken out.

And that’s all the­re is to it!

Pri­ce of the machi­ne: prac­tical­ly not­hing, we had that alre­ady. We even had an empty 4U 19″ enclo­sure, so it’s gone into the machi­ne rack.
Pri­ce of the dri­ve enclo­sures: 25 € each, making it 50 €
Pri­ce of the hard disks we’re using today: star­ting from 80 €
That makes our con­fi­gu­ra­ti­on total 210 €. Not bad for 160 GB of back­up sto­ra­ge.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.