This article describes the steps to change the bucket of an existing Generic Simple Storage Service (S3) partition.
Note: This article is applicable only when replication is enabled on the S3-compliant storage device's bucket .
Changing the configured S3-compliant bucket of an existing Generic Simple Storage Service (S3) partition consists of the following steps:
Ensure that you have created the S3-compliant source and destination buckets as per your business requirements. You must confirm that the new S3-compliant bucket is created with the existing settings and policy as existing S3-compliant bucket attached to the Generic Simple Storage Service (S3) partition.
Configure replication on the S3-compliant source bucket. Ensure that all the files are replicated to the destination bucket before using the destination bucket on the Generic Simple Storage Service (S3) 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 S3-compliant bucket are moved to the newly created S3-compliant bucket.
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 = 3125
UPDATE ExtendedSetting SET settingValueText = @NewBucket
WHERE RootId = (SELECT PartitionEntryId FROM PartitionEntry WHERE PartitionName = @PartitionName)
AND settingTypeId = 3125
SELECT settingValueText AS 'New Bucket' FROM ExtendedSetting
WHERE RootId = (SELECT PartitionEntryId FROM PartitionEntry WHERE PartitionName = @PartitionName)
AND settingTypeId = 3125
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.
How to change the configured S3-compliant bucket of an existing Generic Simple Storage Service (S3) partition