postgres-minio-backup/README.md
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

27 lines
No EOL
576 B
Markdown

# 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:
```bash
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](config.dist.yaml).
Then, run the script:
```bash
postgres-minio-backup
```
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.