Skip to main content
50% off all plans, limited time. Starting at $2.48/mo
Portabase

Portabase

Portabase simplifies backup and restoration of your database instances. A central dashboard with lightweight agents backs up PostgreSQL, MySQL/MariaDB, MongoDB, SQLite, Redis, and more, encrypted, to your preferred storage. Apache-2.0 licensed with 1,100+ GitHub stars.

At a glance

1.1k

GitHub stars

188

Active installs

License Apache-2.0 Version Latest OS Ubuntu Server 24.04 LTS Min RAM 2 GB IP IPV4

Active installs is sample data (staging preview); real metric wires in before launch.

Accessing Portabase Dashboard

  • Open in browser: http://<SERVER_IP>
  • Sign up and create your account.
  • First created account becomes admin.

Important Files & Directories

  • Install Path : /opt/portabase-dashboard
  • Compose File : /opt/portabase-dashboard/docker-compose.yml
  • Environment File : /opt/portabase-dashboard/.env
  • Nginx Config : /etc/nginx/sites-available/portabase
  • PostgreSQL Volume : postgres-data
  • Application Volume : portabase-data

Managing the Stack

# Go to installation directory (where docker-compose.yml is located)
cd /opt/portabase-dashboard

# Show running containers and their status
docker compose ps

# View live logs (useful for debugging issues)
docker compose logs -f

# Restart all services without recreating containers
docker compose restart

# Stop and remove containers (data volumes remain unless explicitly removed)
docker compose down

# Start services in detached mode (background)
docker compose up -d

Enabling SSL with a Domain

1. Point your domain to the server IP.

2. Edit the /opt/portabase-dashboard/.env file to set your domain name: PROJECT_URL=https://yourdomain.com

# Before
PROJECT_URL=http://<SERVER_IP>
# After
PROJECT_URL=https://yourdomain.com

3. Restart the stack:

cd /opt/portabase-dashboard
docker compose down
docker compose up -d

4. Edit Nginx configs and replace server_name <SERVER_IP>; with your domain (server_name yourdomain.com;):

vim /etc/nginx/sites-available/portabase

5. Install Certbot:

apt install -y certbot python3-certbot-nginx

6. Generate SSL certificate:

certbot --nginx -d yourdomain.com

7. Restart Nginx:

systemctl restart nginx

8. Open your browser and visit: https://yourdomain.com

More in Self Hosted

Related apps.

Deploy Portabase now. From $2.48/mo.