FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
PostgreSQL Backups and Point-in-Time Recovery with pgBackRest
How-ToSystems

PostgreSQL Backups and Point-in-Time Recovery with pgBackRest

via Dev.toMohamed Hussain S12h ago

This article is part of a series on PostgreSQL WAL. Part 1 - How PostgreSQL WAL Actually Works Part 2 - How Debezium Uses PostgreSQL WAL for CDC Part 3 - PostgreSQL Backups with pgBackRest and PITR In the previous articles, we've explored how PostgreSQL records every change inside the database using Write-Ahead Logging (WAL) . We also saw how tools like Debezium can read WAL to stream database changes in real time. But WAL has another very important role. It enables database backups and recovery . By combining a base backup with archived WAL segments, PostgreSQL can restore a database to any specific moment in time . This capability is known as Point-in-Time Recovery (PITR) . In this article, we’ll explore how this works and how to implement it using pgBackRest. Why Backups Alone Are Not Enough A common backup strategy is to take periodic full backups of a database. For example: 02:00 → Full backup taken 14:00 → Accidental DELETE executed If we restore the 02:00 backup, the database re

Continue reading on Dev.to

Opens in a new tab

Read Full Article
0 views

Related Articles

Building a First-Person Physics Interaction System in Unreal Engine 5
How-To

Building a First-Person Physics Interaction System in Unreal Engine 5

Medium Programming • 12h ago

How-To

Day 5 of My Selenium Automation Journey: Getting Started with TestNG

Medium Programming • 12h ago

Most Meetings Are a Synchronous Solution to an Asynchronous Problem
How-To

Most Meetings Are a Synchronous Solution to an Asynchronous Problem

Medium Programming • 12h ago

BYD's latest EVs can get close to full charge in just 12 minutes
How-To

BYD's latest EVs can get close to full charge in just 12 minutes

Ars Technica • 12h ago

Here's a comprehensive breakdown of the major components required to build a rocket, organized by…
How-To

Here's a comprehensive breakdown of the major components required to build a rocket, organized by…

Medium Programming • 13h ago

Discover More Articles