如何查找 azure sql 数据库的所有备份?

问题描述 投票:0回答:1
I have an azure sql database. I have initiated backups. But if i go to restore i want to 
pick which restore i want . I would have expected to find a list of backups like the f 

以下:

        Fullbackup <date>
        Sequential <date>   
        Sequential <date>
        Sequential <date>
        Fullbackup <date>   etc

我可以选择要恢复的备份。 我尝试过寻找它们,但似乎找不到。

如何获取备份列表? 另外为什么它会恢复到相同的资源组,我可以更改它吗? 我还可以恢复到不同的 SQL Server 吗?

azure-sql-database
1个回答
0
投票

您可以使用以下 PowerShell cmdlet 获取所有还原点的列表:

Get-AzureRmSqlDatabaseRestorePoints -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -DatabaseName 

上一个 cmdlet 的结果可能类似于以下内容:

ResourceGroupName        : resourcegroup01
ServerName               : server01
DatabaseName             : database01
Location                 : Central US
RestorePointType         : CONTINUOUS
RestorePointCreationDate : 
EarliestRestoreDate      : 1/18/2024 12:00:00 AM
RestorePointLabel        : RestorePoint01

您可以恢复到同一区域上的另一个资源组,如果您使用地理冗余备份,您也可以恢复到其他区域。

© www.soinside.com 2019 - 2024. All rights reserved.