This article provides step-by-step instructions to list all full backups of an Azure Database for PostgreSQL flexible server.
Steps to list all backups
Use the Azure portal:
Select your Azure Database for PostgreSQL flexible server.
In the resource menu, under the Settings section, select Backup and restore.
In Backup type, select On-demand to see only the on-demand backups that you can restore.
Use the az postgres flexible-server backup list command to list all available backups of a server.
az postgres flexible-server backup list \
--resource-group <resource_group> \
--name <server> \
--output table
Use the az postgres flexible-server backup list command to list currently available on-demand backups of a server.
az postgres flexible-server backup list \
--resource-group <resource_group> \
--name <server> \
--query "[?backupType=='Customer On-Demand']" \
--output table
Related content