{"id":25426734,"url":"https://github.com/joshhhhyyyy/backup","last_synced_at":"2026-02-27T10:09:58.897Z","repository":{"id":42380063,"uuid":"463760447","full_name":"joshhhhyyyy/backup","owner":"joshhhhyyyy","description":"A simple program to automatically backup a database using git. Err handling by Sentry, Reporting by Betteruptime. Made with 🩸 , 😓 \u0026 😭","archived":false,"fork":false,"pushed_at":"2022-11-04T13:56:52.000Z","size":148589,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-12T01:36:01.405Z","etag":null,"topics":["backup","cli","git","go","golang","utilities"],"latest_commit_sha":null,"homepage":"https://sh.joseos.com/backup","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joshhhhyyyy.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":"2022-02-26T05:14:17.000Z","updated_at":"2022-11-04T13:57:37.000Z","dependencies_parsed_at":"2022-09-12T01:00:24.992Z","dependency_job_id":null,"html_url":"https://github.com/joshhhhyyyy/backup","commit_stats":null,"previous_names":["joshhhhyyyy/flexgit"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/joshhhhyyyy/backup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshhhhyyyy%2Fbackup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshhhhyyyy%2Fbackup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshhhhyyyy%2Fbackup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshhhhyyyy%2Fbackup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshhhhyyyy","download_url":"https://codeload.github.com/joshhhhyyyy/backup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshhhhyyyy%2Fbackup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29890744,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T09:48:51.284Z","status":"ssl_error","status_checked_at":"2026-02-27T09:48:43.992Z","response_time":57,"last_error":"SSL_read: 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","cli","git","go","golang","utilities"],"created_at":"2025-02-17T00:21:35.340Z","updated_at":"2026-02-27T10:09:58.852Z","avatar_url":"https://github.com/joshhhhyyyy.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Backup \u0026nbsp; \u0026nbsp; \u0026nbsp;[![Latest Release](https://img.shields.io/github/release/joshhhhyyyy/Backup.svg)](https://github.com/joshhhhyyyy/Backup/releases)      [![Go ReportCard](https://goreportcard.com/badge/joshhhhyyyy/Backup)](https://goreportcard.com/report/joshhhhyyyy/Backup)\n![Yep](https://socialify.git.ci/joshhhhyyyy/Backup/image?descriptionEditable=backup%20a%20database%20using%20git.%20Err%20handling%20by%20Sentry%2C%20Reporting%20by%20Betteruptime.%20Made%20with%20%F0%9F%A9%B8%20%2C%20%F0%9F%98%93%20%26%20%F0%9F%98%AD\u0026font=Source%20Code%20Pro\u0026language=1\u0026owner=1\u0026pattern=Overlapping%20Hexagons\u0026theme=Dark)\n\n## What is this?\n**A Simple and Lightweight program to automatically backup a database using git.**\n\nErr handling by **[Sentry](sentry.io)**, Uses heartbeats by **[Betteruptime](https://betteruptime.com)** \n\nMade with 🩸 , 😓 \u0026amp; 😭\n\n## Installation\n### Via Go\n```go get github.com/joshhhhyyyy/backup```\n\n```go install github.com/joshhhhyyyy/backup```\n\n```export PATH=$PATH:$(go env GOPATH)/bin``` (Add gopath to path)\n\n### Via apt\n```echo \"deb [trusted=yes] https://apt.joseos.com/ ./\" | sudo tee /etc/apt/sources.list.d/joseos.list```\n\n```sudo apt update```\n\n```sudo apt install backup```\n\n## Usage\n### Systemd Timers\n[Sample Service file](https://github.com/storageroom/storage/blob/main/linux/systemd/floodgit.service) | [Sample Timer file](https://github.com/storageroom/storage/blob/main/linux/systemd/floodgit.timer)\n\nBasically, systemd timers is a great alternative to cronjobs as it can be invoked and controlled via systemctl.\n\nEvery timer has a corresponding service file that it invokes when the time specified is hit. In the sample files provided, the timer triggers a backup at 4am and 59seconds daily.\n\n### Manual Usage\nThis program can also be set with flags, where you can specify the commit message and cronjob tracker of your choice.\n\n```backup [OPTIONS]```\n\n## Options\n**note: both single minus \"-\" and double minus \"--\" work fine\n\n```-ping=\"\"``` // Optional, Type: string, send a http get request everytime this runs for uptime monitoring \n\n```-message=\"\"``` // Not needed at all, Type: string, optional commit message to pass for manual runs\n\n## Debug Options\n\n```-key=\"\"``` // Optional, Type: string, Custom [Sentry.io](sentry.io) dsn (key url) for project\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshhhhyyyy%2Fbackup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshhhhyyyy%2Fbackup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshhhhyyyy%2Fbackup/lists"}