Re: Interesting post-mortem on a near disaster with git

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Interesting post-mortem on a near disaster with git
Date: 2013-03-24 16:08:57
Message-ID: 20130324160857.GB27626@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Mar 24, 2013 at 11:52:17AM -0400, Tom Lane wrote:
> Over the weekend, KDE came within a gnat's eyelash of losing *all*
> their authoritative git repos, despite having seemingly-extensive
> redundancy. Read about it here:
> http://jefferai.org/2013/03/24/too-perfect-a-mirror/
>
> We should think about protecting our own repo a bit better, especially
> after the recent unpleasantness with a bogus forced update. The idea
> of having clones that are deliberately a day or two behind seems
> attractive ...

I think the lesson here is that a mirror is not a backup. RAID, ZFS,
and version control are all not backups.

Taking a tarball of the entire repository and storing it on a different
machine would solve just about any problem you can think of in this
area.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> He who writes carelessly confesses thereby at the very outset that he does
> not attach much importance to his own thoughts.
-- Arthur Schopenhauer

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Atri Sharma 2013-03-24 16:46:52 Re: Page replacement algorithm in buffer cache
Previous Message Tom Lane 2013-03-24 15:52:17 Interesting post-mortem on a near disaster with git