PostgreSQL 13 – Improved base backup

PostgreSQL 13 has been released with more than 160 new features compared to its previous versions”

In this article we will try to understand what’s new about pg_basebackup in PostgreSQL 13

pg_basebackup is a widely used PostgreSQL backup tool that allows us to take an ONLINE and CONSISTENT file system level backup. These backups can be used for point-in-time-recovery or to set up a slave/standby.

PostgreSQL 13 – What’s new in pg_basebackup?

How do you take base backup?

base backup can be taken using below command

pg_basebackup -D /u01/basebackup -Ft -z –checkpoint=fast -P

The above command will take the backup to /u01/basebackup folder

Now let me check the content of the folder

But what is that backup_manifest file?

OK, can I check the progress of backup of backup?

Can I do it with ps -ef | grep postgres?

Well, what two wal senders are doing here?

Well, The article is going to be updated soon with the detailed understanding on pg_basebackup in version 13

Stay tuned !!

Leave a Reply