No description
Kumi
828fb667f2
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. |
||
---|---|---|
src/postgres_minio_backup | ||
.gitignore | ||
config.dist.yaml | ||
LICENSE | ||
pyproject.toml | ||
README.md |
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.