Re: Backup's from standby

From: Valentine Gogichashvili <valgog(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: senthilnathan <senthilnathan(dot)t(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>
Subject: Re: Backup's from standby
Date: 2011-08-19 13:38:39
Message-ID: CAP93muXn2S3+OadSt56_iY+0XKWGyCotazu58ZF=rgF76zTJwg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > What issue we may face if you take a backups(includes data dir + wal
files)
> > at standby without LVM snapshot?
>
> The backup might be corrupted in arbitrary ways.
>

And what will happen, if one issues a pg_start_backup() on the master, then
takes a file-backup on slave, and issues pg_stop_backup() on master again?
As far as I remember this approach was working for me, considering, that all
needed WAL files are transferred to the newly created DB copy as well.

-- Valentine Gogichashvili

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-08-19 13:41:50 Re: "make -j4 world" falls over
Previous Message Gokulakannan Somasundaram 2011-08-19 13:19:34 Re: the big picture for index-only scans