Disaster Recovery in PostgreSQL 18 is the process of recovering databases after failures such as server crashes, hardware failures, accidental deletion, or data corruption, utilizing base backups, WAL archiving, streaming replication between primary and standby servers, and Point-In-Time Recovery (PITR) to restore data to any desired point in time.
Deep Dive
Prerequisite Knowledge
- No data available.
Where to go next
- No data available.
Deep Dive
Day 13: PostgreSQL 18 Disaster Recovery Guide #postgresql #dba #day13Added:
Hello everyone, welcome to Chirag Postgres SQL DBA tutorial. This is a day 13 Postgres SQL 18 zero to hero in 30 days course. So in day 13, we are going to learn about the Postgres SQL 18 disaster recovery guide and [snorts] Postgres SQL there will be the backup, recovery, high availability and data protection. In the day 12, we are going to through this. And [snorts] first question is that what is the disaster recovery in Postgres SQL 18? So disaster recovery DR in the Postgres 18 is the process to recovering data from the after failure like the server crashes, hardware failure, accidental deletion or the data corruption using the base backup and WAL archiving and replication and point in time recovery.
So [snorts] in our case, we have a two servers. One is the primary server, another is the standby server. So primary server will take a backup and will test with the base backup and disaster recovery also and WAL archiving. And we'll also configure configure here in this video that we are go through we are going through the streaming backup, streaming replication.
>> [snorts] >> So that replication will keep the data on the two server. So we have a created step-by-step full process for the this tutorial. You can go through this URL.
I'll provide you the URL in the top of this description.
So there we have created all and here you can see all the details about the recovery and all the step-by-step process we have done.
So final our architecture will be that the replication will connected with a primary server and streaming replication between primary to standby server. There is a WAL archiving and backup storage will create that. So full recovery workflow is that normally normal operation user insert and update data WAL generated, WAL archive and base backup created in standby receive replication. And during the disaster, server crashes, it base backup, uh replay wall files, recover transaction, remote standby if required, and resume application. So, all the details step-by-step we have done. And we have the two servers.
This is the first server. We can check that the wall archiving is on.
Uh wall command is this command and PG wall recovery.
Okay. So, here you can check all the data, whatever the data we have inserted, all the data we will get on the second server also. So, all the details of step-by-step process you can go through the full video.
>> [snorts] >> So, disclaimer is there. All this video is created for the education and information purpose only under the fair use section 107 copyright at 1976. All trademarks and logos belong to their respective owners. You can follow me on >> [snorts] >> uh social media links. And hope this will help. Thank you for watching. Don't forget to follow, like, share, and comment, and subscribe to my channel.
Thank you.
Related Videos
Agentforce NOW AMA: Build with React and Salesforce Multi-Framework
SalesforceDevs
490 viewsβ’2026-05-28
How agent o11y differs from traditional o11y β Phil Hetzel, Braintrust
aiDotEngineer
450 viewsβ’2026-05-28
WEB TECHNOLOGIES UNIT-2 | Degree 4th sem BCOM Computers web technologies unit-2 full explanationπ―β
LearnwithSahera
1K viewsβ’2026-05-29
More tests are always better? How to use AI to identify tests that bring little value
Alliance4Qualification
335 viewsβ’2026-05-29
Search Algorithms Explained in 60 Seconds! π€π¨
samarthtuliofficial
218 viewsβ’2026-06-01
People of Game of Thrones using JavaScript DOM
AltCampus
296 viewsβ’2026-05-30
Introduction to Problem Solving Part - 1 | Lecture 1 | Intermediate DSA
ascensionix
107 viewsβ’2026-05-29
So What's Odin Lang Even Good For
TechOverTea
131 viewsβ’2026-06-01











