r/selfhosted • • 4d ago

Monitoring Tools Portabase v1.37 (open-source DB backup/restore tool): incremental backups and new storage providers!

Hi everyone,

We've just released Portabase 1.37, introducing support for incremental backups, starting with PostgreSQL!

Repository: https://github.com/Portabase/portabase (Any star would be amazing ❤️)
Website/docs : https://portabase.io 

What is Portabase?

For those unfamiliar with Portabase, it's an open-source, self-hostable backup and restore platform designed for data retention, disaster recovery, and homogeneous migrations.

Portabase currently supported 11 data sources (including PostgreSQL, MySQL, MariaDB, MongoDB, Microsoft SQL Server and Docker volumes), mutliple storage backends (like S3, SFTP) and a lot of notification providers (Discord, ntfy, Gotify, etc).

With retention policies and periodic backups, you can standardize your backup process and restore in one-click.

What's new in 1.37?

PostgreSQL incremental backups

We've implemented a generic mechanism for incremental backups, with PostgreSQL as the first supported database. The implementation relies on pg_basebackup to perform physical backups. You can independently configure the frequency of full and incremental backups (for example, a full backup every week and an incremental backup every day).

So you can now choose between logical dumps and physical backups, which can speed up backup/restore operations for large volumes of data (like tens or hundreds of gigabytes). And incremental backups also reduce the amount of storage required for backup files.

3 new storage backends

  • WebDAV (for example, to store your backups in Nextcloud)
  • FTP/FTPS (in addition to the existing SFTP support)
  • SMB (often used in Windows environments or with NAS)

Granular encryption configuration

Until now, encryption was configured at the instance level. You can now configure it independently at the organization, project, and data source levels, giving you more flexibility over which backups are encrypted.

UX/UI improvements

We've improved the configuration workflow for storage backends and notification channels (by making the optional assignment to one or multiple organizations more explicit) and the UI for mobile devices.

As always, if you encounter a bug, please open an issue on GitHub.

Thanks to everyone using, testing, contributing to, and supporting Portabase!

22 Upvotes

9 comments sorted by

•

u/asimovs-auditor 4d ago edited 4d ago

Expand the replies to this comment to learn how AI was used in this post/project.

→ More replies (1)

2

u/aaronsuns 3d ago

Per the post, this isn't limited to databases: it also lists Docker volumes among its 11 data sources. Restic is a general file-level backup tool with content-defined deduplication and encrypted repositories, and it can take database dumps through stdin, but it doesn't understand database-specific physical backups like pg_basebackup. The practical difference is that this kind of tool bundles scheduling, retention, and one-click restore for each data source, while restic gives you a lower-level repository you have to script around.

1

u/Dense_Marionberry741 1d ago

Yes, we also support Docker volumes and files, but we consider ourselves database backup specialists, as most of our supported data sources are databases, and we rely on native/official backup methods.

1

u/Agoras_song 3d ago

How does this compare to restic? This seems to be db specific, right?

1

u/Dense_Marionberry741 3d ago

Yes, Portabase primarily focuses on database backups. It initially supported databases only, but more recently, we've added support for Docker volumes and files/directories. By the way, Portabase uses Restic under the hood for file backups.

For databases, Portabase relies on native backup methods (pg_dump, pg_basebackup, mysqldump, BACKUP DATABASE for Microsoft SQL Server, etc.).

Portabase also provides a web UI to manage everything: backup and retention policies, agents, data sources, storage backends, notifications, and backup/restore operations.

3

u/Agoras_song 3d ago

Portabase uses Restic under the hood

Okay I'm sold. :) This looks like it's exactly what I needed.

1

u/MondelaPhoungeun69 3d ago

nice release. for the physical backups, does the tool also handle automatic restore testing to a temporary instance, or is verification still a manual step right now?

1

u/Dense_Marionberry741 3d ago

Portabase supports restoring backups to the same instance or to another instance using the migration feature. However, Portabase does not automatically spin up a temporary instance to test the restoration.