Hacker GitHub

← All repos

simonw/simonwillisonblog-backup

View on GitHub ↗ ★ 50 Python

Backups of the database for simonwillison.net

12 mentions on Hacker News by 3 people: 0 stories, 12 comments · first 2020-10-09 · latest 2026-04-04

Mentions per year 12 mentions · busiest year 2023 (8)
20082026
  1. …traffic spikes) but I have a scheduled GitHub Action that backs up the content to a Git repository: https://github.com/simonw/simonwillisonblog-backup - it's not much of a stretch from that to having the Git repository feed content to a…
    comment by simonw · 2026-04-04 · in The CMS is dead, long live the CMS
  2. > I’ve been running that for a couple of years in this repo: https://github.com/simonw/simonwillisonblog-backup - which provides a backup of my blog’s PostgreSQL Django database (first converted to SQLite and then dumped out using sqlite-…
    comment by infamia · 2023-11-02 · in Tracking SQLite Database Changes in Git
  3. …Git and look at the differences later. I’ve been running that for a couple of years in this repo: https://github.com/simonw/simonwillisonblog-backup - which provides a backup of my blog’s PostgreSQL Django database (first converted to…
    comment by simonw · 2023-11-02 · in Tracking SQLite Database Changes in Git
  4. He's doing diffs: https://github.com/simonw/simonwillisonblog-backup/commit/82...
  5. …database, writes the key tables out as newline-delimited JSON and commits them to a Git repository. https://github.com/simonw/simonwillisonblog-backup This gives me a full revision history (1,500+ commits at this point) for all of my…
  6. …GitHub repo and use that to track changes over time. One example of that is my personal blog, here: https://github.com/simonw/simonwillisonblog-backup/tree/main... That's using this tool: https://datasette.io/tools/sqlite-diffable I…
    comment by simonw · 2023-08-20 · in Welcome to Datasette Cloud
  7. …tool to do that: https://datasette.io/tools/db-to-sqlite You can see an example of it in use here: https://github.com/simonw/simonwillisonblog-backup/blob/main...
  8. …consider using the same technique for a commercial project in the future: Latest commits are here: https://github.com/simonw/simonwillisonblog-backup/commits/m... Workflow is https://github.com/simonw/simonwillisonblog-backup/blob/main...
    comment by simonw · 2023-07-26 · in WordPress Core to start using SQLite
  9. …and writes it to a GitHub repository. I do a version of that for my own (Django-powered) blog here: https://github.com/simonw/simonwillisonblog-backup/blob/main...
  10. …diffs of changes I make to my content, including edits to old posts. The backups are in this repo: https://github.com/simonw/simonwillisonblog-backup
  11. …ttps://github.com/simonw/sqlite-diffable I have a demo of it running against my blog's database here: https://github.com/simonw/simonwillisonblog-backup
  12. …cheap way of getting a revision history of that database without having to write any extra code: https://github.com/simonw/simonwillisonblog-backup/commits/m...