gitlab-backup
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
Metadata
Release files for gitlab-backup 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gitlab_backup-0.6.0.tar.gz | 18.8 kB | Without provenance | Details for gitlab_backup-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gitlab_backup-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for gitlab_backup-0.6.0-py3-none-any.whl |
Total release size: 25.6 kB
Release files / gitlab_backup-0.6.0.tar.gz
| Download URL | gitlab_backup-0.6.0.tar.gz |
|---|---|
| Size | 18.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ec2e721d5d6829d267089b4d6b7d83f89099c9bd2c978ca955b645f249ff9c9
|
|
BLAKE2b-256 checksum How to use checksums |
27b0c4e5318f3870f0558b38f858964404667944f11667b7fa91a46c1d279000
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / gitlab_backup-0.6.0-py3-none-any.whl
| Download URL | gitlab_backup-0.6.0-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
54379bfbed5566634c03ff4e40da46ff37d968da8d1fc8dce571ae67fa043f71
|
|
BLAKE2b-256 checksum How to use checksums |
6f94329f295f6f9a1e6d7642909f6a920bf504573bc207e7ea5f398f6f6735b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Security for gitlab-backup 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.