This article describes the steps to change the configured container of an existing Microsoft Azure Blob Storage partition.
Changing the configured Microsoft Azure blob Container of an existing Microsoft Azure Blob Storage partition consists of the following steps:
Ensure that you have created the Microsoft Azure blob source container and destination container as per your business requirements. You must confirm that the new Microsoft Azure blob container is created with the existing settings and policy as the existing Microsoft Azure blob container attached to the Microsoft Azure Blob Storage partition.
Configure replication on the Microsoft Azure Storage account with Microsoft Azure credentials. Ensure that all the files are replicated to the destination container before using the destination container on the Microsoft Azure Blob Storage partition.
Confirm that all the archived items have been backed up.
Set the vault store backup mode and then stop services on the Enterprise Vault server.
Confirm that all the archived files from the existing Microsoft Azure blob container are moved to the newly created Microsoft Azure blob container. Refer to the Microsoft Azure documentation for detailed instructions.
Update partition with the new container in the SQL Server.
USE EnterpriseVaultDirectory
DECLARE @PartitionName AS VARCHAR(200)
DECLARE @Container AS VARCHAR(200)
DECLARE @StorageAccountName AS VARCHAR(200)
SET @PartitionName = 'VS Ptn10'
SET @Container = 'container name you want to setup'
SET @StorageAccountName = 'storage account name you want to setup'
SELECT settingValueText AS 'Previous Container' FROM ExtendedSetting
WHERE RootId = (SELECT PartitionEntryId FROM PartitionEntry WHERE PartitionName = @PartitionName)
AND settingTypeId = 2830
UPDATE ExtendedSetting SET settingValueText = @Container
WHERE RootId = (SELECT PartitionEntryId FROM PartitionEntry WHERE PartitionName = @PartitionName)
AND settingTypeId = 2830
SELECT settingValueText AS 'New Container' FROM ExtendedSetting
WHERE RootId = (SELECT PartitionEntryId FROM PartitionEntry WHERE PartitionName = @PartitionName)
AND settingTypeId = 2830
SELECT settingValueText AS 'Previous StorageAccount' FROM ExtendedSetting
WHERE RootId = (SELECT PartitionEntryId FROM PartitionEntry WHERE PartitionName = @PartitionName)
AND settingTypeId = 2820
UPDATE ExtendedSetting SET settingValueText = @StorageAccountName
WHERE RootId = (SELECT PartitionEntryId FROM PartitionEntry WHERE PartitionName = @PartitionName)
AND settingTypeId = 2820
SELECT settingValueText AS 'New StorageAccount' FROM ExtendedSetting
WHERE RootId = (SELECT PartitionEntryId FROM PartitionEntry WHERE PartitionName = @PartitionName)
AND settingTypeId = 2820
Start Enterprise Vault services, confirm that the archived items can be opened, and clear the backup mode on the Enterprise Vault Server.
For more information about Enterprise Vault backup mode, see How to verify backup mode for Enterprise Vault (EV) event log using Event ID messages.
Important Notes: