Description
gitbackup is a command-line tool that makes local backups of your git repositories on GitHub, GitLab, Bitbucket and Forgejo. It clones your repositories so you keep an offline copy, and it supports GitHub Enterprise and custom GitLab installations. For GitHub there is a second mode that creates a user migration, including organisations, and downloads it as a .tar.gz archive containing the artefacts that GitHub's Migration API supports. The README documents setup for each provider, including the OAuth app flow and scopes GitHub needs, along with a configuration file and examples. You can back up repositories to a chosen location and clone them as bare repositories. The tool can be installed as a binary or run from a Docker image. The project is open source and hosted on GitHub. The README also says that the author's company, Common Loop Works, offers commercial support, custom on-premises or cloud deployment, feature work and expedited bug fixes. It suits people and teams who want regular copies of their code from several hosting services.…
Highlights
- Backs up repositories from GitHub, GitLab, Bitbucket and Forgejo
- Supports GitHub Enterprise and custom GitLab
- GitHub user migration archives as .tar.gz
- Configuration file and bare repository clones
- Binary install or Docker image
Ratings & Reviews
No ratings yet
Be the first to rate Gitbackup.
People also visit
Gitea Mirror
Gitea Mirror auto-syncs GitHub repos to your self-hosted Gitea/Forgejo
Gitbackup FAQ
What does gitbackup do?
It makes local backups of your repositories on GitHub, GitLab, Bitbucket and Forgejo.
Can it back up self-hosted GitLab or GitHub Enterprise?
Yes. The README covers GitHub Enterprise and custom GitLab installations.
What is the migration mode?
For GitHub only. It creates a user migration, including organisations, and returns a .tar.gz archive of the artefacts GitHub's Migration API supports.
How do I install it?
Install the binary or use the Docker image, as described in the installing section of the README.
Is commercial support available?
The README says Common Loop Works offers commercial support, custom deployments and expedited bug fixes.
What are the best Gitbackup alternatives?
Popular alternatives to Gitbackup include Git-Sync, Gickup and Shallow Backup. See all Gitbackup alternatives



