Skip to content

[Minor] Mascore 12309 AWS DocumentDB Data and Index Backup#2147

Closed
prajapati-yogeshkumar-ibm wants to merge 12 commits intomasterfrom
mascore-12309
Closed

[Minor] Mascore 12309 AWS DocumentDB Data and Index Backup#2147
prajapati-yogeshkumar-ibm wants to merge 12 commits intomasterfrom
mascore-12309

Conversation

@prajapati-yogeshkumar-ibm
Copy link
Copy Markdown
Contributor

@prajapati-yogeshkumar-ibm prajapati-yogeshkumar-ibm commented Mar 6, 2026

Description

1. DocumentDB Data Backup

Implement tasks within the AWS provider directory:
ibm/mas_devops/roles/mongodb/tasks/providers/aws

Use mongodump compatible with AWS DocumentDB MongoDB API to export database collections.

Generate a compressed backup archive containing the full dataset.

2. Index Extraction

Extract collection index definitions from DocumentDB.

Convert index metadata into JSON format for portability and restore operations.

Store index files per database/collection.

3. S3 Backup Storage

Upload both database dump files and index JSON files to a configured Amazon S3 bucket

@prajapati-yogeshkumar-ibm prajapati-yogeshkumar-ibm requested a review from a team as a code owner March 6, 2026 12:49
Comment thread global-bundle.pem Outdated
Comment thread global-bundle.pem.1 Outdated
Comment thread run_docdb_backup.sh Outdated
Comment thread { Outdated
Comment thread {changed: Outdated
Comment thread ibm/mas_devops/playbooks/docdb_backup_simple.yml Outdated
Copy link
Copy Markdown
Member

@whitfiea whitfiea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes in here need to align with the changes in https://github.com/ibm-mas/ansible-devops/pull/2139/changes. Those changes add the backup/restore for mongodb community, and we should follow that pattern rather than diverge. Please talk to @sanjayprab if you need too.

@prajapati-yogeshkumar-ibm
Copy link
Copy Markdown
Contributor Author

This is handle in this PR: #2170

auto-merge was automatically disabled April 9, 2026 10:49

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants