Unable to backup to the AWS Glacier and it fails with A different Amazon lifecycle policy other than which NetBackup uses already exists.

Unable to backup to the AWS Glacier and it fails with A different Amazon lifecycle policy other than which NetBackup uses already exists.

Article: 100046270
Last Published: 2019-09-12
Ratings: 0 0
Product(s): NetBackup

Problem

Backups running to the AWS S3 cloud storage and then duplicating to the Glacier are failing.

Error Message

A different Amazon lifecycle policy other than which NetBackup uses already exists. Remove the other policy and re-run the job.

Cause

It was identified that there were retention changes made to the NetBackup Lifecycle rule policy created for the AWS S3 bucket. Changes to the lifecycle rule are not supported.

The image below shows the NetBackup Lifecycle rule policy created for the AWS S3 bucket :

The image below shows the retention changes done to the policy :

The BTPM debug with cURL logging enabled shows the following :

11:15:04.598 [15860] <4> 385:bptm:15860:nbu-test: amazon: Validate if the lifecycle policy on bucket: AWS_S3_Bucket_name is NetBackup applied.
11:15:04.598 [15860] <2> 385:bptm:15860:nbu-test: amazon: Enter AmzApi::validateIfNBAppliedLP
11:15:04.598 [15860] <16> 385:bptm:15860:nbu-test: amazon: Validation failed as the lifecycle policy rule on the bucket has child node [Expiration] not supported by NetBackup.
11:15:04.598 [15860] <16> 385:bptm:15860:nbu-test: amazon: Different lifecycle policy already exist - should not overwrite
11:15:04.598 [15860] <16> 385:bptm:15860:nbu-test: amazon_raw:amazon.com: A different Amazon lifecycle policy other than which NetBackup uses already exists. Remove the other policy and re-run the job.
11:15:04.600 [15860] <2> 385:bptm:15860:nbu-test: CldUtils::get_server_locale(): Locale of this server is: en_US.UTF-8
11:15:04.601 [15860] <2> set_job_details: Tfile (385): LOG 1568106904 32 bptm 15860 Storage Server Error: A different Amazon lifecycle policy other than which NetBackup uses already exists. Remove the other policy and re-run the job.
11:15:04.601 [15860] <2> send_job_file: job ID 385, ftype = 3 msg len = 179, msg = LOG 1568106904 32 bptm 15860 Storage Server Error: A different Amazon lifecycle policy other than which NetBackup uses already exists. Remove the other policy and re-run the job.
11:15:04.602 [15860] <32> 385:bptm:15860:nbu-test: A different Amazon lifecycle policy other than which NetBackup uses already exists. Remove the other policy and re-run the job.
 

Solution

1. Login to the AWS console.

2. Select the bucket to which the backups are targeted and then remove the retention value  by un-checking "Expire current version of object"

3. Re-try the backup and it should work successfully.

 

Was this content helpful?