Skip to content

Add MongoDB backup script to JFrog Artifactory#1240

Merged
JasonFengJ9 merged 1 commit into
adoptium:masterfrom
mahdipub:trss_backup
May 29, 2026
Merged

Add MongoDB backup script to JFrog Artifactory#1240
JasonFengJ9 merged 1 commit into
adoptium:masterfrom
mahdipub:trss_backup

Conversation

@mahdipub
Copy link
Copy Markdown
Contributor

  • Add mongodb-backup.sh script for automated MongoDB backups
  • Backs up directly to JFrog Artifactory via WebDAV mount
  • No local storage required - streams directly to Artifactory
  • Features:
    • Date-based naming (mongodb-backup-YYYY-MM-DD_HH-MM-SS.archive)
    • Automatic gzip compression
    • Auto-cleanup of backups older than 20 days
    • Mount verification and error handling
    • Cron-ready with logging to stdout
  • Add comprehensive README with setup and usage instructions

Signed-off-by: mahdi@ibm.com

@netlify
Copy link
Copy Markdown

netlify Bot commented May 29, 2026

Deploy Preview for eclipsefdn-adoptium-trss ready!

Name Link
🔨 Latest commit 28d2760
🔍 Latest deploy log https://app.netlify.com/projects/eclipsefdn-adoptium-trss/deploys/6a19b4860a10840008fcae24
😎 Deploy Preview https://deploy-preview-1240--eclipsefdn-adoptium-trss.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@annaibm
Copy link
Copy Markdown
Contributor

annaibm commented May 29, 2026

@annaibm
Copy link
Copy Markdown
Contributor

annaibm commented May 29, 2026

Could you move mongodb-backup.sh to either:

  • Root level (alongside exportMongo.sh), or
  • TestResultSummaryService/scripts/ (closer to the backend that owns MongoDB)

- Add mongodb-backup.sh script for automated MongoDB backups
- Backs up directly to JFrog Artifactory via WebDAV mount
- No local storage required - streams directly to Artifactory
- Features:
  * Date-based naming (mongodb-backup-YYYY-MM-DD_HH-MM-SS.archive)
  * Automatic gzip compression
  * Auto-cleanup of backups older than 20 days
  * Mount verification and error handling
  * Cron-ready with logging to stdout
- Add comprehensive README with setup and usage instructions

Signed-off-by: mahdi@ibm.com
Copy link
Copy Markdown
Contributor

@annaibm annaibm left a comment

Choose a reason for hiding this comment

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

LGTM

@JasonFengJ9 JasonFengJ9 merged commit 684903d into adoptium:master May 29, 2026
5 checks passed
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