Share via

Postgresql Flexible Server Restore get stuck

Rafa Lachica Garrido 40 Reputation points
2026-05-27T13:00:23.5666667+00:00

Good afternoon,

I have created a restore backup from a PostgreSQL Flexible server through Azure portal, using point in time to restore, however, after more than 3 hours, the backup is not yet ready.

I have check the credits from the original DB, and everything seems fine.

Thanks

Azure Database for PostgreSQL

Answer accepted by question author

Andrew Taylor - COREZENN 980 Reputation points Volunteer Moderator
2026-05-27T15:34:57.1466667+00:00

Hello @Rafa Lachica Garrido

Thank you for reaching out to Microsoft Q&A. I understand your issue is with PostgreSQL Flexible server backup.

Restore duration for PostgreSQL Flexible Server PITR

This can be normal for a point-in-time restore on Azure Database for PostgreSQL Flexible Server.

Microsoft documents that PITR recovery time usually ranges from a few minutes to a few hours, and it depends mainly on:

  • how much transaction log data must be replayed after the last snapshot backup
  • the number of databases being recovered
  • the restore target and region

For custom/latest restore points, Azure first restores the snapshot backup and then replays WAL/logs to bring the server to the requested time. That log-recovery phase is what usually takes the time.

If your goal is the fastest possible restore, use Restore to full backup (fast restore) or choose a backup timestamp instead of a custom point in time. Fast restore skips log replay and is therefore quicker.

Also, keep in mind that a restore creates a new server; it does not overwrite the existing one. You can monitor the restore operation in the Activity log or under Jobs in the portal.

If the operation is still running after 3 hours, it is worth checking the Activity log to confirm that the restore is progressing. If there is no progress or the restore eventually fails, open a support request with the restore operation details.

I hope this was helpful. Please mark this as an "accepted" answer if you found this helpful and follow me here on Microsoft Q&A. Have a wonderful day!

Best regards,
Andrew Taylor


Reference: Microsoft Learn — Backup and restore in Azure Database for PostgreSQL

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Rafa Lachica Garrido 40 Reputation points
    2026-05-27T15:43:01.05+00:00

    It almost took 5h based on the image below:

    User's image

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.