Hi there subhash-DBA
Thats a good question and thanks for posting on QandA platform
I guess yes, you're correct in your observation. The backup feature for Azure Database for PostgreSQL - Flexible Server does utilize pg_dump
internally to perform logical backups of your PostgreSQL database. These backups are stored as .sql
files in the Azure Blob Storage.
logical backups uses pg_dump
are suitable for smaller databases and provide a reliable backup mechanism, they may not scale well for very large databases, such as the 6TB database you mentioned. Logical backups involve extracting SQL statements that represent the database's schema and data, For large databases like yours, you might want to consider supplementing logical backups with other backup strategies.
If this helps kindly accept the answer thanks much.