Universal backup manager
Project description
Detimer
Detimer provides a high-level interface for managing backup configurations. Say goodbye to messy backup scripts. With this tool you can configure all your backup targets in a single yaml file.
Overview
A root is a backup job, including information such as the directory to back up, where to store it and exclusion rules. Eventually, you will also be able to specify a backup tool.
Installation
pip install detimer
Usage
$ detimer -h
Usage: detimer [OPTIONS] COMMAND [ARGS]...
Universal backup manager
Options:
-V, --version Show the version and exit.
-h, --help Show this message and exit.
Commands:
backup Backup specified roots
list List all roots
Configuration
To add a root, edit config.yml
in:
- OS X: ~/Library/Application Support/Detimer
- Unix: ~/.config/detimer
- Windows: %USERPROFILE%\AppData\Roaming\Detimer
Each root should have the following properties:
name
src
- Absolute path of the source directorydest
- Absolute path of the destination directorymatch
- Inclusion/exclusion rules. Patterns starting with-
are excluded, and patterns starting with+
are force-included. Any inclusion lines must precede their corresponding exclusion lines (see the example below).
Example:
roots:
- name: mega
src: /home/USER
dest: /mega/backups
match: |
- Downloads
- **/node_modules
+ another-excluded-dir/except-this-file
- another-excluded-dir
License
Licensed under GNU GPLv3
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
detimer-0.1.1.tar.gz
(17.8 kB
view hashes)
Built Distribution
detimer-0.1.1-py3-none-any.whl
(19.1 kB
view hashes)