{"id":16112736,"url":"https://github.com/dsdatsme/automate_mongo","last_synced_at":"2026-05-08T15:11:23.665Z","repository":{"id":124158626,"uuid":"147676646","full_name":"DSdatsme/automate_mongo","owner":"DSdatsme","description":null,"archived":false,"fork":false,"pushed_at":"2018-09-10T07:59:00.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-10T13:30:20.231Z","etag":null,"topics":["bash","google-cloud-platform","mongodb"],"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/DSdatsme.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":"2018-09-06T13:20:05.000Z","updated_at":"2020-04-02T18:34:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"e245ca67-65eb-41ef-8cf2-fb04457c594d","html_url":"https://github.com/DSdatsme/automate_mongo","commit_stats":{"total_commits":7,"total_committers":3,"mean_commits":"2.3333333333333335","dds":0.4285714285714286,"last_synced_commit":"aa93fb3f6dbed03b6acbc3a6265818315a2e25bd"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DSdatsme/automate_mongo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DSdatsme%2Fautomate_mongo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DSdatsme%2Fautomate_mongo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DSdatsme%2Fautomate_mongo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DSdatsme%2Fautomate_mongo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DSdatsme","download_url":"https://codeload.github.com/DSdatsme/automate_mongo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DSdatsme%2Fautomate_mongo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32785536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"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":["bash","google-cloud-platform","mongodb"],"created_at":"2024-10-09T20:09:03.666Z","updated_at":"2026-05-08T15:11:23.650Z","avatar_url":"https://github.com/DSdatsme.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# automate_mongo\n\nthis repo is to automate the backup for mongodb server on Compute Instance(GCP)\n\nthere are three important files in this repo\n\u003cb\u003estartup.sh\u003c/b\u003e, \u003cb\u003estartup2.sh\u003c/b\u003e \u0026 \u003cb\u003eq.sh\u003c/b\u003e\n\nstartup.sh\nthis will create a GCP instance and tell that instance to download \"q.sh\" from the bucket and run it.\nafter that it will create a disk and mount it to a new instance.\n\nq.sh\nthis file will be present at a bucket and it will be downloaded by a startup script present in the newly created instance(here b-instamce).\nthe file installs mongo-db and downloads the data from a given bucket source to the newly created external disk.\nAfter that it loads the data to mongo server.\n\nstartup2.sh\nthis script detaches the external disk and and then creates a snapshot of the main boot disk of instance(here b-instance).\nthen it deletes (b-instance).\nit then creates a bootable disk from snapshot and then a new instance(here new-instance) is created using newly created bootable disk.\nand lastly it restarts the mongo server which is mentioned in the startup script.\n\nRequirements:\nA local system to run scripts where you have already setup \"gcloud auth login\"\na bucket with data inside (here ernon.json)\naccess to create bucket and google compute\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsdatsme%2Fautomate_mongo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdsdatsme%2Fautomate_mongo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsdatsme%2Fautomate_mongo/lists"}