Skip to content

Commit a5cf034

Browse files
authored
Merge pull request #197415 from realAngryAnalytics/20220504-bcdrcleanup
20220506 0104 perform some cleanup to update docs
2 parents 92bd31d + 9f60571 commit a5cf034

File tree

5 files changed

+21
-16
lines changed

5 files changed

+21
-16
lines changed

articles/synapse-analytics/backuprestore/restore-sql-pool.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Steps:
140140

141141
9. Verify that the restored dedicated SQL pool (formerly SQL DW) is online.
142142

143-
10. If the desired destination is a Synapse Workspace, uncomment the code to perform the additional restore step.
143+
10. **If the desired destination is a Synapse Workspace, uncomment the code to perform the additional restore step.**
144144
1. Create a restore point for the newly created data warehouse.
145145
2. Retrieve the last restore point created by using the "Select -Last 1" syntax.
146146
3. Perform the restore to the desired Synapse workspace.
@@ -164,12 +164,12 @@ Get-AzSubscription
164164
Select-AzSubscription -SubscriptionName $SourceSubscriptionName
165165
166166
# list all restore points
167-
Get-AzSynapseSqlPoolRestorePoint -ResourceGroupName $ResourceGroupName -WorkspaceName $WorkspaceName -Name $SQLPoolName
167+
Get-AzSynapseSqlPoolRestorePoint -ResourceGroupName $SourceResourceGroupName -WorkspaceName $SourceWorkspaceName -Name $SourceSQLPoolName
168168
# Pick desired restore point using RestorePointCreationDate "xx/xx/xxxx xx:xx:xx xx"
169169
$PointInTime="<RestorePointCreationDate>"
170170
171171
# Get the specific SQL pool to restore
172-
$SQLPool = Get-AzSynapseSqlPool -ResourceGroupName $ResourceGroupName -WorkspaceName $WorkspaceName -Name $SQLPoolName
172+
$SQLPool = Get-AzSynapseSqlPool -ResourceGroupName $SourceResourceGroupName -WorkspaceName $SourceWorkspaceName -Name $SourceSQLPoolName
173173
# Transform Synapse SQL pool resource ID to SQL database ID because currently the restore command only accepts the SQL database ID format.
174174
$DatabaseID = $SQLPool.Id -replace "Microsoft.Synapse", "Microsoft.Sql" `
175175
-replace "workspaces", "servers" `
@@ -180,7 +180,7 @@ Select-AzSubscription -SubscriptionName $TargetSubscriptionName
180180
181181
# Restore database from a desired restore point of the source database to the target server in the desired subscription
182182
$RestoredDatabase = Restore-AzSqlDatabase –FromPointInTimeBackup –PointInTime $PointInTime -ResourceGroupName $TargetResourceGroupName `
183-
-ServerName $TargetServerName -TargetDatabaseName $TargetDatabaseName –ResourceId $Database.ID
183+
-ServerName $TargetServerName -TargetDatabaseName $TargetDatabaseName –ResourceId $DatabaseID
184184
185185
# Verify the status of restored database
186186
$RestoredDatabase.status
@@ -198,7 +198,11 @@ $RestoredDatabase.status
198198
199199
```
200200

201-
201+
## Troubleshooting
202+
A restore operation can result in a deployment failure based on a "RequestTimeout" exception.
203+
![Screenshot from resource group deployments dialog of a timeout exception.](../media/sql-pools/restore-sql-pool-troubleshooting-01.png)
204+
This timeout can be ignored. Review the dedicated SQL pool blade in the portal and it may still have status of "Restoring" and eventually will transition to "Online".
205+
![Screenshot of SQL pool dialog with the status that shows restoring.](../media/sql-pools/restore-sql-pool-troubleshooting-02.png)
202206

203207
## Next Steps
204208

7.91 KB
Loading
9.33 KB
Loading

articles/synapse-analytics/sql-data-warehouse/backup-and-restore.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
title: Backup and restore - snapshots, geo-redundant
33
description: Learn how backup and restore works in Azure Synapse Analytics dedicated SQL pool. Use backups to restore your data warehouse to a restore point in the primary region. Use geo-redundant backups to restore to a different geographical region.
4-
author: joannapea
5-
manager: craigg
4+
author: realAngryAnalytics
5+
manager: joannapea
66
ms.service: synapse-analytics
77
ms.topic: conceptual
88
ms.subservice: sql-dw
9-
ms.date: 11/13/2020
10-
ms.author: joanpo
11-
ms.reviewer: igorstan
9+
ms.date: 05/04/2022
10+
ms.author: stevehow
11+
ms.reviewer: joanpo
1212
ms.custom: seo-lt-2019"
1313
---
1414

@@ -58,9 +58,6 @@ The following lists details for restore point retention periods:
5858

5959
When you drop a dedicated SQL pool, a final snapshot is created and saved for seven days. You can restore the dedicated SQL pool to the final restore point created at deletion. If the dedicated SQL pool is dropped in a paused state, no snapshot is taken. In that scenario, make sure to create a user-defined restore point before dropping the dedicated SQL pool.
6060

61-
> [!IMPORTANT]
62-
> If you delete the server/workspace hosting a dedicated SQL pool, all databases that belong to the server/workspace are also deleted and cannot be recovered. You cannot restore a deleted server.
63-
6461
## Geo-backups and disaster recovery
6562

6663
A geo-backup is created once per day to a [paired data center](../../availability-zones/cross-region-replication-azure.md?toc=/azure/synapse-analytics/sql-data-warehouse/toc.json&bc=/azure/synapse-analytics/sql-data-warehouse/breadcrumb/toc.json). The RPO for a geo-restore is 24 hours. You can restore the geo-backup to a server in any other region where dedicated SQL pool is supported. A geo-backup ensures you can restore data warehouse in case you cannot access the restore points in your primary region.
@@ -94,11 +91,11 @@ You can either keep the restored data warehouse and the current one, or delete o
9491

9592
To restore a data warehouse, see [Restore a dedicated SQL pool](sql-data-warehouse-restore-points.md#create-user-defined-restore-points-through-the-azure-portal).
9693

97-
To restore a deleted or paused data warehouse, you can [create a support ticket](sql-data-warehouse-get-started-create-support-ticket.md).
94+
To restore a deleted data warehouse, see [Restore a deleted database](sql-data-warehouse-restore-deleted-dw.md), or if the entire server was deleted, see [Restore a data warehouse from a deleted server](sql-data-warehouse-restore-from-deleted-server.md).
9895

9996
## Cross subscription restore
10097

101-
If you need to directly restore across subscription, vote for this capability [here](https://feedback.azure.com/d365community/idea/dea9ea22-0a25-ec11-b6e6-000d3a4f07b8). Restore to a different server and ['Move'](../../azure-resource-manager/management/move-resource-group-and-subscription.md?toc=/azure/synapse-analytics/sql-data-warehouse/toc.json&bc=/azure/synapse-analytics/sql-data-warehouse/breadcrumb/toc.json) the server across subscriptions to perform a cross subscription restore.
98+
You can perform a cross-subscription restore by follow the guidance [here](sql-data-warehouse-restore-active-paused-dw.md#restore-an-existing-dedicated-sql-pool-formerly-sql-dw-to-a-different-subscription-through-powershell).
10299

103100
## Geo-redundant restore
104101

@@ -107,6 +104,10 @@ You can [restore your dedicated SQL pool](sql-data-warehouse-restore-from-geo-ba
107104
> [!NOTE]
108105
> To perform a geo-redundant restore you must not have opted out of this feature.
109106
107+
## Support Process
108+
109+
You can [submit a support ticket](sql-data-warehouse-get-started-create-support-ticket.md) through the Azure portal for Azure Synapse Analytics.
110+
110111
## Next steps
111112

112113
For more information about restore points, see [User-defined restore points](sql-data-warehouse-restore-points.md)

articles/synapse-analytics/sql-data-warehouse/sql-data-warehouse-restore-from-deleted-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ In this article, you learn how to restore a dedicated SQL pool (formerly SQL DW)
4141
```powershell
4242
$SubscriptionID="<YourSubscriptionID>"
4343
$ResourceGroupName="<YourResourceGroupName>"
44-
$ServereName="<YourServerNameWithoutURLSuffixSeeNote>" # Without database.windows.net
44+
$ServerName="<YourServerNameWithoutURLSuffixSeeNote>" # Without database.windows.net
4545
$DatabaseName="<YourDatabaseName>"
4646
$TargetServerName="<YourtargetServerNameWithoutURLSuffixSeeNote>"
4747
$TargetDatabaseName="<YourDatabaseName>"

0 commit comments

Comments
 (0)