Re: Basic question on recovery and disk snapshotting

From: Jov <amutu(at)amutu(dot)com>
To: Yang Zhang <yanghatespam(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Basic question on recovery and disk snapshotting
Date: 2013-04-27 11:25:29
Message-ID: CADyrUxNceRYH4Gdu0M7t4RPD0tBjRSpkHh61-tKQzn7J33=9Pg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Are you sure the EBS snapshot is consistent? if the snapshot is not
consistent,enven on the same volume,you will have prolbems with your backup.

One methed can be try is run pg_start_backup() before take snapshot.

2013/4/27 Yang Zhang <yanghatespam(at)gmail(dot)com>

> We're running on EBS volumes on EC2. We're interested in leveraging
> EBS snapshotting for backups. However, does this mean we'd need to
> ensure our pg_xlog is on the same EBS volume as our data?
>
> (I believe) the usual reasoning for separating pg_xlog onto a separate
> volume is for performance. However, if they are on different volumes,
> the snapshots may be out of sync.
>
> Thanks.
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
>

--
Jov
blog: http:amutu.com/blog <http://amutu.com/blog>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tobias Oberstein 2013-04-27 13:19:00 outgoing TCP from custom background worker?
Previous Message Misa Simic 2013-04-27 10:37:39 Re: Optimizing bulk update performance