You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/synapse-analytics/backuprestore/restore-sql-pool-from-deleted-workspace.md
+32-15Lines changed: 32 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,35 +34,52 @@ The following sample script accomplishes these steps:
34
34
- This step assumes that the workspace with the same name resource group and same values is still available.
35
35
- If not, recreate the dropped workspace with the same workspace name, resource group name, region, and all the same values from prior dropped workspace.
36
36
37
-
1. Construct the resource ID of the sql pool you wish to recover. The format requires `Microsoft.Sql`. This includes the date and time when the server was dropped.
37
+
1. Construct a string the resource ID of the sql pool you wish to recover. The format requires `Microsoft.Sql`. This includes the date and time when the server was dropped.
38
38
39
39
1. Restore the database from the dropped workspace. Restore to the target workspace with the source SQL pool.
40
40
41
41
1. Verify the status of the recovered database as 'online'.
42
42
43
43
```powershell
44
-
$SubscriptionID="<YourSubscriptionID>"
45
-
$ResourceGroupName="<YourResourceGroupName>"
46
-
$WorkspaceName="<YourWorkspaceNameWithoutURLSuffixSeeNote>" # Without sql.azuresynapse.net
# Get the exact date and time the workspace SQL pool was dropped.
55
+
# Get the exact date and time the workspace SQL pool was dropped.
56
56
# This assumes that the workspace with the same name resource group and same values is still available.
57
-
# If not, recreate the dropped workspace with the same workspace name, resource group name, region, and all the same values from prior dropped workspace.
57
+
# If not, recreate the dropped workspace with the same workspace name, resource group name, region,
58
+
# and all the same values from prior dropped workspace.
58
59
# There should only be one selection to select from.
# Construct the resource ID of the sql pool you wish to recover. The format requires Microsoft.Sql. This includes the approximate date time the server was dropped.
0 commit comments