更改Azure备份保管库冗余 [英] Change Azure Backup Vault Redundancy

查看:97
本文介绍了更改Azure备份保管库冗余的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用Azure备份,并将我们的备份保管库设置为使用GRS.我们想改用LRS.可以理解的是,一旦将机器添加到Vault中,就无法更改此设置,我们需要从头开始.两个问题:

We use Azure Backup and set our backup vaults to use GRS. We want to use LRS instead. It is understood that this cannot be changed once machines have been added to the vault, and we need to start from scratch. Two questions:

  1. 在为同一服务器设置新保管库之前,是否需要先删除当前保管库?

  1. Do I need to remove the current vault first before I set up a new vault for that same server?

是否可以将当前备份转移到新的保管库?

Can the current backups be transferred to the new vault?

推荐答案

更改恢复服务Vault的存储复制类型可以通过门户网站或PowerShell来实现.不幸的是,此选项在门户中显示为灰色,并且在cmdlet成功执行时,它不会更改基础值:如果保险库中已包含一个或多个受保护实例.

Changing a Recovery Service Vault's storage replication type can be achieved via the Portal or PowerShell. Unfortunately, this option is greyed-out in the Portal, and whilst the cmdlet successfully executes, it doesn't change the underlying value: if there is one or more Protected Instances already contained in the vault.

因此,并且由于默认值为GeoRedundant,必须在保护任何项目之前设置此值.

Because of this, and because the default value is GeoRedundant, this must be set before any items have been protected.

要通过门户将存储设置为本地冗余":

To set the storage to Locally Redundant via the Portal:

  • 创建/打开Recovery Services Vault
  • 向下滚动并选择备份基础结构
  • 选择备份配置
  • 存储复制类型设置为本地冗余
  • Create/Open the Recovery Services Vault
  • Scroll-down and select Backup Infrastructure
  • Select Backup Configuration
  • Set Storage replication type to Locally-redundant

要通过PowerShell实现相同目的:

To achieve the same via PowerShell:

$RG = 'testResourceGroup'
$VaultName = 'testVault'
$Location = 'Central US'

$vault = Get-AzureRmRecoveryServicesVault -ResourceGroupName $RG -Name $VaultName
If (-not $vault) {
    $vault = New-AzureRmRecoveryServicesVault -ResourceGroupName $RG -Location $Location -Name $VaultName
}
Set-AzureRmRecoveryServicesBackupProperties -Vault $vault -BackupStorageRedundancy LocallyRedundant

关于删除现有的保管库和转移现有的备份点:

With regards removing existing vaults and transferring existing backup points:

  1. 不需要删除现有的保管库,但是需要先从保管库中删除所有受保护的项目,然后才能将其添加到新的保管库中.仅停止对受保护项目的备份是不够的-必须先删除所有还原点,然后才能将该项目添加到新保管库中.
  2. 我在Portal或PowerShell中找不到任何可以迁移现有受保护项目和/或还原点的文档,工具

这篇关于更改Azure备份保管库冗余的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆