KubeDR CLI.
Project description
kubedrctl is a command line tool to exercise some functionality of the KubeDR project.
Installation
Here is one way of installing using a virtual environment:
# Create a virtual environment $ python3 -m venv $HOME/venv/kubedrctl # Install the library $ $HOME/venv/kubedrctl/bin/pip install kubedrctl $ export PATH=$PATH:$HOME/venv/kubedrctl/bin
Usage
Listing Backups
$ kubedrctl list backups --accesskey <ACCESSKEY> \
--secretkey <SECRETKEY> --repopwd <REPO_PASSWORD> \
--endpoint <S3-ENDPOINT> --bucket <BUCKET>
Restoring from backups
$ kubedrctl restore --accesskey <ACCESSKEY> \
--secretkey <SECRETKEY> --repopwd <REPO_PASSWORD> \
--endpoint <S3-ENDPOINT> --bucket <BUCKET> \
--targetdir <RESTORE_TARGET_DIR> <SNAPSHOT-ID>
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
kubedrctl-0.1.3.tar.gz
(4.9 kB
view hashes)
Built Distribution
kubedrctl-0.1.3-py3-none-any.whl
(10.2 kB
view hashes)
Close
Hashes for kubedrctl-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b74c7532163d36ae35305b75193c84b79ffe35febb8554b01032764ccdce02d8 |
|
MD5 | 5f506266ecf6ffc3ec803aad5d44e1e2 |
|
BLAKE2b-256 | 53e25971f9c69dd634480c652d14172c632446f5060f79922e9523e4a1854c64 |