Tool to backup docker volumes
Project description
privateer
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
hatch run test
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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for privateer-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64d892e859494b0b10bb6f98cf95f74b59c02a359414ecd749070acbf82155ad |
|
MD5 | 19e1fc4483ac7a5278f9a75893246fb7 |
|
BLAKE2b-256 | ee9d2f1120387f0b512591c070bd5d82b1ebf7234b646f620c0c09cd899cae5c |