{"id":37136203,"url":"https://github.com/tomakado/mgosd","last_synced_at":"2026-01-14T15:52:44.344Z","repository":{"id":64303787,"uuid":"193216116","full_name":"tomakado/mgosd","owner":"tomakado","description":"Tiny concurrent and scheduled dump creator for MongoDB.","archived":true,"fork":false,"pushed_at":"2019-07-17T08:23:49.000Z","size":7896,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-24T01:44:19.296Z","etag":null,"topics":["backup-utility","concurrency","database","dumper","go","golang","mongodb"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomakado.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}},"created_at":"2019-06-22T09:30:49.000Z","updated_at":"2023-01-27T23:54:18.000Z","dependencies_parsed_at":"2023-01-15T10:00:53.310Z","dependency_job_id":null,"html_url":"https://github.com/tomakado/mgosd","commit_stats":null,"previous_names":["ildarkarymoff/mgosd"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tomakado/mgosd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomakado%2Fmgosd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomakado%2Fmgosd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomakado%2Fmgosd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomakado%2Fmgosd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomakado","download_url":"https://codeload.github.com/tomakado/mgosd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomakado%2Fmgosd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28425450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T15:24:48.085Z","status":"ssl_error","status_checked_at":"2026-01-14T15:23:41.940Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["backup-utility","concurrency","database","dumper","go","golang","mongodb"],"created_at":"2026-01-14T15:52:43.615Z","updated_at":"2026-01-14T15:52:44.331Z","avatar_url":"https://github.com/tomakado.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Table of Contents\n1. [About](#mgosd)\n1. [Features](#features)\n1. [Installation](#installation)\n1. [Usage](#usage)\n1. [Roadmap](#roadmap)\n\n\u003ca name=\"mgosd\" /\u003e\n\n# mgosd\n\nTiny concurrent and scheduled dump creator for MongoDB.\n\nWhy not using something like `cron`? So, cron is awesome Unix tool, but it's available on Unix systems only. **mgosd** allows you to do not waste your time on dealing with scheduled task systems in different environments.  \n\nCurrent stable version: [v1.1.0](https://github.com/ildarkarymoff/mgosd/releases/tag/v1.1.0)\n\nLicensed under GNU GPLv3.\n\n\n\u003ca name=\"features\" /\u003e\n\n## Features\n\n* _Concurrent:_ mgosd process every collection in separate goroutine \n* _Scheduled:_ you can set different intervals of dumping  \n* _Two ways of configuration:_ CLI arguments and JSON config file\n* _Portable:_ you don't need to install MongoDB toolkit to use it\n* _Cross-platform:_ unite configuration for all systems\n\n\n\u003ca name=\"installation\" /\u003e\n\n## Installation\n\nIf you're on Linux you can find binary executable [on Releases page](https://github.com/ildarkarymoff/mgosd/releases/). \n\nIf you're on Mac or Windows:\n1. Install Go compiler (1.12.6+)\n2. Install `mgo` dependency by running `go get github.com/globalsign/mgo`\n3. Compile **mgosd** by running `go build main.go`\n4. Done!\n\n\u003ca name=\"usage\" /\u003e\n\n## Usage\n\nThere are two ways of using **mgosd:**\n\n1. Configuration via CLI arguments:\n```bash\n$ ./mgosd -h\n+----------------------------------------+\n| mgosd (c) Ildar Karymov, 2019          |\n| https://github.com/ildarkarymoff/mgosd |\n| License: GNU GPLv3                     |\n| Version: 1.1.0                         |\n+----------------------------------------+\nUsage of ./mgosd:\n  -db string\n    \tDatabase name\n  -host string\n    \tDatabase server address (default \"127.0.0.1\")\n  -i string\n    \tInterval of dumping (default \"12h\")\n  -login string\n    \tDatabase username (default \"\u003cempty\u003e\")\n  -o string\n    \tPath to output directory (default $HOME)\n  -password string\n    \tDatabase user password (default \"\u003cempty\u003e\")\n  -port int\n    \tDatabase server port (default 27017)\n```\n2. Using JSON configuration:\n```json\n{\n  \"collections\": [\n    \"users\",\n    \"comments\",\n    \"posts\"\n  ],\n  \"interval\": \"5s\",\n  \"output\": \"dumps_test\",\n  \"db\": {\n    \"database\": \"mydb\",\n    \"host\": \"localhost\",\n    \"port\": 27017\n  }\n}\n```\n```bash\n$ ./mgosd config.json\n```\n\n\u003ca name=\"roadmap\" /\u003e\n\n## Roadmap\n\n* Streamed reading from MongoDB\n* Switch to official MongoDB driver for Go\n* Ability to configure the schedule in absolute way (implicit time of day)\n* Binary executables for Mac and Windows\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomakado%2Fmgosd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomakado%2Fmgosd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomakado%2Fmgosd/lists"}