frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Database backups, dump files and restic

https://strugglers.net/posts/2025/database-backups-dump-files-and-restic/
40•todsacerdoti•3mo ago

Comments

gmuslera•3mo ago
One thing that worked for me was, with a particular big database, to use borg instead of restic. Most of the database was historical data that usually don't change, the mysqldump file is almost identical with the exception of the new and old modified data. And there is where borg deduplication and compression works, the new dump will have most blocks identical to the old one so with it I could have several days of backups taking little extra space in the borg repository. And I was able to rclone that borg repository to S3 intelligent tier so I could keep long time backups that way that for most of the space it would end in glacier storage transparently.

Of course, it is not a general solution, but knowing what the data is and how it changes may let you take more efficient approaches than what is usually recommended.

conception•3mo ago
It was kopia to b2 for me. Takes like 6 minutes to do a diff backup on a few terabytes of a remote share (aka no snap diff, just a raw scan).
timwis•3mo ago
Thanks for sharing - definitely learnt a few things reading it!
Happily2020•3mo ago
For those of you looking for an easy management UI for restic, backrest is amazing: https://github.com/garethgeorge/backrest
sam_goody•3mo ago
1. There are tools designed specifically for backing up database data, such as percona-xtrabackup for MySql and PgBackRest for Postgres.

2. If you use mysqldump, it may make sense to export the data as CSV, and backup the db structure and data separately.

CSV is obviously less compact than binary export, but on the other hand is only the data, and triangulating between the old and new CSV data is obviously much simpler - and is human readable/diffable if that is important to you.

To the point where I had a script running export/commit-to-git/push daily as a secondary db backup, and found it to be quite efficient and useful.

Of course, that can be combined with restic, but worth knowing.

mediumsmart•3mo ago
I dump my sqlite3 database in the back, up my feet and rest in peace.

DoNotNotify is now Open Source

https://donotnotify.com/opensource.html
157•awaaz•3h ago•24 comments

Show HN: LocalGPT – A local-first AI assistant in Rust with persistent memory

https://github.com/localgpt-app/localgpt
237•yi_wang•9h ago•112 comments

Reverse Engineering Raiders of the Lost Ark for the Atari 2600

https://github.com/joshuanwalker/Raiders2600
12•pacod•1h ago•1 comments

Matchlock: Linux-based sandboxing for AI agents

https://github.com/jingkaihe/matchlock
23•jingkai_he•3h ago•1 comments

Haskell for all: Beyond agentic coding

https://haskellforall.com/2026/02/beyond-agentic-coding
133•RebelPotato•9h ago•39 comments

SectorC: A C Compiler in 512 bytes (2023)

https://xorvoid.com/sectorc.html
316•valyala•17h ago•61 comments

Modern and Antique Technologies Reveal a Dynamic Cosmos

https://www.quantamagazine.org/how-modern-and-antique-technologies-reveal-a-dynamic-cosmos-20260202/
9•sohkamyung•5d ago•0 comments

LLMs as the new high level language

https://federicopereiro.com/llm-high/
132•swah•5d ago•227 comments

The Architecture of Open Source Applications (Volume 1) Berkeley DB

https://aosabook.org/en/v1/bdb.html
42•grep_it•5d ago•6 comments

Software factories and the agentic moment

https://factory.strongdm.ai/
235•mellosouls•20h ago•396 comments

Speed up responses with fast mode

https://code.claude.com/docs/en/fast-mode
195•surprisetalk•17h ago•198 comments

LineageOS 23.2

https://lineageos.org/Changelog-31/
72•pentagrama•5h ago•14 comments

Stories from 25 Years of Software Development

https://susam.net/twenty-five-years-of-computing.html
208•vinhnx•20h ago•24 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
196•AlexeyBrin•22h ago•36 comments

uLauncher

https://github.com/jrpie/launcher
36•dtj1123•4d ago•8 comments

In the Australian outback, we're listening for nuclear tests

https://www.abc.net.au/news/2026-02-08/australian-outback-nuclear-tests-listening-warramunga-faci...
12•defrost•1h ago•1 comments

Brookhaven Lab's RHIC concludes 25-year run with final collisions

https://www.hpcwire.com/off-the-wire/brookhaven-labs-rhic-concludes-25-year-run-with-final-collis...
83•gnufx•16h ago•66 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
373•jesperordrup•1d ago•111 comments

Wood Gas Vehicles: Firewood in the Fuel Tank (2010)

https://solar.lowtechmagazine.com/2010/01/wood-gas-vehicles-firewood-in-the-fuel-tank/
56•Rygian•3d ago•24 comments

Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version

https://github.com/Momciloo/fun-with-clip-path
111•momciloo•17h ago•24 comments

First Proof

https://arxiv.org/abs/2602.05192
154•samasblack•19h ago•94 comments

Rabbit Ear "Origami": programmable origami in the browser (JS)

https://rabbitear.org/book/origami.html
4•molszanski•3d ago•2 comments

Substack confirms data breach affects users’ email addresses and phone numbers

https://techcrunch.com/2026/02/05/substack-confirms-data-breach-affecting-email-addresses-and-pho...
68•witnessme•6h ago•30 comments

Start all of your commands with a comma (2009)

https://rhodesmill.org/brandon/2009/commands-with-comma/
617•theblazehen•3d ago•222 comments

Al Lowe on model trains, funny deaths and working with Disney

https://spillhistorie.no/2026/02/06/interview-with-sierra-veteran-al-lowe/
114•thelok•19h ago•25 comments

The AI boom is causing shortages everywhere else

https://www.washingtonpost.com/technology/2026/02/07/ai-spending-economy-shortages/
353•1vuio0pswjnm7•23h ago•585 comments

Where did all the starships go?

https://www.datawrapper.de/blog/science-fiction-decline
191•speckx•4d ago•281 comments

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
928•klaussilveira•1d ago•282 comments

LLMs as Language Compilers: Lessons from Fortran for the Future of Coding

https://cyber-omelette.com/posts/the-abstraction-rises.html
13•birdculture•2h ago•2 comments

Show HN: A luma dependent chroma compression algorithm (image compression)

https://www.bitsnbites.eu/a-spatial-domain-variable-block-size-luma-dependent-chroma-compression-...
49•mbitsnbites•3d ago•7 comments