yet another backup utility
Project description
YABU
yet another backup utility
YABU is a utility that exploiting rsync
allows to automatize backup tasks also for remote servers.
Install
YABU required to work the rsync
tool, you can easily retrieves it from your package manager:
From AUR (recommended if you using Arch Linux)
YABU is available also as AUR package. Yuo can find it as python-yabu
.
From pypi (recommended)
You can install YABU from pypi using pip.
pip install yabu
From source code
An alternative way to install YABU is from the source code, exploiting the setup.py
script.
git clone https://github.com/RobertoBochet/yabu.git
cd yabu
python3 setup.py install --user
Usage
yabu -h
usage: yabu [-h] [-c CONFIG_PATH] [-v] [--version]
optional arguments:
-h, --help show this help message and exit
-c CONFIG_PATH, --config CONFIG_PATH
configuration file path
-v number of -v defines level of verbosity
--version show program's version number and exit
Before start YABU you must create a custom configuration file (see configuration section).
Configuration
The whole YABU behaviour can be configured with its config.yaml
.
You can provide to YABU a custom configuration file exploiting argument -c
, if you will not do it, YABU will look for it in the default path /etc/yabu/config.yaml
.
config.yaml
structure
-
tasks
[dict<string,dict>] is a dict of the tasks that will be done, each task has a custom name as key and it has a specific struct-
remote_base_path
[string] the base path of the remote server -
targets
[list<string>] a list of the paths that have to be backuped
-
A complete schema of config file can be found in yabu/resources/config.schema.yaml
.
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
Built Distribution
File details
Details for the file yabu-0.1.3.3.tar.gz
.
File metadata
- Download URL: yabu-0.1.3.3.tar.gz
- Upload date:
- Size: 20.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e1c9a51c935e211ce5b76f3e5c9a472bf3c1bacc88450c4fd9a04c19e7a5202 |
|
MD5 | ea6a2a19340091a317454a5192b59520 |
|
BLAKE2b-256 | eef1cdbf62ab6dd55fe07bea0b1c6ca41f84822e3f70cf88fe0c640a84d260c7 |
File details
Details for the file yabu-0.1.3.3-py3-none-any.whl
.
File metadata
- Download URL: yabu-0.1.3.3-py3-none-any.whl
- Upload date:
- Size: 20.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fccb561e1f125eb8d08ef312f6e5d693e38ee81317eafae871662445d5917c19 |
|
MD5 | 6f4c01ec23ec5925acd2827cb6a889f2 |
|
BLAKE2b-256 | 9131bae46e114488b8b8b12f1f4319819565c315831ecf5bda07c61916dec0b0 |