No description
Find a file
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
src/postgres_minio_backup feat: implement PostgreSQL to MinIO backup solution 2024-05-19 18:47:22 +02:00
.gitignore feat: implement PostgreSQL to MinIO backup solution 2024-05-19 18:47:22 +02:00
config.dist.yaml feat: implement PostgreSQL to MinIO backup solution 2024-05-19 18:47:22 +02:00
LICENSE feat: implement PostgreSQL to MinIO backup solution 2024-05-19 18:47:22 +02:00
pyproject.toml feat: implement PostgreSQL to MinIO backup solution 2024-05-19 18:47:22 +02:00
README.md feat: implement PostgreSQL to MinIO backup solution 2024-05-19 18:47:22 +02:00

PostgreSQL to MinIO Backup

This is a simple script to backup a PostgreSQL database, encrypt the dump using GPG, and upload it to MinIO.

Installation

Set up a Python virtual environment and install the requirements:

python3 -m venv venv
source venv/bin/activate
pip install -U .

Usage

First, set up a config.yaml based on the template provided in config.dist.yaml.

Then, run the script:

postgres-minio-backup

License

This project is licensed under the MIT License - see the LICENSE file for details.