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.2.tar.gz
(4.9 kB
view hashes)
Built Distribution
Close
Hashes for kubedrctl-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 098082c9868aa3b36a0490301fc5a3b7fa82ad3952b6d1c0b016d092c027bb86 |
|
MD5 | 9597dadb0233f6f18dc95672c3a9204b |
|
BLAKE2b-256 | 935f97d5f2e0790111d35d17f4b5246a404f22f95c0b9d15cf7355806b9b272e |