This article describes the steps to change the configured bucket of an existing Amazon Simple Storage Service (S3) partition.
Changing the configured AWS S3 bucket of an existing Amazon Simple Storage Service (S3) partition consists of the following steps:
Ensure that you have created the AWS S3 source and destination buckets as per your business requirements. You must confirm that the new AWS S3 bucket is created with the existing settings and policy as existing AWS S3 bucket attached to the Amazon Simple Storage Service (S3) partition.
Configure replication on the AWS S3 source bucket with a new or existing IAM role. Ensure that all the files are replicated to the destination bucket before using the destination bucket on the Amazon Simple Storage Service (S3) partition.
Refer to the “How to enable replication of delete marker from AWS S3 source bucket to destination bucket” tech note.
Confirm that all the archived items have been backed up.
USE [Vault Store Database Name]
SELECT COUNT(*)
FROM WatchFileSet the vault store backup mode and then stop services on the Enterprise Vault server.
Confirm that all the archived files from the existing AWS S3 bucket are moved to the newly created AWS S3 bucket. Refer to the AWS S3 documentation for detailed instructions.
Update partition with the new bucket in the SQL Server.
USE EnterpriseVaultDirectory
DECLARE @PartitionName AS VARCHAR(200)
DECLARE @NewBucket AS VARCHAR(200)
SET @PartitionName = 'Legal_HR_Data'
SET @NewBucket = 'destination-bucket101'
SELECT settingValueText AS 'Previous Bucket' FROM ExtendedSetting
WHERE RootId = (SELECT PartitionEntryId FROM PartitionEntry WHERE PartitionName = @PartitionName)
AND settingTypeId = 2725
UPDATE ExtendedSetting SET settingValueText = @NewBucket
WHERE RootId = (SELECT PartitionEntryId FROM PartitionEntry WHERE PartitionName = @PartitionName)
AND settingTypeId = 2725
SELECT settingValueText AS 'New Bucket' FROM ExtendedSetting
WHERE RootId = (SELECT PartitionEntryId FROM PartitionEntry WHERE PartitionName = @PartitionName)
AND settingTypeId = 2725
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.