Thank you for reaching out.
Sorry about the issue you are facing.
Seems like Your Database was created under temporary tablespace, this temporary tablespace is created by default in Azure database for PostgreSQL Flexible Server to store the temporary files. As this tablespace is only meant to store temporary files, we do not back it up during maintenance activities or server restarts. Because of this, the files inside this temporary tablespace got cleaned up.
Unfortunately we don't have a way to recover the data in this situation, we totally recommend to not create any permanent objects or databases under temporary tablespace. References:
- Limits in Azure Database for PostgreSQL - Flexible Server
- Overview of business continuity with Azure Database for PostgreSQL - Flexible Server
Please check and let us know.
Regards,
Oury