{"id":21905374,"url":"https://github.com/hex7c0/mongodb-backup-cli","last_synced_at":"2025-04-15T23:42:16.293Z","repository":{"id":24245386,"uuid":"27638596","full_name":"hex7c0/mongodb-backup-cli","owner":"hex7c0","description":"mongodb-backup cli for Nodejs","archived":false,"fork":false,"pushed_at":"2017-03-17T11:12:36.000Z","size":39,"stargazers_count":16,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"0.3","last_synced_at":"2024-11-21T22:38:00.060Z","etag":null,"topics":["backup","cli","mongodb","nodejs"],"latest_commit_sha":null,"homepage":"https://github.com/hex7c0/mongodb-backup-cli","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hex7c0.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2014-12-06T15:23:53.000Z","updated_at":"2021-05-17T16:40:45.000Z","dependencies_parsed_at":"2022-07-10T10:46:11.459Z","dependency_job_id":null,"html_url":"https://github.com/hex7c0/mongodb-backup-cli","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex7c0%2Fmongodb-backup-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex7c0%2Fmongodb-backup-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex7c0%2Fmongodb-backup-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex7c0%2Fmongodb-backup-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hex7c0","download_url":"https://codeload.github.com/hex7c0/mongodb-backup-cli/tar.gz/refs/heads/0.3","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226950526,"owners_count":17708241,"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","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","cli","mongodb","nodejs"],"created_at":"2024-11-28T16:33:05.418Z","updated_at":"2024-11-28T16:33:06.013Z","avatar_url":"https://github.com/hex7c0.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [mongodb-backup-cli](https://github.com/hex7c0/mongodb-backup-cli)\n\n[![NPM version](https://img.shields.io/npm/v/mongodb-backup-cli.svg)](https://www.npmjs.com/package/mongodb-backup-cli)\n[![Linux Status](https://img.shields.io/travis/hex7c0/mongodb-backup-cli.svg?label=linux-osx)](https://travis-ci.org/hex7c0/mongodb-backup-cli)\n[![Windows Status](https://img.shields.io/appveyor/ci/hex7c0/mongodb-backup-cli.svg?label=windows)](https://ci.appveyor.com/project/hex7c0/mongodb-backup-cli)\n[![Dependency Status](https://img.shields.io/david/hex7c0/mongodb-backup-cli.svg)](https://david-dm.org/hex7c0/mongodb-backup-cli)\n\nCLI for [`mongodb-backup`](https://github.com/hex7c0/mongodb-backup)\n\nSimilar to [mongodump](http://docs.mongodb.org/manual/reference/program/mongodump/)\n\n## Installation\n\nInstall through NPM\n\n```bash\nnpm install -g mongodb-backup-cli\n```\nor\n```bash\ngit clone git://github.com/hex7c0/mongodb-backup-cli.git\n```\n\n## API\n\nglobal cli with `-g` option\n```bash\n$ mongodb-backup -h\n\nUsage:\n  mongodb-backup [OPTIONS] [ARGS]\n\nOptions: \n      --verbose FILE     Save internal reporting into a logfile\n      --host STRING      Specifies a resolvable hostname for the mongod \n  -c, --cursors NUMBER   Num of cursors\n  -p, --parser [STRING]  Data parser (bson, json) (Default is bson)\n  -o, --out [STRING]     Specifies the directory where saves the output  (Default is dump/)\n  -r, --tar STRING       Pack files into a .tar file\n  -c, --collections STRINGSpecifies a collection to backup\n  -q, --query STRING     Query that optionally limits the documents included \n  -m, --metadata         Save metadata of collections as Index, ecc\n  -t, --timeout N        Exit if the process takes longer than N seconds\n  -v, --version          Display the current version\n  -h, --help             Display help and usage details\n```\n\n## Examples\n\nTake a look at my [examples](examples)\n\n### [License GPLv3](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhex7c0%2Fmongodb-backup-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhex7c0%2Fmongodb-backup-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhex7c0%2Fmongodb-backup-cli/lists"}