Backup the consul key value pair directory wise in yml files and uploads to an s3 bucket
Project description
consulbacks3
This package is preset on pypi at consulbacks3 This is the package to create consul backup , zip it and push the same to the s3 for the backup purpose.
The package creates simple yml files which contains key value pairs seperated by space colon space i.e “ : “ .
Installtion instruction
Install the package on the server where consul is installed.
sudo pip install consulbackups3
Run consulbacks3-configure to configure and enter the below details and save the settings .
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
BUCKET_NAME
CONSUL_DATA_URL (default is - “http://localhost:8500/v1/kv/?recurse”)
Run consulbacks3 to take backup of all of the key-value pairs .
Note: You will need aws access_key and secret which have access to the corresponding bucket.
Things to do :
Documentation at readthedocs
Restore/write to consul from the backup file
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
File details
Details for the file consulbacks3-0.0.1.5.tar.gz
.
File metadata
- Download URL: consulbacks3-0.0.1.5.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef77b13b68aacce0e2980c78b96be79cde08f469de4b878e6a56b7690d266eb7 |
|
MD5 | b7a75a9cb04da8614875f3825a434e0f |
|
BLAKE2b-256 | ee64d4d5802e4f894c5c9fed44ba0aceba95dd4c47b9202b44f9e59d46a37d7d |