pg.ddx.io pgsql-general@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Özge Özyavuz <Ozge.Ozyavuz@softtech.com.tr>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: help for pg_wal issue
Date: Mon, 27 Jun 2022 12:28:18 +0200
Message-ID: <b41775148d9f69bd76a4f42f5cbe25dfd56d5e47.camel@cybertec.at> (raw)
In-Reply-To: <711385ec7a194f279fe1f8f7141a81b2@softtech.com.tr>
References: <711385ec7a194f279fe1f8f7141a81b2@softtech.com.tr>
On Mon, 2022-06-27 at 09:50 +0000, Özge Özyavuz wrote:
> I want to backup my postgresql database but it fails because it is looking for some wal files on pg_wal directory.
>
> Before backup I checked my pg_wal directory and I saw the wal file,
>
> bash-4.2$ cd /pgdata/pgsql/data/pg_wal
> bash-4.2$ ls
> -rw------- 1 postgres postgres 16777216 Jun 24 01:01 000000010000000A000000AE
> -rw------- 1 postgres postgres 16777216 Jun 24 01:01 000000010000000A000000AF
> -rw------- 1 postgres postgres 16777216 Jun 24 01:01 000000010000000A000000B0
> -rw------- 1 postgres postgres 16777216 Jun 24 01:01 000000010000000A000000B1
> -rw------- 1 postgres postgres 16777216 Jun 24 01:01 000000010000000A000000B2
> -rw------- 1 postgres postgres 16777216 Jun 24 01:01 000000010000000A000000B3
> -rw------- 1 postgres postgres 16777216 Jun 24 01:01 000000010000000A000000B4
> -rw------- 1 postgres postgres 16777216 Jun 24 01:16 000000010000000A000000B5
> -rw------- 1 postgres postgres 16777216 Jun 24 01:31 000000010000000A000000B6
> -rw------- 1 postgres postgres 16777216 Jun 24 01:46 000000010000000A000000B7
>
> But backup fails with,
>
> Failed to open: /pgdata//pgsql/data/pg_wal/000000010000000A000000AE
> Error! The backup has failed.
>
> After I checked pg_wal directory and really there is no such file, it was not appear on disk. What can I do for this? Please help..
>
> bash-4.2$ cd /pgdata/pgsql/data/pg_wal
> bash-4.2$ ls
> -rw------- 1 postgres postgres 16777216 Jun 24 01:01 000000010000000A000000AF
> -rw------- 1 postgres postgres 16777216 Jun 24 01:01 000000010000000A000000B0
> -rw------- 1 postgres postgres 16777216 Jun 24 01:01 000000010000000A000000B1
> -rw------- 1 postgres postgres 16777216 Jun 24 01:01 000000010000000A000000B2
> -rw------- 1 postgres postgres 16777216 Jun 24 01:01 000000010000000A000000B3
> -rw------- 1 postgres postgres 16777216 Jun 24 01:01 000000010000000A000000B4
> -rw------- 1 postgres postgres 16777216 Jun 24 01:16 000000010000000A000000B5
> -rw------- 1 postgres postgres 16777216 Jun 24 01:31 000000010000000A000000B6
> -rw------- 1 postgres postgres 16777216 Jun 24 01:46 000000010000000A000000B7
> -rw------- 1 postgres postgres 16777216 Jun 24 02:01 000000010000000A000000B8
You forgot to tell us how exactly you are performing that backup.
Yours,
Laurenz Albe
view thread (5+ messages) latest in thread
Message-ID: <b41775148d9f69bd76a4f42f5cbe25dfd56d5e47.camel@cybertec.at> Permalink: ../b41775148d9f69bd76a4f42f5cbe25dfd56d5e47.camel@cybertec.at/ Also on: postgresql.org/message-id/b41775148d9f69bd76a4f42f5cbe25dfd56d5e47.camel@cybertec.at ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients from your mail client; the link fills in the headers below: reply via email Some clients, webmail especially, drop In-Reply-To and References from a link, and the reply then starts a new thread: use the mbox below. To: pgsql-general@postgresql.org Cc: laurenz.albe@cybertec.at, Ozge.Ozyavuz@softtech.com.tr Subject: Re: help for pg_wal issue In-Reply-To: <b41775148d9f69bd76a4f42f5cbe25dfd56d5e47.camel@cybertec.at> References: <711385ec7a194f279fe1f8f7141a81b2@softtech.com.tr> <b41775148d9f69bd76a4f42f5cbe25dfd56d5e47.camel@cybertec.at> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox