postgres-minio-backup/pyproject.toml
Kumi 828fb667f2
feat: implement PostgreSQL to MinIO backup solution
Introduced a new Python script to back up PostgreSQL databases, encrypt the dumps using GPG, and then upload them to MinIO. This solution includes:
- `.gitignore` to safeguard against accidentally committing sensitive files.
- A clear `LICENSE` and `README.md` for legal clarity and usage documentation.
- Sample configuration in `config.dist.yaml` to ease setup.
- Defined project dependencies and metadata in `pyproject.toml` for streamlined package management.
- Core implementation in `src/postgres_minio_backup` to encapsulate backup logic.

This commit sets the foundation for a robust, secure database backup mechanism, facilitating easier disaster recovery and data protection strategies.
2024-05-19 18:47:22 +02:00

31 lines
No EOL
811 B
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "postgres-minio-backup"
version = "0.1.0"
authors = [
{ name="Kumi Mitterer", email="postgres-minio-backup@kumi.email" },
]
description = "Simple Python script to backup a PostgreSQL database to MinIO"
readme = "README.md"
license = { file="LICENSE" }
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
]
dependencies = [
"psycopg2-binary",
"boto3",
"pyyaml",
]
[project.scripts]
postgres-minio-backup = "postgres_minio_backup:main"
[project.urls]
"Homepage" = "https://git.private.coffee/kumi/postgres-minio-backup"
"Bug Tracker" = "https://git.private.coffee/kumi/postgres-minio-backup/issues"