Re: incremental dumps

From: Luca Ferrari <fluca1978(at)infinito(dot)it>
To: hamann(dot)w(at)t-online(dot)de
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: incremental dumps
Date: 2013-08-01 13:14:01
Message-ID: CAKoxK+6Bi=gGxcJdy7LDf6uKYQ5jD9NdzjBCWQ2P_HCx4F7eSg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Aug 1, 2013 at 10:59 AM, <hamann(dot)w(at)t-online(dot)de> wrote:

> However, the diff files seem to be considerably larger than one would expect.
> One obvious part of the problem is the fact that diff shows old and new text,
> so e.g. changing the amount of stock for a product with a 1kB description
> would generate at least 2kb of text in the diff file.
>
> What would be a better approach?

I suppose wal archiving or PITR would be better, but assuming you want
text files I guess you need to change your database structure to
either:
1) include a watermark on data and dump only data since the last dump
(to do manually);
2) partition your tables and backup specific tables/partitions
depending on the timing.

Hope this helps.
Luca

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bèrto ëd Sèra 2013-08-01 13:20:26 Re: incremental dumps
Previous Message Raymond O'Donnell 2013-08-01 09:46:54 Re: Postgres 9.2.4 for Windows (Vista) Dell Vostro 400, re-installation failure PLEASE CAN SOMEONE HELP!!