Skip to content

Instantly share code, notes, and snippets.

@BelRarr
Created September 26, 2019 01:25
Show Gist options
  • Save BelRarr/22bff0427670641c0792e6d896864dc8 to your computer and use it in GitHub Desktop.
Save BelRarr/22bff0427670641c0792e6d896864dc8 to your computer and use it in GitHub Desktop.
cloner une BD Azure SQL Database via PowerShell
New-AzSqlDatabaseCopy -ResourceGroupName "RG_source" `
-ServerName "serveursource.database.windows.net" `
-DatabaseName "MaBD" `
-CopyResourceGroupName "RG_destination" `
-CopyServerName "serveurdestination.database.windows.net" `
-CopyDatabaseName "MaBdClonee"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment