On Thu, Nov 9, 2017 at 6:16 AM, Günce Kaya <guncekaya14(at)gmail(dot)com> wrote:
> Hello,
>
> I'm getting error when using pg_basebackup as bellow;
>
> pg_basebackup: could not create directory "/data": Permission denied
>
> I couldn't overcome with that problem. Any suggestion would be appreciated.
>
> Regards,
> Gunce Kaya
>
> Linkedin <https://tr.linkedin.com/in/guncekaya> - Twitter
> <https://twitter.com/gguncesi> - Blog
> <http://www.guncekaya.blogspot.com.tr/>
>
Hi Gunce Kaya,
/data -- directory requires postgres user permission.
--
https://shreeyansh.com/
[image: http://www.shreeyansh.com] <http://www.shreeyansh.com>