Before I update/update, I backup

With the new approach, you should first uninstall grub-btrfs and install it from sources (as mentioned in the blog post). The additional line in /etc/fstab is no longer required. There’s a new service (no more grub-btrfs.path) and a small change to the configuration of the new service.

If the current setup works for you, then I wouldn’t change it. However, if the AUR package of grub-btrfs is updated, you will have to perform the new steps

1 Like

Re: https://www.lorenzobettini.it/2022/07/timeshift-and-grub-btrfs-in-linux-arch/

Here we are again, Lorenzo/Mr. lorebett: no problems here, but just to keep you updated.

Today 2022-12-18 grub-btrfs has updated:
$ sudo pacman -Ss grub-btrfs
local/grub-btrfs 4.12-1

NB, yay -Ss grub-btrfs-git gives:
aur/grub-btrfs-git 4.11.r4.g3dc1d89-1 (+15 0.02) (Orphaned) (Obsolete)%!(EXTRA string=2022-10-23)

My timeshift packages are the following:
$ yay -Qs timeshift
local/timeshift 22.11.1-1
A system restore utility for Linux
local/timeshift-autosnap 0.9-1
Timeshift auto-snapshot script which runs before package upgrade using Pacman hook.

So this is what I’ve (successfully) done:

  1. In /etc/fstab, removed :
    ##no-more since 2022.12.08#UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX /run/timeshift/backup btrfs defaults,noatime 0 0

  2. sudo umount /run/timeshift/backup

  3. sudo pacman -R grub-btrfs

  4. sudo pacman -S inotify-tools grub-btrfs

  5. sudo grub-mkconfig -o /boot/grub/grub.cfg

  6. sudo systemctl edit --full grub-btrfsd:

###ExecStart=/usr/bin/grub-btrfsd --syslog **/.snapshots** TURNED INTO
	ExecStart=/usr/bin/grub-btrfsd --syslog --timeshift-auto
  1. sudo systemctl start grub-btrfsd

  2. sudo systemctl status grub-btrfsd

  3. sudo timeshift --create --comments ‘Test’

  4. sudo systemctl stop grub-btrfsd

  5. sudo systemctl enable --now grub-btrfsd

  6. sudo reboot

As I said, it all worked fine: both on UEFI and Legacy bios machines.

Thanks again, have a nice day.
Piero

I don’t back up nothing! I just update. :scream_cat:

Edit: If you have to backup stuff … You got bloat! :rofl:

Thanks for letting me know grub-btrfs is now an official package!

I once again updated the post accordingly :slight_smile: