{"id":20581255,"url":"https://github.com/jonathas/mongo-s3-backup","last_synced_at":"2026-04-11T17:02:41.183Z","repository":{"id":141967966,"uuid":"73219721","full_name":"jonathas/mongo-s3-backup","owner":"jonathas","description":"A script to backup your MongoDB databases to Amazon S3","archived":false,"fork":false,"pushed_at":"2017-07-27T13:42:27.000Z","size":74,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T12:16:37.432Z","etag":null,"topics":["aws","aws-s3","backup","cron","docker","mongodb","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/jonathas.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":"2016-11-08T19:26:32.000Z","updated_at":"2020-06-05T21:00:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"de770dc0-314f-4a55-8128-3e785ba42212","html_url":"https://github.com/jonathas/mongo-s3-backup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jonathas/mongo-s3-backup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Fmongo-s3-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Fmongo-s3-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Fmongo-s3-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Fmongo-s3-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonathas","download_url":"https://codeload.github.com/jonathas/mongo-s3-backup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Fmongo-s3-backup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31687882,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["aws","aws-s3","backup","cron","docker","mongodb","typescript"],"created_at":"2024-11-16T06:27:46.555Z","updated_at":"2026-04-11T17:02:41.142Z","avatar_url":"https://github.com/jonathas.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mongo S3 Backup\n\n[![Build Status](https://travis-ci.org/jonathas/mongo-s3-backup.svg?branch=master)](https://travis-ci.org/jonathas/mongo-s3-backup) [![Coverage Status](https://coveralls.io/repos/github/jonathas/mongo-s3-backup/badge.svg?branch=master)](https://coveralls.io/github/jonathas/mongo-s3-backup?branch=master)\n\nA script to backup your MongoDB databases and store them on Amazon S3.\n\nIt generates a dump from your MongoDB databases, compresses this dump as tar.bz2, generates a hash file for integrity check and then uploads both files to your Amazon S3 bucket.\n\nIn order to test it, be sure to have the following dependencies installed on your system:\n\n- MongoDB installed and running\n- [yarn](https://yarnpkg.com/)\n- [docker](https://www.docker.com)\n- [docker-compose](https://docs.docker.com/compose/install/)\n\nBefore running anything, please configure your AWS credentials inside the .env file.\n\nYou can run the backup script directly on your system and [configure cron by yourself](https://corenominal.org/2016/05/12/howto-setup-a-crontab-file/) or use the Docker config provided. \n\nIn order to start the Docker container and configure cron inside of it to run the script every day at 00:00 CET, run:\n\n```\n$ make\n```\n\nIn order to start this container automatically if your server reboots:\n\n- Change the path inside the file infra/host/etc/systemd/system/mongo-backup.service to be the path where you put the mongo-s3-backup source code.\n- As root, copy this file to /etc/systemd/system in your server\n- Enable and start it:\n\n```\n# systemctl enable mongo-backup\n# systemctl start mongo-backup\n```\n\nIf you don't want to use Docker, just run instead:\n\n```\n$ make no-docker\n```\n\nAnd then configure the script directly on your system's cron.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathas%2Fmongo-s3-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathas%2Fmongo-s3-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathas%2Fmongo-s3-backup/lists"}