I've been experimenting with BTRFS for over a year. I've seen a lot of strange things done to get it working with snapper, timeshift and manually snapshots. When I created my Kubuntu 22.04 LTS server I stuck to Manual snapshots and just created @ and @home. It seemed fine at the time. However I had to play with the installation files to configure those subvolumes while I did the install of Kubuntu.
Since then I have found that some Distros do automatically create subvolumes to match the snapshot software that they favor. Linuxmint 21 creates @ and @home if you choose BTRFS instead fo EXT4. EndeavourOS creates @ and @home, plus @log and @cache so that /var/log and /var/cache can be mounted and not change if a snapshot is restored.
However, I noticed that the Ubuntu family and Debian have not added any special subvolumes. I was playing with Debian 12 RC1 for bookworm and Ubuntu 23.04 in virtual machines to see if any of that changed. They still only have the toplevel subvoume and nothing else, but I also found that the latest Snapper now is okay with that. If you install snapper and snapper-gui, you find that the software now automatically takes pre and post install snapshots when APT does anything. All you have to do is one config command:
So editing of the snapper config file for the root config is still advisable to adjust the number of hourly, daily, monthly snapshots, but not required.
I thought Ubuntu was ignoring BTRFS but with the work on snapper I see that it's much easier to use and setup. I particularly like one subvolume for / and /home because when you install apps somethings they put stuff all over include your home directory.
Since then I have found that some Distros do automatically create subvolumes to match the snapshot software that they favor. Linuxmint 21 creates @ and @home if you choose BTRFS instead fo EXT4. EndeavourOS creates @ and @home, plus @log and @cache so that /var/log and /var/cache can be mounted and not change if a snapshot is restored.
However, I noticed that the Ubuntu family and Debian have not added any special subvolumes. I was playing with Debian 12 RC1 for bookworm and Ubuntu 23.04 in virtual machines to see if any of that changed. They still only have the toplevel subvoume and nothing else, but I also found that the latest Snapper now is okay with that. If you install snapper and snapper-gui, you find that the software now automatically takes pre and post install snapshots when APT does anything. All you have to do is one config command:
Code:
sudo snapper create-config /
I thought Ubuntu was ignoring BTRFS but with the work on snapper I see that it's much easier to use and setup. I particularly like one subvolume for / and /home because when you install apps somethings they put stuff all over include your home directory.
Comment