pgBackrest and newer timelines

From: "Colin 't Hart" <colinthart(at)gmail(dot)com>
To: PostgreSQL General <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: pgBackrest and newer timelines
Date: 2025-12-10 11:43:01
Message-ID: CAMon-aTxU9dOJ2Z7F3PvAbNYRygNgfY-zxsGgK4k8iQFRZrEew@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Before a migration we tested a database restore on the new server -- which
was configured to archive its WAL, and has archived WAL on a new timeline
to our central backup server. We tested this twice.

Now we have done the migration, which due to the size of the database we
achieved by detaching the disks from the old server and attaching them to
the new (this was the easiest way to achieve an OS upgrade from Ubuntu
20.04 to Debian 12). ((Yes we reindexed the text columns.))

So now our new server is still on the original timeline, but our backup
server contains WAL from two new timelines.

What should we do? Can we safely remove that WAL from the backup server?
How?

Thanks,

Colin

Browse pgsql-general by date

  From Date Subject
Next Message Ahmed Et-tanany 2025-12-15 11:58:43 Operational issues when max_replication_slots is exhausted
Previous Message Michael Paquier 2025-12-10 06:44:29 Re: strict-aliasing warning