backwork-backup-consul
Adds support for Consul backups to backwork.
Requirements
This plug-in is build on top of consul,
so you will need to have consul
installed.
If not, you can install the consul cli following the installation instructions.
Installing
You can use pip to install this plug-in:
$ pip install backwork-backup-consul
Using
After installing the plug-in you will be able to use the backup consul and restore consul commands
on backwork.
backwork backup consul
$ backwork backup consul --help
usage: backwork backup consul [-h] [file]
Backup a Consul cluster. It uses `consul` so it's required to have it installed and added to the system's PATH. You can use any of the arguments supported by `consul snapshot
save`. Use `consul snapshot save --help` for more information.
positional arguments:
file output snapshot file name (optional)
optional arguments:
-h, --help show this help message and exit
You can pass any option that you would normally use on consul snapshot save, e.g.:
$ backwork backup consul -http-addr=http://127.0.0.1:8500
The only exception is -h which is reserved for the help/usage message.
backwork restore consul
$ backwork restore consul --help
usage: backwork restore consul [-h] file
Restore a Consul cluster. Restore a Consul cluster. It uses `consul` so it's required to have it installed and added to the system's PATH. You can use any of the arguments
supported by `consul snapshot restore`. Use `consul snapshot restore --help` for more information.
positional arguments:
file input snapshot file name
optional arguments:
-h, --help show this help message and exit
You can pass any option that you would normally use on consul snapshot restore, e.g.:
$ backwork restore consul --http-addr=http://127.0.0.1:8500
The only exception is -h which is reserved for the help/usage message.
Metadata
Release files for backwork-backup-consul 0.1.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 |
|---|---|---|---|---|
| backwork-backup-consul-0.1.0.tar.gz | 3.9 kB | Without provenance | Details for backwork-backup-consul-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| backwork_backup_consul-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for backwork_backup_consul-0.1.0-py3-none-any.whl |
Total release size: 11.9 kB
Release files / backwork-backup-consul-0.1.0.tar.gz
| Download URL | backwork-backup-consul-0.1.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5e42cfbfac8a6833007f96620ce018fdd520e68f703d79b5464bfaf4f69901d
|
|
BLAKE2b-256 checksum How to use checksums |
6456c3480999808e992e3f6f83f8e3489cb731239eae49f6ced1436145d1e0bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1
|
Release files / backwork_backup_consul-0.1.0-py3-none-any.whl
| Download URL | backwork_backup_consul-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19568f730327fa63a4a3e2f19179a6ff4d24ae333004fbeb5da045ac1fd03f23
|
|
BLAKE2b-256 checksum How to use checksums |
e0682af31fbe270dad17860c9e297c4225880f3616293a6e6397cd93666ad1f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1
|
Security for backwork-backup-consul 0.1.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.