I'm using a PowerShell script to create a copy of an Azure SQL Database (Database1) using the New-AzSqlDatabaseCopy command. However, the runbook times out during execution. I'd like to know:
Does the database copy operation continue in the background even after the runbook times out?
If the copied database (Database1_2025050223) appears, how can I be sure it contains the full data from the source (Database1) and not a partial copy?
Here is the command I'm using:
New-AzSqlDatabaseCopy -ResourceGroupName 'RGName' -ServerName 'RGName' -DatabaseName 'Database1' -CopyResourceGroupName 'RGName' -CopyServerName 'RGName' -CopyDatabaseName 'Database1_2025050223'