Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Using snapper for rollback on btrfs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Pietrog
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2021
Posts: 125
Location: Italy

PostPosted: Fri Dec 31, 2021 10:41 am    Post subject: Using snapper for rollback on btrfs Reply with quote

I want to implement snapshots on my future gentoo installation. In order to do that my btrfs fs will have:
- . subvol for the base system
- .home subvol for the home folder
- .snapshots subvol for snapshots (created by snapper)

My first question is does this configuration make sense or I'm missing something?

Secondly on my previous installation snapper complained about "wrong ambit" and "system not configured for rollback", on the wiki I didn't see anything helpful about this, do you have some advices?

Finally it seems that snapper is not the easiest manner to manage a btrfs filesystem but it's the only thing that seems easy enough to use in a terminal, if you have any suggestions feel free to teel me.

Thank you :)
Back to top
View user's profile Send private message
WesleyL
n00b
n00b


Joined: 18 Oct 2021
Posts: 7
Location: São Paulo, Brazil

PostPosted: Fri Jan 07, 2022 9:09 pm    Post subject: Reply with quote

Pietrog, I suggest you to create a btrfs subvolume outside your root subvolume and mount it on "/.snapshots", this way you can roll back your system to a previous state easier. The Arch Wiki has a very comprehensible guide on how to setup snapper and use it's snapshots:

https://wiki.archlinux.org/title/Snapper
https://wiki.archlinux.org/title/Snapper#Restoring_/_to_its_previous_snapshot
Back to top
View user's profile Send private message
Pietrog
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2021
Posts: 125
Location: Italy

PostPosted: Sat Jan 08, 2022 12:46 am    Post subject: Reply with quote

Pequeno Sapo wrote:
Pietrog, I suggest you to create a btrfs subvolume outside your root subvolume and mount it on "/.snapshots", this way you can roll back your system to a previous state easier. The Arch Wiki has a very comprehensible guide on how to setup snapper and use it's snapshots:

https://wiki.archlinux.org/title/Snapper
https://wiki.archlinux.org/title/Snapper#Restoring_/_to_its_previous_snapshot

Thank you, I'll definitely look into those.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum