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.1.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for kubedrctl-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e6fb2c97cc07c071982051b6097840b063751d3ae451bc93449f6daf29c7eb8 |
|
MD5 | b016993c62179082dd560b96b53c6e61 |
|
BLAKE2b-256 | b81ece70b2ba272b71c084218821b517d8d09bffe12d017e664b0e7e74f52378 |