Skip to main content

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:

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:

  • name
  • src - Absolute path of the source directory
  • dest - Absolute path of the destination directory
  • match - 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

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)

Source distribution for detimer 0.2.1
File Size Uploaded
detimer-0.2.1.tar.gz 18.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for detimer 0.2.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page