Portabase
A tool designed to simplify the backup and restoration of your database instances. Supports PostgreSQL, MySQL, MariaDB, MongoDB, SQLite, Redis, Valkey, and Firebird.
A tool designed to simplify the backup and restoration of your database instances. Supports PostgreSQL, MySQL, MariaDB, MongoDB, SQLite, Redis, Valkey, and Firebird.
<br />
<div align="center">
<a href="https://portabase.io">
<img src="/.github/assets/logo.png" alt="Logo" width="80" height="80">
</a>
<h3 align="center">Portabase</h3>
<p align="center" style="margin-top: 20px; font-style: italic;">
<i>Portabase is a tool designed to simplify the backup and restoration of your database instances. It integrates seamlessly with <a href="https://github.com/Portabase/agent-rust">Portabase agents</a> for managing operations securely and efficiently.</i>
</p>
[](LICENSE)
[](https://hub.docker.com/r/portabase/portabase)
[](https://github.com/Portabase/portabase/pkgs/container/charts%2Fportabase)
[](https://github.com/Portabase/portabase)
[](https://www.buymeacoffee.com/portabase)
[](https://www.postgresql.org/)
[](https://www.mysql.com/)
[](https://mariadb.org/)
[](https://sqlite.org/)
[](https://redis.io/)
[](https://www.mongodb.com/)
[](https://valkey.io/)
[](https://firebirdsql.org/)
[](https://www.microsoft.com/en-us/sql-server)
[](https://github.com/Portabase/portabase)
[](https://github.com/Portabase/portabase)
[![NextJS][NextJS]][NextJS-url]
[![BetterAuth][BetterAuth]][BetterAuth-url]
[![Drizzle][Drizzle]][Drizzle-url]
[![ShadcnUI][ShadcnUI]][ShadcnUI-url]
[![Docker][Docker]][Docker-url]
<p>
<strong>
<a href="https://portabase.io">Website</a> •
<a href="https://portabase.io/docs">Documentation</a> •
<a href="https://www.youtube.com/watch?v=nSTzT27GgAg">Demo</a> •
<a href="https://portabase.io/docs/dashboard/setup">Installation</a> •
<a href="https://github.com/Portabase/portabase/issues/new?labels=bug&template=bug-report---.md">Report Bug</a> •
<a href="https://github.com/Portabase/portabase/issues/new?labels=enhancement&template=feature-request---.md">Request Feature</a>
</strong>
</p>

</div>
## Installation
You have 4 ways to install Portabase:
- Automated CLI (recommended) - [details](https://portabase.io/docs/dashboard/setup#cli)
- Docker Run - [details](https://portabase.io/docs/dashboard/setup#docker)
- Docker Compose setup - [details](https://portabase.io/docs/dashboard/setup#docker-compose)
- Kubernetes with Helm [details](https://portabase.io/docs/dashboard/setup#helm)
- Development setup - [details](https://portabase.io/docs/dashboard/setup#development)
**Ensure Docker is installed on your machine before getting started.**
## Supported databases
| Engine | Support | Supported Versions | Restore |
|:-------------------|:----------|:------------------------------|:--------|
| **PostgreSQL** | ✅ Stable | 12, 13, 14, 15, 16, 17 and 18 | Yes |
| **MySQL** | ✅ Stable | 5.7, 8 and 9 | Yes |
| **MariaDB** | ✅ Stable | 10 and 11 | Yes |
| **MongoDB** | ✅ Stable | 4, 5, 6, 7 and 8 | Yes |
| **SQLite** | ✅ Stable | 3.x | Yes |
| **Redis** | ✅ Stable | 2.8+ | No |
| **Valkey** | ✅ Stable | 7.2+ | No |
| **Firebird** | ✅ Stable | 3.0, 4.0, 5.0 | Yes |
| **MSSQL Server** | ✅ Stable | 2017, 2019, 2022, Azure SQL | Yes |
See the [Database Servers documentation](https://portabase.io/docs/agent/db) for version-specific backup and restore details.
## Contributors
[](https://github.com/Portabase/portabase/graphs/contributors)
[](https://www.buymeacoffee.com/portabase)
## License
Distributed under the Apache License. See `LICENSE.txt` for more details.
[Docker]: https://img.shields.io/badge/Docker-2496ED?logo=docker&logoColor=fff&style=for-the-badge
[NextJS]: https://img.shields.io/badge/next.js-000000?style=for-the-badge&logo=nextdotjs&logoColor=white
[BetterAuth]: https://img.shields.io/badge/Better%20Auth-FFF?logo=betterauth&logoColor=000&style=for-the-badge
[Drizzle]: https://img.shields.io/badge/Drizzle-111?style=for-the-badge&logo=Drizzle&logoColor=c5f74f
[ShadcnUI]: https://img.shields.io/badge/shadcn/ui-000000?style=for-the-badge&logo=shadcn/ui&logoColor=white
[NextJS-url]: https://nextjs.org/
[BetterAuth-url]: https://www.better-auth.com/
[Drizzle-url]: https://orm.drizzle.team/
[ShadcnUI-url]: https://ui.shadcn.com/
[Docker-url]: https://www.docker.com/
Portabase is an open-source, self-hosted platform designed to simplify the backup and restoration of database instances. It integrates with lightweight Portabase agents deployed alongside your databases to handle backup operations securely and efficiently, all managed through a clean web dashboard.
| Engine | Status | Supported Versions | Restore | |---|---|---|---| | PostgreSQL | ✅ Stable | 12, 13, 14, 15, 16, 17, 18 | Yes | | MySQL | ✅ Stable | 5.7, 8, 9 | Yes | | MariaDB | ✅ Stable | 10, 11 | Yes | | MongoDB | ✅ Stable | 4, 5, 6, 7, 8 | Yes | | SQLite | ✅ Stable | 3.x | Yes | | Redis | ✅ Stable | 2.8+ | No | | Valkey | ✅ Stable | 7.2+ | No | | Firebird | ✅ Stable | 3.0, 4.0, 5.0 | Yes |
Portabase can be deployed in four ways:
docker run command.docker-compose.yml for a multi-container setup.Docker must be installed before getting started. See the installation docs for full details.
Manage databases, supports PostgreSQL, MySQL, SQLite and more. A web/hosted version of DBeaver.
Explore and publish data with easy import and export and database management.
Database management in a single PHP file. Available for MySQL, MariaDB, PostgreSQL, SQLite, MS SQL, Oracle, Elasticsearch, MongoDB and others.
Create your own database without technical experience (alternative to Airtable).