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
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.2.0.tar.gz
(6.2 kB
view details)
Built Distribution
File details
Details for the file gitlab-backup-0.2.0.tar.gz
.
File metadata
- Download URL: gitlab-backup-0.2.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a88855c58aedfdcc82fa2b09d16c0497ab9f4a5fce49a7b94c7016d88f9c53a |
|
MD5 | 0e2f05fd016ed2514ab135654c9300cb |
|
BLAKE2b-256 | 7735a96ba25f9ae02a681cb60630ddfb22a6da4ecb6e2a8cbe2d4ac2bc58ea29 |
File details
Details for the file gitlab_backup-0.2.0-py2-none-any.whl
.
File metadata
- Download URL: gitlab_backup-0.2.0-py2-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8c0b4faa5a1c6057cdb6e8adbeb0038bda182807db883f0c41d0c39d98dddb6 |
|
MD5 | 33db9f4dc89787f971ca61ad6a832d50 |
|
BLAKE2b-256 | e7b82c91cd1db7d310c64a0f2eb97031429613a4060796c01ae4842d068b81a2 |