frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: PostgreSQL backup tool Databasus moved to PG 17 native physical backups

https://github.com/databasus/databasus
1•rostislav_dugin•1h ago
A quick recap: Databasus is a PostgreSQL backup tool with a focus on Point-in-time-recovery and backup verification. It has web UI, many storages (S3, FTP, Google Drive, etc.) and notifications about success\failure (to Slack, Telegram, email, etc.).

The first version of physical backups was built over a backup agent. Users needed to install an agent (Go binary) on the host with a database, then this agent was executing pg_basebackup, was reading WAL-segments and was pushing them to the Databasus instance.

This implementation appeared to be a mistake so we removed it. Now physical backups (including incremental) and WAL-streaming are performed remotely over PG 17+ native protocol.

Why it was a mistake:

1) First of all, it was a naive implementation of PITR: just streaming WAL-segments is not enough to achieve low RTO (Recovery Time Objective), because DB may have to reply a week of WAL-segments.

2) Secondly, we introduced an agent to solve the particular task: backup DBs without exposing them publicly. It appeared, that the solution in 99% of cases is to put Databasus itself in private network or connect via SSH\bastion. So an agent was an overengineered solution for the "not exposing DB" task.

3) Operational complexity and bad UX. It was hard for us to develop, test and maintain the agent as a separate tool. For users it was hard to install both Databasus and agent. There were issues in keeping it in the background, making it UX-friendly (that is also important even for CLI tools).

So now Databasus relies fully on PG 17+ native backups (PG 17 introduced WAL-summary that made it possible to do incremental backups remotely). It gives Databasus:

1) Improved operational simplicity, because there is no need for the agent at all. All backups are performed remotely. For users, there is no need to install something alongside with the DB (so even cloud physical backups are possible now). For us no need to maintain a separate piece of the project, handle edge cases, harm UX and care about integration between an agent and the main instance. The less moving pieces to configure, the smaller area for mistakes.

2) Improved RTO: now PITR achieved via PG 17 incremental backups via WAL-summary. So over restore you replay WALs only from the latest incremental backup instead of the latest full backup. In the past approach was to make a full backup once a week and then stream WALs. Now approach is to make full backups once a week, incremental once a day and then stream WALs.

3) Improved reliability, because there is no reinvention of backup mechanisms. Before backup tools like pgBackRest or WAL-G had to build their own incremental backups implementation, and then test it under all edge-cases. We decided to rely on native implementation that appeared in PG 17. From one side, we support PITR only for PG 17 (for earlier we have logical backups). From another side, it improves our reliability, we don't have to reinvent own implementations and now we are fully relying on battle-tested tooling. Moreover, right now PG 17 and higher is used in ~50% PostgreSQL installations in the world, in 2 years it will be ~80%-90%.

Those decisions with explanations and trade-offs are fixed in ADRs:

- Usage of native PG 17 backups instead of custom implementation - https://github.com/databasus/databasus/blob/main/adr/0008-wh...

- Usage of remote backups instead of agents - https://github.com/databasus/databasus/blob/main/adr/0009-wh...

- Why we moved away from the agent and decided to use native PG 17 backups - https://databasus.com/faq

Also thank you, Product Hunt community, for support! A bit more than a year ago, Databasus has been published here and received first stars. Now the project has ~7.6k stars on GitHub and over 1 million of the Docker Hub pulls. It's just a start! :)

The favors we used to need

https://davidpoblador.com/blog/the-favors-we-used-to-need.html
1•nirvanis•9s ago•0 comments

Show HN: FileVeil · Hide Any File Inside Another File

https://fileveil.com/
1•fileveil•12s ago•0 comments

Java's SSLContext protocol name is a footgun

https://neilmadden.blog/2026/06/23/javas-sslcontext-protocol-name-is-a-footgun/
1•theanonymousone•2m ago•0 comments

Qwen-AgentWorld: Language World Models for General Agents

https://qwen.ai/blog?id=qwen-agentworld
1•shallow-mind•2m ago•0 comments

Note-Taking Using the Zettelkasten Method

https://blog.ptidej.net/the-zettelkasten-method/
2•aliiiimaher•4m ago•1 comments

Building Safe Kill-on-Touch Honeytokens in a Windows Endpoint Security Tool

https://www.sentrixshield.com/blog/building-safe-kill-on-touch-honeytokens/
1•NatanCb•5m ago•0 comments

Bodycam Shows Cops Arrest a Man for Speaking Too Long at Data Center Meeting

https://www.404media.co/bodycam-footage-video-claremore-oklahoma-data-center-meeting/
2•cdrnsf•6m ago•0 comments

Mechanical Sympathy

https://vickiboykis.com/2026/04/13/mechanical-sympathy/
1•surprisetalk•7m ago•0 comments

Software Engineers

https://code-healers.careers-page.com/jobs/5146a4d9-26c9-4c9b-9997-fed16b22bd7b
2•cnjeri•9m ago•0 comments

A Solution to A.I.'S Growing Power Demand: Homes

https://www.nytimes.com/2026/06/24/business/energy-environment/ai-data-centers-tesla.html
4•1vuio0pswjnm7•10m ago•2 comments

Ask HN: Did the 1984 Mac share more in common with the c64 than the Apple II?

2•amichail•10m ago•0 comments

Are We GlobalShortcuts Yet?

https://areweglobalshortcutsyet.github.io
2•birdculture•13m ago•0 comments

New Viking music Call of Valhalla

https://open.spotify.com/track/1TnFYBoWeZSfrn48valvzU
2•mrhappypappy•13m ago•0 comments

Model Training as Code

https://aleph-alpha.com/en/blog/model-training-as-code/
3•peterBlue75•13m ago•0 comments

X401: HTTP-Native Identity Exchange for the Agentic Web

https://www.proof.com/blog/introducing-x401
2•csuwldcat•13m ago•0 comments

Your Grid Lanes will likely fail WCAG 2.4.3

https://matuzo.at/blog/2026/grid-lanes-accessibility
2•eustoria•14m ago•0 comments

Legibility of Effort

https://eieio.games/blog/legibility-of-effort/
3•eustoria•16m ago•0 comments

Frontend benchmarks need workload context

https://krabarena.com/battles/react-vs-angular-vs-vue-for-dashboard-heavy-frontends
2•PashaGo•16m ago•0 comments

How We'll fight the platform war against Big AI

https://www.anildash.com/2026/06/23/fight-ai-platform-war/
3•eustoria•16m ago•0 comments

What Do Manufacturing Buyers Want?

https://deploy95.substack.com/p/what-do-industrial-buyers-want
2•tristalihaha•17m ago•1 comments

Adobe to Acquire Topaz Labs

https://www.businesswire.com/news/home/20260625160239/en/Adobe-to-Acquire-Topaz-Labs
2•nycdatasci•18m ago•0 comments

Adobe Acquires Topaz Labs

https://techcrunch.com/2026/06/25/adobe-acquires-image-and-video-enhancement-tool-maker-topaz-labs/
2•nycdatasci•19m ago•0 comments

Talking robot heads and one human with a tinfoil helmet [video]

https://www.youtube.com/watch?v=aicfLYrRuUw
2•deadprogram•19m ago•0 comments

Bitcoin falls back under $60k, hitting its lowest level since October 2024

https://www.cnbc.com/2026/06/24/bitcoin-falls-back-under-60000-hitting-its-lowest-level-since-oct...
4•1vuio0pswjnm7•20m ago•0 comments

Human Dignity

https://www.nubero.ch/blog/017/
2•speckx•20m ago•0 comments

UN hypocrisy in AI Environmental demands

https://www.thatprivacyguy.com/blog/un-tracking-without-consent/
2•AlexanderHanff•20m ago•1 comments

Len Sassaman – Satoshi Nakamoto Evidence

https://pmarengo.medium.com/len-sassaman-satoshi-nakamoto-evidence-byzantine-generals-problem-c57...
2•binyu•21m ago•0 comments

Empower Others

https://pointc.co/empower-others/
2•benwerd•22m ago•0 comments

3D Rotations – From Zero to Geo 3.9 [video]

https://www.youtube.com/watch?v=-9Da8kolAQU
2•surprisetalk•22m ago•0 comments

Good clarity on AI observability and in simple terms

https://posthog.com/blog/what-is-ai-observability
4•pineapple_opus•22m ago•1 comments