GITLAB BACKUP SCRIPT
Usage:
- Create a virtual environment =>
python3 -m virtualenv .venv
- Activate your virtual environment =>
source .venv/bin/active # Windows: ./.venv/Scripts/activate.bat
- Install dependencies =>
pip install -r requirements.txt
- Fill up
config.py
file. - Run
python export_repos_urls.py [SSH|HTTP]
, Use SSH if you have SSH Keys, otherwise use HTTP - Run
download_exports.py