Backups are one of those things everyone knows they should have, but few enjoy setting up. Between security concerns, network complexity, and tools that assume way too much expertise, database backups often end up ignored until something breaks.
Portabase is a backup and restore tool for databases, currently supporting PostgreSQL, MySQL, MariaDB and MongoDB with Redis coming soon.
Portabase features a secure-by-design architecture, using a central server and lightweight agents that enable deployment at the edge and operation across multiple networks. Don’t worry—you never need to expose your database to the internet!
These agents handle everything: they back up your data and send it encrypted to your preferred storage locations, all without requiring any technical skills. You can manage everything from the web interface.
In a hurry? Use the CLI or the ready-to-go Docker Compose setup provided in the documentation.
How does Portabase Work?
Portabase’s ecosystem is built around three primary components:
Central server (management plane)
It provides a user-friendly interface that serves as the central control plane for all backup and restoration operations. From here, users can register and manage agents, configure backup policies and review historical backups. The dashboard also provides visibility into storage usage and retention compliance, making it easy for teams to manage multiple databases and agents from a single location.
Agents (execution plane)
Lightweight connectors deployed on database hosts that perform the actual backup and restore operations. Agents operate in outbound pull mode, eliminating the need to open inbound ports on protected infrastructure while maintaining secure communication with the central server.
CLI (assistant)
A command‑line utility that streamlines installation and configuration of both the dashboard and agents. The CLI automates environment setup, configuration generation, and operational commands.
Core Features & Capabilities
It’s cron-based and supports three different retention strategies which works well for logical backups :
- Fixed number of backups retained
- Time‑based retention (n days)
- GFS rotation (Grandfather‑Father‑Son)
These policies apply to logical backup artifacts and help enforce organizational data retention standards.
For organizational usage, Portabase implements workspace structures that let you manage access and segmentation of resources (databases, storage locations and notifiers). This helps enforce permission boundaries for teams and projects within the same instance.
Highly modular with many integrations
The platform supports multiple storage backends, including local file systems and any S3-compatible storage (whether from cloud providers like AWS S3 or CloudFlare R2, or on-premise solutions such as MinIO or RustFS), and Google Drive.
Portabase is designed for flexibility and scalability. You can link each database to multiple storage targets, enabling redundancy and resilience to keep backups safe even if one storage location fails.
Portabase integrates with popular notification and alerting platforms such as Slack, Discord, or Telegram, allowing teams to stay informed about backup status in real time. Alerts can notify you of successful backups or failures, enabling proactive monitoring and faster response times. These integrations help ensure that critical backup operations are never overlooked and make it easy to embed Portabase into existing team workflows and communication channels.
Under the Hood
The central server is built with Next.js 16, leveraging server-side rendering (SSR) and optimized client-side hydration to deliver low-latency interfaces. The backend uses PostgreSQL for reliable data storage with Drizzle ORM managing database interactions, ensuring type-safe queries, transactional integrity, and efficient schema migrations.
The agent, originally written in Python, has been fully refactored in Rust 🦀, taking advantage of Tokio’s asynchronous runtime for high-throughput, non-blocking operations. This rewrite reduces the Docker image size by 4x, minimizes runtime errors, and ensures reliable, concurrent backup and restore operations across multiple databases. Rust’s memory safety and performance guarantees make the agent well-suited for production environments with high I/O demands.
If you find Portabase useful, don’t forget to give it a star on GitHub!



Top comments (1)
🙌