Making use of btrfs

Hi,
Since Fedora Bluefin uses btrfs, is there a way of making use of that for file versioning for instance?
I guess snapshots are useless, since the system can switch back to a previous state by default (although, there’s only one previous state kept). For data, I use Pika and Borgbase, so that’s OK. But that’s not really user-friendly to switch to an older version of a file.
I’m also using NextCloud, which supports file-versioning, but it seems to keep only 4 versions. I like NextCloud (on my own server, works very good), but I don’t want to rely completely on it. Sometimes things break.

Snapshots aren’t only used for rolling back. They hold the data as it existed at that point in time.

I have never rolled back a snapshot outside of testing but I make extensive use of snapshots both as an easy way to access previous copies of files and as part of my backup strategy.

1 Like

Thanks, good to know.
I only know about mounting a snapshot to be able to search it. Is there a more easy way (maybe with GUI?) to browse previous versions of a file?

There are tools that let you easily browse snapshots such as Btrfs Assistant.

I am not aware of any tool that does the same thing from the perspective of a file. i.e. Find all the snapshots containing a certain file and show you those in a GUI.

1 Like

There’s no flatpak for that, I guess because of the nature of the application, it needs to run native. I guess it’s a good argument to add it to the ostree (or how do you say that).

IIRC I think Bazzite ships with btrfs-assistant. I don’t know which ublue-os you’re using or if Aurora or Bluefin ship with it. In any case, you can install it with: sudo rpm-ostree install btrfs-assistant and then reboot.

Hi @hyperreal , I have installed btrfs-assistant, it wasn’t part of Bluefin. Thanks

1 Like