Azure / Azure/azure-powershell

Get-AzSqlDatabaseRestorePoint Only Returns Earliest Restore Point not All

Open
#24,954 3 comments 0 reactions 0 assignees View on GitHub
act-observability-squad customer-reported needs-team-attention SQL - Backup & Restore
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Type of issue

Other (describe below)

### Feedback

`Get-AzSqlDatabaseRestorePoint -ResourceGroupName "xxx" -ServerName "xxx" -DatabaseName "xxx"

ResourceGroupName : xxx
ServerName : xxx
DatabaseName : xxx
Location : xxx
RestorePointType : Continuous
RestorePointCreationDate :
EarliestRestoreDate : 5/10/2024 3:58:13 PM
RestorePointLabel `

### Page URL

https://learn.microsoft.com/en-us/powershell/module/az.sql/get-azsqldatabaserestorepoint?view=azps-11.6.0&tryIt=true&source=docs#code-try-1

### Content source URL

https://github.com/Azure/azure-powershell/blob/main/src/Sql/Sql/help/Get-AzSqlDatabaseRestorePoint.md

### Author

@mikefrobbins

### Document Id

3027a244-13f3-14da-d4e9-0caa8b20de30

Contributor guide

Open the contributing guide

Research direction

Start with src/Sql/Sql/help/Get-AzSqlDatabaseRestorePoint.md and reproduce the documented Get-AzSqlDatabaseRestorePoint example against a database with multiple restore points. Trace the cmdlet entry point to determine whether the implementation or help is responsible for returning only the earliest point. Done means the cmdlet returns all expected restore points and the documentation matches its behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp, powershell, sql
Domain
cli, cloud, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.