archive_command = 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f' # Unix
restore_command = 'cp /mnt/server/archivedir/%f %p'
above two commands and checkpoint settings .as i read doc we need to change postgres.conf.But other way i want try it from server commmand mean from putty is it possible..?
i want commands to execute the set to the server without open the postgres.conf...?
On Mon, Jul 20, 2015 at 6:23 PM, Michael Paquier <michael.paquier@xxxxxxxxx> wrote:
On Mon, Jul 20, 2015 at 7:00 PM, Ramesh T <rameshparnanditech@xxxxxxxxx> wrote:
> Hi All,
> What i need to know for postgres recovery..?let me know in detail.
Documentation is always a good start:
http://www.postgresql.org/docs/devel/static/backup.html
--
Michael