Re: Implementing incremental backup - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: Implementing incremental backup
Date
Msg-id 20130619234324.GZ23363@tamriel.snowman.net
Whole thread Raw
In response to Re: Implementing incremental backup  (Tatsuo Ishii <ishii@postgresql.org>)
List pgsql-hackers
* Tatsuo Ishii (ishii@postgresql.org) wrote:
> I don't think using rsync (or tar or whatever general file utils)
> against TB database for incremental backup is practical. If it's
> practical, I would never propose my idea.

You could use rsync for incremental updates if you wanted, it'd
certainly be faster in some cases and it's entirely possible to use such
against TB databases in some cases.

> > They're not WAL'd, so expecting them to work when restoring a backup of
> > a PG that had been running at the time of the backup is folly.
>
> Probably you forget about our nice pg_dump tool:-)

I don't consider pg_dump a mechanism for backing up TB databases.
You're certainly welcome to use it for dumping unlogged tables, but I
can't support the notion that unlogged tables should be supported
through WAL-supported file-based backups.  If we're going down this
road, I'd much rather see support for exporting whole files from and
importing them back into PG in some way which completely avoids the need
to re-parse or re-validate data and supports pulling in indexes as part
of the import.
Thanks,
    Stephen

pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Implementing incremental backup
Next
From: Stephen Frost
Date:
Subject: Re: Implementing incremental backup