/images/logo.png

I Wanted Time Machine for Linux, So I Built a Web UI for Btrfs

I built btrfs-timeline, a tool that lets you browse and restore previous versions of your files from btrfs snapshots, right from your browser. The goal is to make “what did this file look like last month?” as easy to answer as it is with Time Machine on a Mac. GitHub: https://github.com/akivajp/btrfs-timeline PyPI: https://pypi.org/project/btrfs-timeline/ Why I built it The snapshots are there, but getting a file back is hard I run a few self-built servers, and all of them use btrfs RAID btrfs is very flexible about RAID layouts and makes good use of disks of different sizes, so I have grown quite fond of it I also take automatic snapshots with snapper and the like, so every previous version of every file is already sitting on my disks But when I actually need to recover a single file I deleted or overwrote by mistake, I have to: know where the snapshots live, guess which snapshot is old enough, and compare files by hand on the command line.