Schedule/Run Gitlab Backups
Project description
Gitlab Backup Manager (GLBM)
Gitlab Backup Manager is a tool to help manage Backups of Gitlab in one place.
Main Backup = gitlab-rake gitlab:backup:create
Backup Config = gitlab-ctl backup-etc
Getting started
Installation (Preferred)
$ pip installl gitlab_bm
After install run the following to see default opitions:
$ glbm
Usage: glbm [OPTIONS] COMMAND [ARGS]...
Gitlab Backup Manager (GLBM) Ver. (x.x.x)
Options:
--version Show application Version
--help Show this message and exit.
Commands:
backup Run Main Backup
backup-etc Run Backup Config and upload to S3
complete Run backup, backup_etc, upload to S3
delete-files Delete old files from S3 based on (X) days to keep
Current Limitations
- Only supports Slack Notifications
- Manual setup of Main Backup in
gitlab.rb
still needed - (Scheduling of jobs) - Need to manually setup.
Development
Want to contribute? Great! No specifics at this point. Just basic GitHub Fork and Pull request.
For further info, see github guide on contributing to opensource project.
After cloning your Forked branch locally, and installing Poetry, you can run the following to setup dev env and test:
$ poetry install
Then to run, do the following:
$ poetry run glbm
License
MIT LICENSE.txt
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gitlab_bm-0.1.0.tar.gz
(7.7 kB
view hashes)
Built Distribution
Close
Hashes for gitlab_bm-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05ce25ff52af89e41d4ecff7bde369f334f82f7089d5ee4baf8912008e39b416 |
|
MD5 | 9b0d89f55de86121430d94c070f0c362 |
|
BLAKE2b-256 | 0c532325b5dc5e9f51f7b032e5c582edcf9751f8a4d600900368e96df4f321a4 |