How can I rename Azure Database for PostgreSQL flexible server as it has name

Grover, Jyoti [ABMUS] 0 Reputation points
2024-08-23T17:29:48.61+00:00

How can I rename Azure Database for PostgreSQL flexible server as it has suffix backup. We are currently using copy of backup database and did lots of development on top of it. What is the best way to rename it so that it does not have backup in the name

Azure Database for PostgreSQL
{count} votes

1 answer

Sort by: Most helpful
  1. RahulRandive 9,666 Reputation points
    2024-08-24T01:34:10.1266667+00:00

    Hi @Grover, Jyoti [ABMUS]

    At this moment, renaming an Azure Database for PostgreSQL Flexible Server directly is not supported. However, you can achieve the desired outcome by creating a new server with the preferred name and migrating your data or perform PITR. While restoring server, enter your server name without backup

    https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/how-to-restore-server-portal

    let us know if you have any questions or need additional information.

    Thank You!

    0 comments No comments

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.