Can't copy a SQL database from Azure portal

Lidia Sánchez 26 Reputation points
2021-11-25T13:02:01.303+00:00

Hi,

I'd like to copy a SQL database to create another with the same schema and storage procedures. To do that, I tried the Copy option of the Azure portal as you can see in the next image.

152558-1.png

The way I tried to apply the copy operation is shown in the next image. As you can see, the copied database will be in an elastic pool with a Standard tier.

152587-2.png

However I got this error. I searched about it but I couldn't find an explanation because the max size for a Standard tier should be 250GB, so I don't understand why the operation couldn't be done with a database of 32 GB.

152644-error.png

Thank you in advance.

Azure SQL Database
{count} votes

1 answer

Sort by: Most helpful
  1. Alan Kinane 17,356 Reputation points MVP Volunteer Moderator
    2021-11-25T13:11:01.757+00:00

    I think this might be an issue with the variable format in the JSON created by the Azure portal. If you can, maybe trying doing the database copy using a command line instead and see does it work for you - https://learn.microsoft.com/en-us/azure/azure-sql/database/database-copy?tabs=azure-powershell#copy-using-powershell-or-the-azure-cli


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.