Yes, you can retrieve your data by performing a point-in-time-restore to create a copy of your server to a known good point in time. This point in time must be within the backup retention period you have configured for your server. After the data is restored to the new server, you can either replace the original server with the newly restored server or copy the needed data from the restored server into the original server. If you accidentally deleted your server, you might be able to restore it if the deletion happened within the last 5 days. For more information on how to restore a dropped Azure Database for PostgreSQL server, see the "Restore a dropped Azure Database for PostgreSQL server" article.
References: