{"id":20796671,"url":"https://github.com/gotocva/mongodb-auto-backup","last_synced_at":"2025-06-24T15:32:15.887Z","repository":{"id":114649238,"uuid":"574908440","full_name":"gotocva/mongodb-auto-backup","owner":"gotocva","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-06T10:44:52.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T01:44:22.096Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/gotocva.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}},"created_at":"2022-12-06T10:42:49.000Z","updated_at":"2022-12-06T10:44:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"69ea238f-dbe9-4632-9480-7633664c72c5","html_url":"https://github.com/gotocva/mongodb-auto-backup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gotocva/mongodb-auto-backup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotocva%2Fmongodb-auto-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotocva%2Fmongodb-auto-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotocva%2Fmongodb-auto-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotocva%2Fmongodb-auto-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gotocva","download_url":"https://codeload.github.com/gotocva/mongodb-auto-backup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotocva%2Fmongodb-auto-backup/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261703162,"owners_count":23196907,"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":[],"created_at":"2024-11-17T16:28:34.546Z","updated_at":"2025-06-24T15:32:15.855Z","avatar_url":"https://github.com/gotocva.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# mongodb-auto-backup\n\nBasic mongo dump and restore commands, they contain more options you can have a look at man page for both of them.\n1. mongodump --db=DB_NAME --archive=./DB_NAME.gzip --gzip\n2. mongorestore --db=DB_NAME --archive=./DB_NAME.gzip --gzip\n\n* Cron expression for every 5 seconds - */5 * * * * *\n* Cron expression for every night at 00:00 hours (0 0 * * * )\n\n```\nNote: 2nd expression only contains 5 fields, since seconds is not necessary\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgotocva%2Fmongodb-auto-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgotocva%2Fmongodb-auto-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgotocva%2Fmongodb-auto-backup/lists"}