Skip to main content
All CollectionsKnowledge BaseAWS WorkloadsTroubleshooting - AWS Workloads
Backup to Druva Cloud fails at the step "aws/monitor/btdcbackup" with the Error: "Failed to prepare backup sources"
Backup to Druva Cloud fails at the step "aws/monitor/btdcbackup" with the Error: "Failed to prepare backup sources"
Updated over 8 months ago

Problem description

Backup to Druva Cloud fails at the step "aws/monitor/btdcbackup" with the Error: "Failed to prepare backup sources"

Cause

There are missing permissions for Druva CloudRanger access on the AWS account.

Traceback

2023-07-20 11_34_39-Backup to Druva Cloud fails at the step _aws_monitor_btdcbackup_ with the Error_.png

The Audit Trails of the step "aws/monitor/btdcbackup" show the message below:
โ€‹

"status_message": "Failed to prepare backup sources",
"status_code": "custom",
"policy_backup_id": xxxxxxxxxxxx,
"resource_type": "EC2Snapshot",
"resource_id": "snap-aaabbbcccdddeee",
"resource_region": "us-east-1",
"resource_source": "EC2",
"source_account_name": "testaccount",
"body": "{\n   \"id\": \"xxxxxxxxxxxxxxxxxxx\",\n   \"job_task_id\": \"xxxxxxxxxxxxxxxxxxx\",\n   \"job_id\": \"yyyyyyyyyyyyyyyyyyyyyyyyyyy\",\n   \"depends_on_id\": \"zzzzzzzzzzzzzzzzzzzzzz\",\n   \"seq\": 4,\n   \"step\": \"aws/monitor/btdcbackup\",\n   \"source_account_id\": \"abcdefg\",\n   \"target_account_id\": null,\n   \"resource_id\": null,\n   \"is_success\": false,\n   \"status_message\": \"Failed to prepare backup sources\",\n   \"status_code\": \"custom\",\n

Resolution

  • Update Existing AWS Access Role for the AWS account in Druva CloudRanger ( Link )

  • How to Update access roles as below:

    1. Log into your Druva CloudRanger console and navigate to the account to be updated.

    2. Click Settings on the left navigation pane. Alternatively, you may use the Settings icon on the main AWS Accounts page to navigate to Account Settings.

    3. Click Update Configuration under AWS Access.

    4. Copy the CloudFormation URL or download the template.

    5. Login to your AWS Console and navigate to the CloudFormation page. Select the stack that you previously created when configuring CloudRanger, and then click Update.

    6. On the Update stack page, select Replace current template. Then paste the CloudFormation URL into the Amazon S3 URL text box.

    7. Click Next on the Specify stack details and Configure stack options pages.

    8. You will be able to preview the changes before you click Update stack to confirm the CloudFormation changes to resources.

    9. Your IAM role and AWS account access should now be updated with the latest permissions, allowing you to take advantage of any new functionality that is released.

Did this answer your question?