Skip to main content

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.4.tar.gz (8.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page