Skip to main content

Universal backup manager

Project description

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

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.2.1.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

detimer-0.2.1-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file detimer-0.2.1.tar.gz.

File metadata

  • Download URL: detimer-0.2.1.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for detimer-0.2.1.tar.gz
Algorithm Hash digest
SHA256 af1801cb17ca0f98ca2716101983f0de4b5cc701f2bfc0c8785b500ffedfeb87
MD5 0ab8bfc76e20bfe67a14546f35243b7a
BLAKE2b-256 f0a2aed1e4ad78798b9af9644d7e1f7b090f4b23eb1232e24ce6b1b78db79a98

See more details on using hashes here.

File details

Details for the file detimer-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: detimer-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for detimer-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6a0b10adb6658dee627a1fe28d0ed105fd095b0ddf3f00d6cefae873db050dfd
MD5 0e47c15c05c14fe0b49bc0c1c5cab4d2
BLAKE2b-256 398b80d52c7bdfda27801fd303e68986cc94f5fefb0307605d56c8bf086e0f20

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page