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] [--private_key] 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 --private_key To specify a private key
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.5.1.tar.gz
(9.4 kB
view details)
Built Distribution
File details
Details for the file gitlab-backup-0.5.1.tar.gz
.
File metadata
- Download URL: gitlab-backup-0.5.1.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aae546f8abea71f523c67bb3c99fe5464faa3d16c55a8639b8ca3a9c6b3a1212 |
|
MD5 | e862d5a2be5cd0fa1641f1df41760859 |
|
BLAKE2b-256 | 346700d1837af7794611b1e8294e40b10152a54c2f1cef732faa13dd05b5a4e2 |
File details
Details for the file gitlab_backup-0.5.1-py3-none-any.whl
.
File metadata
- Download URL: gitlab_backup-0.5.1-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d09f06e9e96146831c6553a28f523c4745197cc9fe263b3d8f1b3727a582607 |
|
MD5 | efee3065d9da285afd5e3a6327c45790 |
|
BLAKE2b-256 | 5a4e4380c4958dde2b7fcaf8298a6f96aced5c987104bf86fda8f27feb89e7c2 |