In this guide, we’ll explore the setup of Portabase v1.1.10, an open-source tool ideal for managing database backups with added support for notification connectors.
Prerequisites
Ensure you have the following before starting:
- Docker and Docker Compose installed
- Basic understanding of terminal operations
- A running database (MySQL or PostgreSQL)
- Configured remote storage for backups if needed (e.g., S3)
Setup and Installation
Download the latest Portabase image:
docker pull portabase:1.1.10
Running Portabase with Docker Compose
Create a docker-compose.yml file:
version: '3.7'
services:
portabase:
image: portabase:1.1.10
ports:
- "8000:8000"
volumes:
- ./backup:/app/data
environment:
- DB_HOST=your_db_host
- DB_USER=your_db_user
- DB_PASS=your_db_password
Run the container:
docker-compose up -d
Configuring Notification Connectors
Setup notification settings by editing .env:
NOTIFY_SERVICE=slack
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/T0000/B0000/XXXX
Validating Backups
Validate by checking logs:
docker-compose logs portabase
Additionally, you can simulate a backup:
curl -X POST http://localhost:8000/backup
Common Issues and Troubleshooting
- Check if Docker and Docker Compose are running and up to date.
- Ensure environment variables are correctly configured.
- Network issues can be resolved via port forwarding settings in your Docker daemon.
Cleanup
To remove the setup, execute:
docker-compose down
Sources
For more detailed information, visit [this Reddit thread](https://www.reddit.com/r/devops/comments/1q7imft/portabase_v1110_database_backuprestore_tool_now/).
Transparency Note: This post was generated with AI assistance and verified with automated source checks.