Skip to main content

Tool to backup docker volumes

Project description

privateer

PyPI - Version PyPI - Python Version


Table of Contents

Usage

  privateer --version
  privateer backup <path> --to=HOST [--exclude=TARGETS] [--include=INCLUDE]
  privateer restore <path> --from=HOST [--exclude=TARGETS] [--include=INCLUDE]

Options:
  --exclude=TARGETS  Comma separated string of target names to exclude (default is to include all)
  --include=TARGETS  Comma separated string of target names to include (default is to include all)

<path> is the path to a directory containing a privateer.json file. This file should contain at least one target and at least one host. See ./config/privateer.json for an example. By default all targets in the config file are used, but this can be overridden by explicitly including or excluding targets by name.

Test and lint

  1. hatch run test
  2. hatch run lint:fmt

To get coverage reported locally in the console, use hatch run cov. On CI, use hatch run cov-ci to generate an xml report.

Installation

pip install privateer

License

privateer is distributed under the terms of the MIT license.

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

privateer-0.0.1.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

privateer-0.0.1-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

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