Re: pgbasebackup is failing after truncate - Mailing list pgsql-general

From Jeff Janes
Subject Re: pgbasebackup is failing after truncate
Date
Msg-id CAMkU=1xsi9i98av0TZ5YzWsyd=b=0+ie0-fh75vOnRqBemHTHA@mail.gmail.com
Whole thread Raw
In response to pgbasebackup is failing after truncate  ("Yelai, Ramkumar" <ramkumar.yelai@siemens.com>)
Responses Re: pgbasebackup is failing after truncate
List pgsql-general
On Wed, Aug 10, 2016 at 11:06 PM, Yelai, Ramkumar
<ramkumar.yelai@siemens.com> wrote:
> HI
>
> At present, I have some requirement to truncate the data base  to reclaim
> disk space and at the same time I need to take basebackup.
>
> Seems, truncate is successfully reclaimed the space but pgbasebackup failed
> and reported the below error.
>
> “could not stat file or directory ./base/16384/25600: Permission denied.

Are you on MS Windows?  If so, sounds like a possible variant of BUG #14243

Cheers,

Jeff


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Corrupted Data ?
Next
From: Ioana Danes
Date:
Subject: Re: Corrupted Data ?