many "cp: cannot stat xxx No such file or directory" logs in warm standby

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Hong Yao <yahoon1982(at)gmail(dot)com>
Cc: Ian Barwick <ian(dot)barwick(at)2ndquadrant(dot)com>, "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: many "cp: cannot stat xxx No such file or directory" logs in warm standby
Date: 2020-09-29 03:33:18
Message-ID: CAKFQuwbYoCGLVRrVfNMok+j1sdZ+2cj=SACMXnMRQBNeUJMGxw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Monday, September 28, 2020, Hong Yao <yahoon1982(at)gmail(dot)com> wrote:

> Thank you, Ian.
>
> Is there a way to get rid of these msgs?
>

Use something more robust than the bare cp utility as your
restore_command. You should consider leveraging open source instead of
writing your own.

David J.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Erik Serrano 2020-09-29 13:39:32 Re: Upgrade 9.2 to 9.6 without modifying the location of the tablespaces
Previous Message Julien Rouhaud 2020-09-29 03:28:29 Re: many "cp: cannot stat xxx No such file or directory" logs in warm standby