Is there a way to nightly sync one DB with another?

mitya33 1 Reputation point
2024-08-20T10:58:45.75+00:00

Is there a way to set up a nightly sync between two (Azure-hosted) Postgres databases?

I've read about Azure Data Sync for SQL, but from what I can tell it doesn't apply to Postgres DBs.

Basically we have a live DB, and a stage DB, and we would like the contents of the live DB to be copied to the stage DB every 24 hours.

Thanks in advance

Azure Database for PostgreSQL
{count} votes

1 answer

Sort by: Most helpful
  1. Oury Ba-MSFT 18,616 Reputation points Microsoft Employee
    2024-09-03T18:45:57.94+00:00

    mitya33

    Sorry for the late response in regard to the above ask.

    Please discard my previous response.

    If you need to perform stage cutovers every 24 hours for reporting purposes, you can utilize on-demand backups. This feature will allow you to take backups at a scheduled time, which can then be used to perform Point-In-Time Recovery (PITR) in the staging environment.

    On-demand backup is currently in private preview and is expected to enter public preview next month. If you are interested in testing this feature, we can enroll you.

    Regards,

    Oury


Your answer

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