[fpc-other] Git & SVN
Graeme Geldenhuys
mailinglists at geldenhuys.co.uk
Wed May 24 10:24:32 CEST 2017
On 2017-05-24 02:46, noreply at z505.com wrote:
> But what happens with corrupted or failed hard drive on your personal
> computer? Do you have any backups or is this local git work only on one
I used to live in a country with constant blackouts or brownouts. So
harddrives took a real punishment. UPS's were a requirement, not a
luxury. So I take data protection very seriously, even though where I
live now the power is much more reliable and clean.
Yes, I have off-site private backups, and on occasion I push those to a
USB stick too. Everybody should at least be doing this.
I also know how valuable my work and data is - I run my own business.
All my data, code and VMs lives on 4 server quality harddisks using ZFS
RAID-Z2 as the file system, and FreeBSD as my OS of choice. I will not
trust my data on anything other than ZFS. Even my USB sticks use ZFS. My
hard drives were bought from different suppliers so they aren't all from
the same batch. I also replace them every 3-4 years (ZFS makes this a no
brainer).
I highly recommend you read up on ZFS if you don't know it. It comes
natively with Solaris and FreeBSD, and is easily installed on Linux. I
believe OSX might also have unofficial support now.
ZFS is a copy-on-write files system. Every read and write is
checksummed. I can have two hard drives fail (very very unlikely) and
still be able to rebuild my data. Very sensitive data I store in a
partition that keeps two copies of the data scattered around the ZFS
pool. ZFS partitions can be created and destroyed on the fly - they are
more like directories than partitions. So you can create and destroy
partitions as the need arises, and set encryption, compression,
de-duplication etc on each partition as you see fit.
> Sorry, I've just had too many hard drives fail on me... so many fail
> that it's almost as if someone was doing it on purpose to me.
Sounds like you are in serious need of ZFS. If you work on a laptop (so
can't install 3+ hard drives), then I recommend you get one of those
USB3 or Thunderbolt port external NAT-style storage devices. I know some
of them support ZFS. But those storage devices are a bit costly. But
then, how much is your data worth?
Regards,
Graeme
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
My public PGP key: http://tinyurl.com/graeme-pgp
More information about the fpc-other
mailing list