Detimer
Detimer provides a high-level interface for making backups. Say goodbye to messy backup scripts. With this tool you can configure all your backup targets in a single yaml file.
Currently supported backup tools:
- rdiff-backup
- more coming soon
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 (for now rdiff-backup is assumed).
Installation
You will need rdiff-backup installed. Then you can install detimer:
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:
namesrc- 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
Contributing
Pull Requests are welcome! Please open an issue before making major changes. Additionally, we use conventional commits.
License
Licensed under GNU GPLv3
Metadata
Release files for detimer 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| detimer-0.2.1.tar.gz | 18.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| detimer-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 38.0 kB
Release files / detimer-0.2.1.tar.gz
| Download URL | detimer-0.2.1.tar.gz |
|---|---|
| Size | 18.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af1801cb17ca0f98ca2716101983f0de4b5cc701f2bfc0c8785b500ffedfeb87
|
|
BLAKE2b-256 checksum How to use checksums |
f0a2aed1e4ad78798b9af9644d7e1f7b090f4b23eb1232e24ce6b1b78db79a98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.15
|
Release files / detimer-0.2.1-py3-none-any.whl
| Download URL | detimer-0.2.1-py3-none-any.whl |
|---|---|
| Size | 19.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a0b10adb6658dee627a1fe28d0ed105fd095b0ddf3f00d6cefae873db050dfd
|
|
BLAKE2b-256 checksum How to use checksums |
398b80d52c7bdfda27801fd303e68986cc94f5fefb0307605d56c8bf086e0f20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.15
|
Security for detimer 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.