Skip to content

Commit 247bcd1

Browse files
authored
Update backup-and-restore.md
- Add new section - Section name: Create User Defined Restore Points
1 parent ace155d commit 247bcd1

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

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

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ order by run_id desc
4646
4747
## User-Defined Restore Points
4848

49-
This feature enables you to manually trigger snapshots to create restore points of your data warehouse before and after large modifications. This capability ensures that restore points are logically consistent, which provides additional data protection in case of any workload interruptions or user errors for quick recovery time. User-defined restore points are available for seven days and are automatically deleted on your behalf. You cannot change the retention period of user-defined restore points. **42 user-defined restore points** are guaranteed at any point in time so they must be [deleted](#delete-user-defined-restore-points) before creating another restore point. You can trigger snapshots to create user-defined restore points through [PowerShell](/powershell/module/az.synapse/new-azsynapsesqlpoolrestorepoint?toc=/azure/synapse-analytics/sql-data-warehouse/toc.json&bc=/azure/synapse-analytics/sql-data-warehouse/breadcrumb/toc.jsont#examples) or the Azure portal.
49+
This feature enables you to manually trigger snapshots to create restore points of your data warehouse before and after large modifications. This capability ensures that restore points are logically consistent, which provides additional data protection in case of any workload interruptions or user errors for quick recovery time. User-defined restore points are available for seven days and are automatically deleted on your behalf. You cannot change the retention period of user-defined restore points. **42 user-defined restore points** are guaranteed at any point in time so they must be [deleted](#delete-user-defined-restore-points) before creating another restore point. You can trigger snapshots to create user-defined restore points by using the Azure portal or programmatically by using the [PowerShell or REST APIs](#create-user-defined-restore-points)
5050

5151
> [!NOTE]
5252
> If you require restore points longer than 7 days, please vote for this capability [here](https://feedback.azure.com/d365community/idea/4c446fd9-0b25-ec11-b6e6-000d3a4f07b8).
@@ -59,11 +59,22 @@ This feature enables you to manually trigger snapshots to create restore points
5959
>
6060
> If you need an active copy of the restored data warehouse, you can resume, which should take only a few minutes.
6161
62+
### Create User Defined Restore Points
63+
64+
To create a new user-defined restore point programmatically, verify the below methods. It is crucial to use the correct method based on the SQL Pool you are using—either a formerly SQL DW or a SQL Pool within a Synapse workspace.
65+
66+
**Azure PowerShell**
67+
- For dedicated SQL pool (formerly SQL DW), use [New-AzSqlDatabaseRestorePoint](/powershell/module/az.sql/new-azsqldatabaserestorepoint)
68+
- For dedicated SQL pool (within Synapse workspace), use [New-AzSynapseSqlPoolRestorePoint](/powershell/module/az.synapse/new-azsynapsesqlpoolrestorepoint)
69+
70+
**REST APIs**
71+
- For dedicated SQL pool (formerly SQL DW), use [Restore Points - Create](/rest/api/sql/restore-points/create)
72+
- For dedicated SQL pool (within Synapse workspace), use [Sql Pool Restore Points - Create](/rest/api/synapse/resourcemanager/sql-pool-restore-points/create)
73+
6274
### Delete User Defined Restore Points
6375

6476
To delete a specific user-defined restore point programmatically, verify the below methods. It is crucial to use the correct method based on the SQL Pool you are using—either a formerly SQL DW or a SQL Pool within a Synapse workspace.
6577

66-
6778
**Azure PowerShell**
6879
- For dedicated SQL pool (formerly SQL DW), use [Remove-AzSqlDatabaseRestorePoint](/powershell/module/az.sql/remove-azsqldatabaserestorepoint)
6980
- For dedicated SQL pool (within Synapse workspace), use [Remove-AzSynapseSqlPoolRestorePoint](/powershell/module/az.synapse/remove-azsynapsesqlpoolrestorepoint)

0 commit comments

Comments
 (0)