Re: backups

From: Dennis Gearon <gearond(at)fireserve(dot)net>
To: Bill Montgomery <billm(at)lulu(dot)com>
Cc: Bruno Wolff III <bruno(at)wolff(dot)to>, wespvp(at)syntegra(dot)com, jearl(at)bullysports(dot)com, pgsql General List <pgsql-general(at)postgresql(dot)org>
Subject: Re: backups
Date: 2004-07-01 15:21:56
Message-ID: 40E42C14.5010303@fireserve.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bill Montgomery wrote:

> Bruno Wolff III wrote:
>
>> On Wed, Jun 30, 2004 at 18:23:08 -0500,
>> wespvp(at)syntegra(dot)com wrote:
>>
>>
>>> What do other sites with mondo databases do?
>>>
>>
>>
>> There have been comments from people using storage systems that they
>> can freeze the storage system and get a consistant snap shot of the
>> file system. This can be used to do a restore. It will look just like
>> postgres crashed when coming back up.
>> If you find one of the posts about this in the archives the poster may
>> have more details on their storage systems.
>>
>>
> We achieve the same effect with LVM. An rsync on the live set of files
> is done to get the majority of files that have changed since the last
> snapshot, then an LVM snapshot is taken and the relatively small set
> of files that have changed are rsyncd. This minimizes the lifetime of
> the snapshot. LVM snapshots degrade write performance on the LVM
> volume group on which they reside, due to the dual-write they require,
> so we want them around for as short a time as possible.
>
> Of course, we also tar up the files after the snapshot rsync, in case
> the primary server craps out in the middle of the next hour's
> snapshot/rsync. Otherwise, we might find ourselves resorting to last
> night's pg_dump.
>
> Regards,
>
> Bill Montgomery
>
What's LVM?

In response to

  • Re: backups at 2004-07-01 14:49:16 from Bill Montgomery

Responses

  • Re: backups at 2004-07-01 16:23:18 from Bill Montgomery

Browse pgsql-general by date

  From Date Subject
Next Message Hervé Piedvache 2004-07-01 15:23:53 DELETE TABLE xx do not erase index file after a vacuum full ?
Previous Message Tom Lane 2004-07-01 15:04:03 Re: Dump / restore for optimization?