On Wed, Aug 10, 2016 at 11:06 PM, Yelai, Ramkumar <ramkumar.yelai@xxxxxxxxxxx> 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 -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general