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/sql-data-warehouse/sql-data-warehouse-restore-active-paused-dw.md
+27-24Lines changed: 27 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,24 +99,25 @@ This is similar guidance to restoring an existing dedicated SQL pool, however th
99
99
100
100
1. Open PowerShell.
101
101
102
-
2. Update Az.Sql Module to 3.8.0 (or greater) if on an older version using `Update-Module`. Otherwise it will cause failures. Powershell command to valiate the version is below.
1. Update Az.Sql Module to 3.8.0 (or greater) if on an older version using `Update-Module`. Otherwise it will cause failures. A PowerShell command to valiate the version is below.
3. Connect to your Azure account and list all the subscriptions associated with your account.
108
+
1. Connect to your Azure account and list all the subscriptions associated with your account.
108
109
109
-
4. Select the subscription that contains the database to be restored.
110
+
1. Select the subscription that contains the database to be restored.
110
111
111
-
5. List the restore points for the dedicated SQL pool (formerly SQL DW).
112
+
1. List the restore points for the dedicated SQL pool (formerly SQL DW).
112
113
113
-
6. Pick the desired restore point using the RestorePointCreationDate.
114
+
1. Pick the desired restore point using the RestorePointCreationDate.
114
115
115
-
7. Select the destination subscription in which the database should be restored.
116
+
1. Select the destination subscription in which the database should be restored.
116
117
117
-
8. Restore the dedicated SQL pool (formerly SQL DW) to the desired restore point using [Restore-AzSqlDatabase](/powershell/module/az.sql/restore-azsqldatabase?toc=/azure/synapse-analytics/sql-data-warehouse/toc.json&bc=/azure/synapse-analytics/sql-data-warehouse/breadcrumb/toc.json) PowerShell cmdlet.
118
+
1. Restore the dedicated SQL pool (formerly SQL DW) to the desired restore point using [Restore-AzSqlDatabase](/powershell/module/az.sql/restore-azsqldatabase?toc=/azure/synapse-analytics/sql-data-warehouse/toc.json&bc=/azure/synapse-analytics/sql-data-warehouse/breadcrumb/toc.json) PowerShell cmdlet.
118
119
119
-
9. Verify that the restored dedicated SQL pool (formerly SQL DW) is online.
120
+
1. Verify that the restored dedicated SQL pool (formerly SQL DW) is online.
120
121
121
122
```powershell
122
123
$SourceSubscriptionName="<YourSubscriptionName>"
@@ -164,19 +165,21 @@ The following PowerShell script for cross-tenant restore works in the same way a
164
165
> [!NOTE]
165
166
> If you intend to restore your dedicated SQL pool (formerly SQL DW) to a Synapse workspace, use the additional PowerShell steps provided in [Restore an existing dedicated SQL pool](../backuprestore/restore-sql-pool.md). For more information on the differences between dedicated SQL pools, see [What's the difference between Azure Synapse (formerly SQL DW) and Azure Synapse Analytics Workspace](https://techcommunity.microsoft.com/t5/azure-synapse-analytics-blog/what-s-the-difference-between-azure-synapse-formerly-sql-dw-and/ba-p/3597772).
166
167
167
-
1. Open a PowerShell terminal.
168
-
1. Update Az.Sql Module to 3.8.0 (or greater) if on an older version using `Update-Module`. Otherwise it will cause failures. Powershell command to valiate the version is below.
3. Connect to your Azure account using `Connect-AzAccount`.
173
-
4. List all the subscriptions associated with your account along with its Tenant ID. Select the subscription that contains the source dedicated SQL pool to be restored.
174
-
5. List the restore points for the dedicated SQL pool using `Get-AzSqlDatabaseRestorePoint`.
175
-
6. Pick the desired restore point, setting the variable `$PointInTime`.
176
-
7. In the destination tenant, make sure your user has guest access with either 'Owner' or 'Contributor' permissions.
177
-
8. Select the destination subscription along with the corresponding Tenant ID to which the dedicated SQL pool should be restored.
178
-
9. Restore the dedicated SQL pool to the desired restore point using `Restore-AzSqlDatabase`.
179
-
10. Verify that the restored dedicated SQL pool (formerly SQL DW) is online in the new tenant.
168
+
1. Open a PowerShell terminal.
169
+
1. Update Az.Sql Module to 3.8.0 (or greater) if on an older version using `Update-Module`. Otherwise it will cause failures. A sample PowerShell command to valiate the version is below.
1. Connect to your Azure account using `Connect-AzAccount`.
176
+
1. List all the subscriptions associated with your account along with its Tenant ID. Select the subscription that contains the source dedicated SQL pool to be restored.
177
+
1. List the restore points for the dedicated SQL pool using `Get-AzSqlDatabaseRestorePoint`.
178
+
1. Pick the desired restore point, setting the variable `$PointInTime`.
179
+
1. In the destination tenant, make sure your user has guest access with either 'Owner' or 'Contributor' permissions.
180
+
1. Select the destination subscription along with the corresponding Tenant ID to which the dedicated SQL pool should be restored.
181
+
1. Restore the dedicated SQL pool to the desired restore point using `Restore-AzSqlDatabase`.
182
+
1. Verify that the restored dedicated SQL pool (formerly SQL DW) is online in the new tenant.
0 commit comments