Salamon, Tomasz Thank you for reaching out.
My understanding is that you are trying to restore an accidently deleted server on Azure PostgreSQL Flexible Server.
It's possible, but it will depend on the backup retention in the backend please keep in mind that this is past 5 days then it is not supported. The only way to do restore will be at the back end by creating a support ticket as you have mentioned above. Please let me know if you don't have a support plan. We can offer you a free one-time support ticket.
I also noticed that for Azure Database for MySQL - Flexible Server, it is possible to use Azure API to restore such a deleted server. Do you plan to introduce a similar solution for PostgreSQL Flexible Server?
Yes. I have checked internally and that is on the way and will be available very soon.
It will be also announced here when available or in preview.
What are the rules for a successful restore process of a deleted server for PostgreSQL - Flexible Server in cases when a support ticket is raised?
You can work with CSS by providing your server's name, which was accidently deleted, and they will restore it at the back end for you.
I hope this answers your question.
Please let me know if you have additional questions.
Regards,
Oury