{"id":21075259,"url":"https://github.com/maxking/gbackup","last_synced_at":"2026-02-26T03:21:59.793Z","repository":{"id":52452947,"uuid":"165344090","full_name":"maxking/gbackup","owner":"maxking","description":"A backup utility for Gitlab projects","archived":false,"fork":false,"pushed_at":"2021-04-28T21:43:06.000Z","size":23,"stargazers_count":2,"open_issues_count":5,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-13T02:51:47.321Z","etag":null,"topics":["backup","gitlab"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxking.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-12T03:59:22.000Z","updated_at":"2023-03-04T08:52:42.000Z","dependencies_parsed_at":"2022-08-18T19:22:04.495Z","dependency_job_id":null,"html_url":"https://github.com/maxking/gbackup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxking%2Fgbackup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxking%2Fgbackup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxking%2Fgbackup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxking%2Fgbackup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxking","download_url":"https://codeload.github.com/maxking/gbackup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225412054,"owners_count":17470334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backup","gitlab"],"created_at":"2024-11-19T19:20:47.212Z","updated_at":"2026-02-26T03:21:59.748Z","avatar_url":"https://github.com/maxking.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"gbackup\n==========\n\nA utility to backup all [Gitlab](https://gitlab.com) projects of a user or\ngroup. It can download projects of multiple groups and users.\n\n# Requirements\n\nThis requires `python-gitlab` package and requires Python 3.5+.\n\n# Setup\n\nThese setup requirements will setup a python\n[virtualenv](https://virtualenv.pypa.io/en/latest/) to run the script which\nbacks up all your projects.\n\nFirst, setup a config file with your access credentials. `user` and `group` are\noptional, you can specify whichever one you want to backup.\n\n```\n# ~/.gbackup.ini\n[gitlab.com]\ntype = gitlab\nserver = https://gitlab.com\ntoken = \u003caccess-token\u003e\ngroup =\n  \u003cgitlab-group1\u003e\n  \u003cgitlab-group2\u003e\n  \u003cgitlab-group3\u003e\nuser =\n  \u003cgitlab-username\u003e\nbackup_dir = ~/.gitlab-backup\n```\n\nNow, let's setup [virtualenv]((https://virtualenv.pypa.io/en/latest/)) and start\nbackup.\n\n```bash\n$ git clone https://github.com/maxking/gbackup\n$ cd gbackup\n$ python3 -m venv gitlab\n$ source gitlab/bin/activate\n(gitlab)$ python setup.py install\n```\n\n# Usage\n\nFinally, to start the backup, run the `gbackup.py` script.\n\n```\n$ ./gbackup.py\nDownloading backup for https://gitlab.com/maxking/mailman to /home/maxking/.gitlab-backup/gitlab.com/maxking/mailman/11-Jan-2019-19-53.tar.gz\n```\n\n# License\n\nAll the contents of this repository is licensed under Apache License\nv2.0. Please see the LICENSE file for complete license text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxking%2Fgbackup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxking%2Fgbackup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxking%2Fgbackup/lists"}