{"id":16991205,"url":"https://github.com/infra-blue/github-repo-backup","last_synced_at":"2025-07-17T02:03:36.874Z","repository":{"id":206534619,"uuid":"717134405","full_name":"infra-blue/github-repo-backup","owner":"infra-blue","description":"Containerized python script that automatically backup a user's public repositories","archived":false,"fork":false,"pushed_at":"2023-11-11T21:45:46.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T02:31:18.913Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/infra-blue.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}},"created_at":"2023-11-10T16:28:07.000Z","updated_at":"2024-08-06T18:38:31.000Z","dependencies_parsed_at":"2023-11-10T17:47:44.158Z","dependency_job_id":null,"html_url":"https://github.com/infra-blue/github-repo-backup","commit_stats":null,"previous_names":["infra-blue/github-repo-backup"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infra-blue%2Fgithub-repo-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infra-blue%2Fgithub-repo-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infra-blue%2Fgithub-repo-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infra-blue%2Fgithub-repo-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/infra-blue","download_url":"https://codeload.github.com/infra-blue/github-repo-backup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244902921,"owners_count":20529114,"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-10-14T03:25:09.891Z","updated_at":"2025-03-22T03:43:24.303Z","avatar_url":"https://github.com/infra-blue.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-repo-backup\n![wtfpl](http://www.wtfpl.net/wp-content/uploads/2012/12/wtfpl-badge-2.png \"LICENCE\")\n\n#### Features\n- Auto backup your repos easily\n- A fork of [this](https://gist.github.com/Vulcalien/b631e1fe471a6baf07f1943f70434657)\n\n## Running with Docker\n#### Using Docker Compose\n\n```yaml\nversion: '2'\nservices:\n  github-repo-backup:\n    image: ghcr.io/infra-blue/github-repo-backup:main\n    container_name: github-repo-backup\n    volumes:\n      - \"path-to-your-settings.yaml\" : /github-repo-backup/config/settings.yaml\n      - \"path-to-your-backup-folder\" : /github-repo-backup/backup\n    restart: unless-stopped\n\n```\n#### Building and running locally\n\n1. Clone the repository:\n```bash\n$ git clone git@github.com:infra-blue/github-repo-backup.git\n```\n2. Make a copy of `config/settings.yaml.dist` and rename it to `config/settings.yaml`.\n3. Change `user` field with your github username\n4. You can even change `skip_forks` field and `auto-update-time` field (in minutes)\n5. Build the image:\n```bash\n    $ cd github-repo-backup\n    $ docker build -t github-repo-backup .\n```\n6. Run:\n\n   - On Windows:\n     ```bash\n     $ docker run -v \"C:\\path\\to\\your\\settings.yaml\":\"/github-repo-backup/config/settings.yaml\" -v \"C:\\path-to-your-backup-folder\":\"/github-repo-backup/backup\" github-repo-backup\n     ```\n     \n   - On Linux:\n     ```bash\n     $ docker run -v \"/path/to/your/settings.yaml\":\"/github-repo-backup/config/settings.yaml\" -v \"path-to-your-backup-folder\":\"/github-repo-backup/backup\" github-repo-backup\n     ```\n\n### Pull image from remote repository and run\n\n```bash\n$ docker run --name github-repo-backup -v \"/local/path/to/settings.yaml\":\"/github-repo-backup/config/settings.yaml\" -v \"path-to-your-backup-folder\":\"/github-repo-backup/backup\" -t ghcr.io/infra-blue/github-repo-backup:main\n```\n\n### Running Natively\n\n1. Clone this repository.\n2. Copy `config/settings.yaml.dist` to `config/settings.yaml`.\n3. Change `user` field with your github username\n4. You can even change `skip_forks` field and `auto-update-time` field (in minutes)\n5. Execute: \n```bash\n$ python main.py\n```\n\n### Credits\n- [Leonardo Mirabella](https://github.com/infra-blue)\n- [Vulcalien](https://github.com/Vulcalien)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfra-blue%2Fgithub-repo-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfra-blue%2Fgithub-repo-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfra-blue%2Fgithub-repo-backup/lists"}