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 details)

Uploaded Source

File details

Details for the file kubedrctl-0.1.4.tar.gz.

File metadata

  • Download URL: kubedrctl-0.1.4.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.6

File hashes

Hashes for kubedrctl-0.1.4.tar.gz
Algorithm Hash digest
SHA256 97d1bc9be79bf86071d97515abe61e5b8e7de78181f8627ac8eca35df2d6d298
MD5 b6a99edae19f3a4fc777cc1d4ee83235
BLAKE2b-256 e34e437c6dbb518b91bc8e731eab52e819b430844796177f237668cbaf889a4e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page