{"id":23340157,"url":"https://github.com/sierrasoftworks/minback-mongo","last_synced_at":"2025-09-10T02:34:01.535Z","repository":{"id":25719776,"uuid":"104762317","full_name":"SierraSoftworks/minback-mongo","owner":"SierraSoftworks","description":"A container which provides the ability to backup a MongoDB database to Minio on demand","archived":false,"fork":false,"pushed_at":"2025-08-21T23:33:53.000Z","size":103,"stargazers_count":11,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-22T01:25:32.650Z","etag":null,"topics":["backup","docker","minio","mongodb","s3"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SierraSoftworks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2017-09-25T14:41:24.000Z","updated_at":"2025-08-21T23:33:56.000Z","dependencies_parsed_at":"2023-11-30T00:31:08.584Z","dependency_job_id":"cda93868-fd94-41c4-aef0-993ab8ddcdce","html_url":"https://github.com/SierraSoftworks/minback-mongo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SierraSoftworks/minback-mongo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SierraSoftworks%2Fminback-mongo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SierraSoftworks%2Fminback-mongo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SierraSoftworks%2Fminback-mongo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SierraSoftworks%2Fminback-mongo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SierraSoftworks","download_url":"https://codeload.github.com/SierraSoftworks/minback-mongo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SierraSoftworks%2Fminback-mongo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274402052,"owners_count":25278334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["backup","docker","minio","mongodb","s3"],"created_at":"2024-12-21T04:19:47.831Z","updated_at":"2025-09-10T02:34:01.512Z","avatar_url":"https://github.com/SierraSoftworks.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# minback-mongo\n**Minio Backup container for MongoDB**\n\nThis container provides a trivially simple means to run `mongodump` and fire the results off\nto a [Minio][] instance. It is intended to be run in conjunction with a [Kubernetes CronJob][]\nto maintain a frequent backup of your critical data with minimal fuss.\n\n## Features\n* Dumps a single MongoDB database to an S3 bucket\n* Lightweight and short lived\n* Simple and readable implementation\n* Optional encryption for archive file\n\n## Example\n```sh\ndocker run --rm --env-file backup.env minback/mongo my_db -h mongoserver1\n```\n\n#### `backup.env`\n```\nMINIO_SERVER=https://play.minio.io/\nMINIO_ACCESS_KEY=minio\nMINIO_SECRET_KEY=miniosecret\nMINIO_BUCKET=backups\n```\n\n## Usage\n```\nDB_NAME [OPTIONS...]\n\nArguments\n  DB_NAME  - The name of the database you wish to backup\n  OPTIONS  - Any additional options you wish to pass to mongodump\n```\n\n## Configuration\nThis container is configured using environment variables, enabling it to easily be started\nmanually or automatically and integrate well with Kubernetes' configuration framework.\n\n#### `MINIO_SERVER=https://play.minio.io/`\nThe Minio server you wish to send backups to.\n\n#### `MINIO_ACCESS_KEY=minio`\nThe Access Key used to connect to your Minio server.\n\n#### `MINIO_SECRET_KEY=miniosecret`\nThe Secret Key used to connect to your Minio server.\n\n#### `MINIO_BUCKET=backups`\nThe Minio bucket you wish to store your backup in.\n\n#### `ENCRYPTION_KEY`\n(Optional) The OpenSSL symmetric key to protect the archive with.  Should be sufficiently long to prevent dictionary based attacks.\n\n### `DATE_FORMAT=+%Y-%m-%d`\nThe date format you would like to use when naming your backup files. Files are named `$DB-$DATE.archive`.\n\n[Kubernetes CronJob]: https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/\n[Minio]: https://minio.io/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsierrasoftworks%2Fminback-mongo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsierrasoftworks%2Fminback-mongo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsierrasoftworks%2Fminback-mongo/lists"}