{"id":22518054,"url":"https://github.com/actalog/mongodump","last_synced_at":"2026-02-27T10:07:53.536Z","repository":{"id":169608797,"uuid":"645603925","full_name":"actalog/mongodump","owner":"actalog","description":"🍃 GitHub Action for creating a binary export of a database's contents","archived":false,"fork":false,"pushed_at":"2025-03-03T13:53:31.000Z","size":23,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-25T00:19:49.254Z","etag":null,"topics":["actions","backup","database","github-actions","mongodb","mongodump","security"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/actalog-mongodump","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/actalog.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-26T03:03:15.000Z","updated_at":"2025-12-10T11:46:12.000Z","dependencies_parsed_at":"2024-11-21T17:36:50.385Z","dependency_job_id":null,"html_url":"https://github.com/actalog/mongodump","commit_stats":null,"previous_names":["gabrielrufino/mongodump-action","actalog/mongodump-action"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/actalog/mongodump","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actalog%2Fmongodump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actalog%2Fmongodump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actalog%2Fmongodump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actalog%2Fmongodump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/actalog","download_url":"https://codeload.github.com/actalog/mongodump/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actalog%2Fmongodump/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29890692,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T09:48:51.284Z","status":"ssl_error","status_checked_at":"2026-02-27T09:48:43.992Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","backup","database","github-actions","mongodb","mongodump","security"],"created_at":"2024-12-07T04:14:00.424Z","updated_at":"2026-02-27T10:07:51.594Z","avatar_url":"https://github.com/actalog.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @actalog/mongodump\n\n[![CI](https://github.com/actalog/mongodump/actions/workflows/ci.yml/badge.svg)](https://github.com/actalog/mongodump/actions/workflows/ci.yml)\n[![CD](https://github.com/actalog/mongodump/actions/workflows/cd.yml/badge.svg)](https://github.com/actalog/mongodump/actions/workflows/cd.yml)\n\nA GitHub Action to create MongoDB backups efficiently and securely, using `mongodump` with password-protected compression.\n\n## Features\n\n- 🛡️ **Secure Backups**: Password-protected compressed backups for enhanced data security.\n- 🔄 **Simple Automation**: Automatically generate backups during CI/CD pipelines.\n- 🚀 **Docker-Based**: Lightweight and easy to use.\n- 📦 **Compatible with MongoDB 6**.\n\n---\n\n## Usage\n\n### 1. Workflow Configuration\n\nAdd this Action to your GitHub workflow in the `.github/workflows/workflow.yml` file:\n\n```yaml\nname: Backup\n\non:\n  schedule:\n    - cron: 0 0 * * *\n\njobs:\n  mongodump:\n    name: Mongodump\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actalog/mongodump@v2\n        with:\n          connection-string: ${{ secrets.CONNECTION_STRING }}\n          output-password: ${{ secrets.OUTPUT_PASSWORD }}\n      - uses: actions/upload-artifact@v4\n        with:\n          name: dump\n          path: ${{ github.workspace }}/dump\n```\n\n### 2. Action Inputs\n\n| Parameter           | Required | Description                                         |\n|---------------------|----------|-----------------------------------------------------|\n| `connection-string` | Yes      | MongoDB connection URI (stored as a secret).        |\n| `output-password`   | Yes      | Password to protect the backup file.                |\n\n### 3. Setting Up Secrets\n\nAdd the following secrets to your GitHub repository:\n\n1. **`CONNECTION_STRING`**: The connection URI for your MongoDB instance.\n2. **`OUTPUT_PASSWORD`**: The password to secure the backup file.\n\n---\n\n## License\n\nThis project is licensed under the terms of [The Unlicense](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factalog%2Fmongodump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factalog%2Fmongodump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factalog%2Fmongodump/lists"}