backup a gitlab user or organization
Project description
backup a gitlab user or organization
Requirements
GIT 1.9+
Installation
Using PIP via PyPI:
pip install gitlab-backup
Using PIP via Github:
pip install git+https://github.com/josegonzalez/python-gitlab-backup.git#egg=gitlab-backup
Usage
CLI Usage is as follows:
usage: gitlab-backup [-h] [--host HOST] [--username USERNAME] [--password PASSWORD] [--oath-token OATH_TOKEN] [--private-token PRIVATE_TOKEN] [--clone-bare] [--clone-lfs] [--disable-ssl-verification] [--namespace NAMESPACE] [--output-directory OUTPUT_DIRECTORY] [--prefer-ssh] [--skip-existing] Backup a gitlab account optional arguments: -h, --help show this help message and exit --host HOST gitlab host --username USERNAME username for basic auth --password PASSWORD password for basic auth. If a username is given but not a password, the password will be prompted for. --oath-token OATH_TOKEN oath token, or path to token (file://...) --private-token PRIVATE_TOKEN private token, or path to token (file://...) --clone-bare clone bare repositories --clone-lfs clone LFS repositories (requires Git LFS to be installed, https://git-lfs.github.com) --disable-ssl-verification disable ssl verification --namespace NAMESPACE specify a gitlab namespace to backup --output-directory OUTPUT_DIRECTORY directory at which to backup the repositories --prefer-ssh Clone repositories using SSH instead of HTTPS --skip-existing skip project if a backup directory exists --with-membership Backup projects provided user or key is member of
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gitlab-backup-0.3.0.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for gitlab_backup-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28ca245d8b45f9d1108c74d9e219fe55299df97de4b0e4e04bf6742a259839a5 |
|
MD5 | 61449d201fd847b2d843783df4d5af7b |
|
BLAKE2b-256 | ebc8b0c4157f9097a5b8fb8d1fe149d191196308649d5a9ad132ccf05653d22b |