#18: Fix for README mention of sample files not included in package. Also, added logo.
This commit is contained in:
parent
9a96a277e6
commit
4447956da7
4 changed files with 27 additions and 5 deletions
5
NEWS
5
NEWS
|
@ -1,3 +1,8 @@
|
|||
1.0.3-dev
|
||||
|
||||
* #18: Fix for README mention of sample files not included in package.
|
||||
* Added logo.
|
||||
|
||||
1.0.3
|
||||
|
||||
* #21: Fix for verbosity flag not actually causing verbose output.
|
||||
|
|
24
README.md
24
README.md
|
@ -1,4 +1,6 @@
|
|||
title: Borgmatic
|
||||
title: borgmatic
|
||||
|
||||
<img src="static/borgmatic.svg" alt="borgmatic logo" style="width: 8em; float: right; padding-left: 1em;" />
|
||||
|
||||
## Overview
|
||||
|
||||
|
@ -57,11 +59,14 @@ To install borgmatic, run the following command to download and install it:
|
|||
|
||||
sudo pip install --upgrade borgmatic
|
||||
|
||||
Then, copy the following configuration files:
|
||||
Then, download a [sample config
|
||||
file](https://torsion.org/hg/borgmatic/raw-file/tip/sample/config) and a
|
||||
[sample excludes
|
||||
file](https://torsion.org/hg/borgmatic/raw-file/tip/sample/excludes). From the
|
||||
directory where you downloaded them:
|
||||
|
||||
sudo cp sample/borgmatic.cron /etc/cron.d/borgmatic
|
||||
sudo mkdir /etc/borgmatic/
|
||||
sudo cp sample/config sample/excludes /etc/borgmatic/
|
||||
sudo mv config excludes /etc/borgmatic/
|
||||
|
||||
Lastly, modify the /etc files with your desired configuration.
|
||||
|
||||
|
@ -111,6 +116,17 @@ If you'd like to see the available command-line arguments, view the help:
|
|||
borgmatic --help
|
||||
|
||||
|
||||
## Autopilot
|
||||
|
||||
If you want to run borgmatic automatically, say once a day, the you can
|
||||
configure a job runner like cron to invoke it periodically. Download the
|
||||
[sample cron
|
||||
file](https://torsion.org/hg/borgmatic/raw-file/tip/sample/borgmatic.cron).
|
||||
Then, from the directory where you downloaded it:
|
||||
|
||||
sudo cp borgmatic.cron /etc/cron.d/borgmatic
|
||||
|
||||
|
||||
## Running tests
|
||||
|
||||
First install tox, which is used for setting up testing environments:
|
||||
|
|
2
setup.py
2
setup.py
|
@ -1,7 +1,7 @@
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
|
||||
VERSION = '1.0.3'
|
||||
VERSION = '1.0.3-dev'
|
||||
|
||||
|
||||
setup(
|
||||
|
|
1
static/borgmatic.svg
Normal file
1
static/borgmatic.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve"><g><circle cx="63.461" cy="59.615" r="5.626"></circle><path d="M81.432,48.015c0.779-10.849-1.758-19.894-7.407-26.293C68.447,15.403,59.915,11.923,50,11.923 c-6.729,0-12.834,1.645-17.81,4.724c-0.405-0.06-0.823-0.073-1.248,0.005C8.128,20.817,0,34.623,0,46.154 c0,6.155,1.856,11.005,5.519,14.417c2.082,1.941,4.461,3.223,6.659,3.921C13.041,74.256,18.345,81,23.077,81h1.438 C30.168,94,44.847,99.614,50,99.614c6.708,0,24.493-7.875,27.38-25.392c4.758-1.888,10.697-7.373,10.697-13.711 C88.077,54.639,85.395,49.855,81.432,48.015z M7.691,46.154c0-3.397,1.238-13.399,14.747-19.083 c-2.043,3.821-3.31,8.234-3.771,13.136c-3.06,2.521-5.577,7.792-6.366,15.873c-0.534-0.316-1.056-0.686-1.538-1.135 C8.725,53.045,7.691,50.088,7.691,46.154z M74.23,67.947c-1.806,0-3.309,1.389-3.451,3.188C69.608,85.928,53.914,92.575,50,92.575 c-3.275,0-14.607-4.474-19.03-14.325c1.001-0.709,2.168-1.25,3.646-1.25c3.809,0,3.847,0,3.847,0c2.126,0,7.692-4.023,7.692-19.494 C46.154,46.241,40.588,42,38.462,42c0,0-0.195,0-3.847,0c-3.65,0-5.566-4-7.692-4h-1.046c0.813-4,2.646-8.756,5.473-11.94 c4.321-4.87,10.771-7.329,18.65-7.329c8.016,0,14.528,2.636,18.835,7.515c4.821,5.462,6.697,13.762,5.424,23.95 c-0.123,0.984,0.183,1.99,0.84,2.734s1.602,1.179,2.595,1.179c1.671,0,3.46,2.562,3.46,6.371 C81.153,64.016,75.754,67.812,74.23,67.947z M30.432,59.615c0-3.377,2.734-6.107,6.106-6.107c3.373,0,6.107,2.73,6.107,6.107 s-2.734,6.107-6.107,6.107C33.166,65.723,30.432,62.992,30.432,59.615z"></path></g></svg>
|
After Width: | Height: | Size: 1.6 KiB |
Loading…
Reference in a new issue