Skip to main content

What is ddmail_backup_taker

Application to handle backups for the DDMail project.

Features

  • Backups of folders/files and mariadb databases.
  • Storing backups in encrypted form "at rest" using OpenPGP.
  • Sending backups offsite using ddmail_backup_receiver.

What is DDMail

DDMail is a e-mail system/service that prioritizes security. A current production example can be found at www.ddmail.se

Operating system

Developt for and tested on debian 13.

Installing using pip

pip install ddmail-backup-taker

Building and installing from source using hatchling.

Step 1: clone github repo
git clone https://github.com/drzobin/ddmail_backup_taker [code path]
cd [code path]

Step 2: Setup python virtual environments
python -m venv [venv path]
source [venv path]/bin/activate

Step 3: Install package and required dependencies
pip install -e .[dev]

Step 4: Build package
python -m pip install --upgrade build
python -m build

Packages is now located under dist folder

Step 5: Install package
pip install dist/[package name].whl

Running

source [ddmail_backup_taker venv]/bin/activate
ddmail_backup_taker --config-file [config file path]

Testing

cd [code path]
pytest --cov=ddmail_backup_taker tests/ --config=[config file path]

Coding

Follow PEP8 and PEP257. Use ruff for linting. Strive for 100% test coverage.

Metadata

Release files for ddmail-backup-taker 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ddmail-backup-taker 0.0.2
File Size Uploaded Provenance
ddmail_backup_taker-0.0.2.tar.gz 31.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ddmail-backup-taker 0.0.2
File Interpreter ABI Platform
ddmail_backup_taker-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 54.9 kB

Release files / ddmail_backup_taker-0.0.2.tar.gz

Download URL ddmail_backup_taker-0.0.2.tar.gz
Size 31.9 kB
Tags Source
SHA-256 checksum
How to use checksums
053032e12b176c469e5059b3e8af5d5260198fef0b780511ecda15d69f4094d7
BLAKE2b-256 checksum
How to use checksums
18f3bd26821db66e5bb92f0db6281c408301be11d7f2d123bbe6442dba57c7c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / ddmail_backup_taker-0.0.2-py3-none-any.whl

Download URL ddmail_backup_taker-0.0.2-py3-none-any.whl
Size 23.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce2118498022b556cb7a038f6a7c657c31961ae5fc4ade36ab5667e8f2a56d42
BLAKE2b-256 checksum
How to use checksums
ca29232b4e684f2cbb040ddf11c2b80b11ea77825282077e72aed191da764a00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for ddmail-backup-taker 0.0.2

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

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