Database Backups, Dump Files and Restic
Posted2 months agoActive2 months ago
strugglers.netTechstory
calmpositive
Debate
20/100
Database BackupsResticData Management
Key topics
Database Backups
Restic
Data Management
The post discusses using restic for database backups and dump files, sparking a discussion on best practices for database backup and restore processes.
Snapshot generated from the HN discussion
Discussion Activity
Light discussionFirst comment
4h
Peak period
2
4-5h
Avg / period
1.2
Key moments
- 01Story posted
Oct 28, 2025 at 8:13 PM EDT
2 months ago
Step 01 - 02First comment
Oct 29, 2025 at 12:15 AM EDT
4h after posting
Step 02 - 03Peak activity
2 comments in 4-5h
Hottest window of the conversation
Step 03 - 04Latest activity
Oct 29, 2025 at 8:42 AM EDT
2 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45741050Type: storyLast synced: 11/20/2025, 1:30:03 PM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
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.
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.