SelfHost Hub SelfHost Hub
中文
← Back to all services

GitHub repository information

Fetched · June 5, 2026
★ 948 Latest: 1.17.4 Updated: June 5, 2026
README
<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: Apache](https://img.shields.io/badge/License-apache-yellow.svg)](LICENSE)
[![Docker Pulls](https://img.shields.io/docker/pulls/portabase/portabase?color=brightgreen)](https://hub.docker.com/r/portabase/portabase)
[![Helm Chart](https://img.shields.io/badge/Helm-Kubernetes-326ce5?logo=helm&logoColor=white)](https://github.com/Portabase/portabase/pkgs/container/charts%2Fportabase)
[![Platform](https://img.shields.io/badge/platform-linux%20%7C%20macos%20%7C%20windows-lightgrey)](https://github.com/Portabase/portabase)
[![Support Portabase](https://img.shields.io/badge/Support-Portabase-orange)](https://www.buymeacoffee.com/portabase)

[![PostgreSQL](https://img.shields.io/badge/PostgreSQL-336791?logo=postgresql&logoColor=white)](https://www.postgresql.org/)
[![MySQL](https://img.shields.io/badge/MySQL-4479A1?logo=mysql&logoColor=white)](https://www.mysql.com/)
[![MariaDB](https://img.shields.io/badge/MariaDB-003545?logo=mariadb&logoColor=white)](https://mariadb.org/)
[![SQLite](https://img.shields.io/badge/-SQLite-blue?logo=sqlite&logoColor=white)](https://sqlite.org/)
[![Redis](https://img.shields.io/badge/Redis-DC382D?style=flat&logo=Redis&logoColor=white)](https://redis.io/)
[![MongoDB](https://img.shields.io/badge/-MongoDB-13aa52?logo=mongodb&logoColor=white)](https://www.mongodb.com/)
[![Valkey](https://img.shields.io/badge/Valkey-6284fc?style=flat&logo=Valkey&logoColor=white)](https://valkey.io/)
[![Firebird](https://img.shields.io/badge/Firebird-f55b14?style=flat&logo=Firebird&logoColor=white)](https://firebirdsql.org/)
[![Microsoft SQL Server](https://img.shields.io/badge/Microsoft%20SQL%20Server-CC2927?style=flat&logo=microsoftsqlserver&logoColor=white)](https://www.microsoft.com/en-us/sql-server)

[![Self Hosted](https://img.shields.io/badge/self--hosted-yes-brightgreen)](https://github.com/Portabase/portabase)
[![Open Source](https://img.shields.io/badge/open%20source-❤️-red)](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>

![portabase-dashboard](https://github.com/user-attachments/assets/8f2c69d6-f1f9-4b80-b51c-01f6f13b9b62)


</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

[![Contributors](https://contrib.rocks/image?repo=Portabase/portabase)](https://github.com/Portabase/portabase/graphs/contributors)

[!["Support Portabase"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](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.

Supported Databases

| 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 |

Key Features

  • Unified dashboard: Manage all your database backup jobs from a single web interface.
  • Agent-based architecture: Lightweight agents run alongside your database containers and communicate with the Portabase server securely.
  • Scheduled backups: Configure automated backup schedules for each database instance.
  • Backup restoration: Restore databases directly from the dashboard for supported engines.
  • Multi-database support: Works with the most popular relational, document, and key-value databases.
  • Open source: Apache-2.0 licensed and fully self-hosted — your data never leaves your infrastructure.

Installation

Portabase can be deployed in four ways:

  1. Automated CLI (recommended): Use the official CLI to set up Portabase and its agents automatically.
  2. Docker Run: Launch the container with a single docker run command.
  3. Docker Compose: Use the provided docker-compose.yml for a multi-container setup.
  4. Kubernetes / Helm: Deploy on Kubernetes using the official Helm chart.

Docker must be installed before getting started. See the installation docs for full details.

Discover more