GithubHelp home page GithubHelp logo

soerenschneider / git-repo-backup Goto Github PK

View Code? Open in Web Editor NEW
1.0 4.0 2.0 1.26 MB

Automated and reliable backups of your GitHub and GitLab repositories

License: GNU General Public License v3.0

Makefile 2.25% Python 96.09% Dockerfile 1.66%
git backup long-term-storage github gitlab api-rest git-backup repository

git-repo-backup's Introduction

git-repo-backup

test-workflow release-workflow

Automated and reliable backups of your GitHub and GitLab repositories

Features

๐Ÿ“ฆ Backups remote Git repositories hosted on GitLab or GitHub
โ›ต๏ธ Automatically discovers all repositories for a given username
๐Ÿ•ต๏ธ Works with public and private repositories
๐Ÿšฆ Support for explicit deny- and allow-lists
๐Ÿ”’ Can read Personal Access Tokens from Hashicorp Vault
๐Ÿ”ญ Observability provided by metrics

Roadmap

๐Ÿš€ Upload changes to a S3 compatible service
๐Ÿต Add GitTea service support
๐Ÿช† Add dummy service that allows a plain list of loose Git repositories

Why would I need this?

GitHub and GitLab don't run on altruism. Your account or individual repositories may be gone overnight without notice.

Installation

Docker / Podman

$ git clone https://github.com/soerenschneider/git-repo-backup.git
$ cd git-repo-backup
$ docker run -v $(pwd)/contrib:/config ghcr.io/soerenschneider/git-repo-backup --config /config/example-config.json --dest /tmp

From Source

As a prerequisite, you need to have Python3 installed.

$ git clone https://github.com/soerenschneider/git-repo-backup.git
$ cd git-repo-backup
$ make venv
$ ./venv/bin/python3 git_repo_backup --config contrib/example-config.json --dest /tmp

Demo

demo.gif

Usage and Configuration

Head over here to see config and usage examples.

Metrics

The exposed metrics are listed here.

Changelog

See the full changelog

git-repo-backup's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar soerenschneider avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

wwwk turkanevran

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.