From: | Kashif Zeeshan <kashi(dot)zeeshan(at)gmail(dot)com> |
---|---|
To: | Yongye Serkfem <yserkfem(at)gmail(dot)com> |
Cc: | pgsql-admin(at)lists(dot)postgresql(dot)org |
Subject: | Re: pg_basebackup Failed |
Date: | 2024-04-25 14:33:01 |
Message-ID: | CAAPsdhdW2ghyhNfk=n9+DQUJcsLR7JoYhkCx7O=GgGHVizE3UA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Hi
To debug the issue, try to take the backup to a location where user taking
the backup has Access, provide the location with -D option.
This way it will be confirmed if the issue is due to permissions.
Thanks
Kashif Zeeshan
Bitnine Global
On Thu, Apr 25, 2024 at 5:35 PM Yongye Serkfem <yserkfem(at)gmail(dot)com> wrote:
> Hi All,
> I do not know why I am having this problem. My pg_basebackup which I took
> using this command "pg_basebackup -h xxxxxx -p 5432 -U postgres_repuser -D
> /data/postgres -R" is failing with this error message "pg_basebackup:
> error: could not create directory "/data/postgres/pg_log": File exists"
> I cleaned up that directory using rm -rf /data/postgres/ .*/ and I still
> end up with the above error message.
> Any suggestions will be highly appreciated.
>
> Yong
>
From | Date | Subject | |
---|---|---|---|
Next Message | Sunil Jadhav | 2024-04-25 14:58:58 | Required distinct record with all fields |
Previous Message | Mahendra Singh | 2024-04-25 13:05:44 | Re: pg_basebackup Failed |