Skip to main content
Topic: How to configure snapper in openrc ? (Read 693 times) previous topic - next topic
0 Members and 5 Guests are viewing this topic.

How to configure snapper in openrc ?

I have installed artix linux with openrc and btrfs. I've created two subvolumes, one is for root  and the other is for home. can someone guide me how to setup snapper on openrc?  i want to have automatic snapshots which i can boot from in grub.

my install drive has the following partition layout
/dev/sda1 is mounted as /boot
/dev/sda2 is mounted as swap
/dev/sda3 is mounted as root ( two subvolumes "@" and "@home")

 

Re: How to configure snapper in openrc ?

Reply #1
this always worked for me with Arch - I take it you tried this already and got an error ?

sudo pacman -S grub-btrfs
yay -S timeshift
yay -S timeshift-autosnap
sudo grub-mkconfig -o /boot/grub/grub.cfg

note: this does need the arch community repo, and aur enabled too.    Personally  i stopped using autosnaps due to the amount you get, and settled on a weekly with a max of 5 as a "just in case")

Re: How to configure snapper in openrc ?

Reply #2
ive never tried this. ill give it a go

Re: How to configure snapper in openrc ?

Reply #3
this always worked for me with Arch - I take it you tried this already and got an error ?

sudo pacman -S grub-btrfs
yay -S timeshift
yay -S timeshift-autosnap
sudo grub-mkconfig -o /boot/grub/grub.cfg

note: this does need the arch community repo, and aur enabled too.    Personally  i stopped using autosnaps due to the amount you get, and settled on a weekly with a max of 5 as a "just in case")
Hey I tried what you said but the snapshots only show up when I update grub. How can I automate this?

Edit: I enabled cronie service but still no luck