https://github.com/grebtsew/github_backup_manager
Handle up-to-date backup of github repos on local drive.
https://github.com/grebtsew/github_backup_manager
backup backup-github backups github-api python3
Last synced: 7 months ago
JSON representation
Handle up-to-date backup of github repos on local drive.
- Host: GitHub
- URL: https://github.com/grebtsew/github_backup_manager
- Owner: grebtsew
- License: mit
- Created: 2018-10-02T18:50:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-02T20:49:18.000Z (over 7 years ago)
- Last Synced: 2025-03-27T17:33:27.954Z (10 months ago)
- Topics: backup, backup-github, backups, github-api, python3
- Language: Python
- Size: 69.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# github_backup_manager
As the amount of developed projects on Github increase the struggle to keep up-to-date backups on local drives increase.
I created this project to solve the issue.
## How?
This program uses scraping and github api do the following actions:
1. Get system data from destination folder and preform updates on repos (windows only)
2. Scrape github for existing public repos of user
3. Calculate approximated size of download by talking to github api (very few requests per day!)
4. Show and download each repo that doesn't exist
## Motivation
I use this program to keep an up-to-date backup off my github repos on an external hdd.
## Start
1. Make sure to install python3, git and all required libraries.
* os
* platform
* ntpath
* subprocess
* BeautifulSoup
* requests
* datetime
2. Edit destination_path and user_name at the top of main.py file.
3. Run main.py
```
python main.py
```
## Screenshot
During execution the program will ask a couple of questions on how to proceed. See screenshot below:
