consulbacks3-0.0.1.5
توضیحات
Backup the consul key value pair directory wise in yml files and uploads to an s3 bucket
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | consulbacks3-0.0.1.5 |
| نام | consulbacks3 |
| نسخه کتابخانه | 0.0.1.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ankit Kulkarni |
| ایمیل نویسنده | ankit.kul1890@gmail.com |
| آدرس صفحه اصلی | https://github.com/Ankit-Kulkarni/consulbacks3 |
| آدرس اینترنتی | https://pypi.org/project/consulbacks3/ |
| مجوز | ISC |
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
.. _consulbacks3: https://pypi.python.org/pypi/consulbacks3
نحوه نصب
نصب پکیج whl consulbacks3-0.0.1.5:
pip install consulbacks3-0.0.1.5.whl
نصب پکیج tar.gz consulbacks3-0.0.1.5:
pip install consulbacks3-0.0.1.5.tar.gz