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
@@ -99,21 +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 needed
102
+
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 validate the version is below.
103
103
104
-
3. Connect to your Azure account and list all the subscriptions associated with your account.
4. Select the subscription that contains the database to be restored.
108
+
1. Connect to your Azure account and list all the subscriptions associated with your account.
107
109
108
-
5. List the restore points for the dedicated SQL pool (formerly SQL DW).
110
+
1. Select the subscription that contains the database to be restored.
109
111
110
-
6. Pick the desired restore point using the RestorePointCreationDate.
112
+
1. List the restore points for the dedicated SQL pool (formerly SQL DW).
111
113
112
-
7. Select the destination subscription in which the database should be restored.
114
+
1. Pick the desired restore point using the RestorePointCreationDate.
113
115
114
-
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.
116
+
1. Select the destination subscription in which the database should be restored.
115
117
116
-
9. Verify that the restored dedicated SQL pool (formerly SQL DW) is online.
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.
119
+
120
+
1. Verify that the restored dedicated SQL pool (formerly SQL DW) is online.
117
121
118
122
```powershell
119
123
$SourceSubscriptionName="<YourSubscriptionName>"
@@ -161,16 +165,21 @@ The following PowerShell script for cross-tenant restore works in the same way a
161
165
> [!NOTE]
162
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).
163
167
164
-
1. Open a PowerShell terminal.
165
-
1. Update Az.Sql Module to 3.8.0 (or greater) using `Update-Module`.
166
-
1. Connect to your Azure account using `Connect-AzAccount`.
167
-
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.
168
-
1. List the restore points for the dedicated SQL pool using `Get-AzSqlDatabaseRestorePoint`.
169
-
1. Pick the desired restore point, setting the variable `$PointInTime`.
170
-
1. In the destination tenant, make sure your user has guest access with either 'Owner' or 'Contributor' permissions.
171
-
1. Select the destination subscription along with the corresponding Tenant ID to which the dedicated SQL pool should be restored.
172
-
1. Restore the dedicated SQL pool to the desired restore point using `Restore-AzSqlDatabase`.
173
-
1. 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 validate 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