https://github.com/kernelfolla/dumpmyrepos
This python script will backup all your git repos using github bitbucket and gitlab api to find them and ssh locally
https://github.com/kernelfolla/dumpmyrepos
bitbucket-backup github-backup gitlab-backup
Last synced: 9 months ago
JSON representation
This python script will backup all your git repos using github bitbucket and gitlab api to find them and ssh locally
- Host: GitHub
- URL: https://github.com/kernelfolla/dumpmyrepos
- Owner: KernelFolla
- License: mit
- Created: 2017-01-02T11:21:08.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-29T19:03:10.000Z (about 8 years ago)
- Last Synced: 2025-03-27T05:51:11.064Z (9 months ago)
- Topics: bitbucket-backup, github-backup, gitlab-backup
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
#dumpmyrepos
## Description
This python script will backup all of your git repos using ssh locally, supports github gitlab and bitbucket.
All settings are passed using a config.yml file
## Installation
as first install the script with pip
```bash
pip install --user https://github.com/kernelfolla/dumpmyrepos/archive/master.zip
```
now create a config.yml file
```bash
dumpmyrepos --make-config=config.yml
```
finally run the script
```bash
dumpmyrepos --config=config.yml
```
or read all available options
```bash
dumpmyrepos --help
```
## Authentication
services Github, Gitlab and Bitbucket supports authentication via a private token or a key/secret (bitbucket), my suggestion is to use this way instead of username/password because you can always remove these keys from yur panel, or change password without breaking your backup settings. Anyway username/password authentication is supported for all 3 services
## Requirements
You do need to have your ssh keys uploaded for the computer that you are running the backup on.
## License
dumpmyrepos is a "Marino Di Clemente" open source project, distributed under the MIT license.