7
submitted 1 month ago* (last edited 1 month ago) by Kiuyn@lemmy.ml to c/archlinux@lemmy.ml

Hi everyone, hope you guys have a nice day! Long story short. I hop from opensuse tumbleweed to arch recently. I want to setup snapper so it work like on opensuse just to be safe. Even on opensuse the rolling release did kill my system few time. I run into this part on the arch wiki.

Note: If you are using the suggested Btrfs partition layout from archinstall then the @.snapshots subvolume will already be mounted to /.snapshots, and the snapper create-config command will fail [1]. To use the @.snapshots subvolume for Snapper backups, do the following:

Unmount the @.snapshots subvolume and delete the existing mountpoint.
Create the Snapper config.
Delete the subvolume created by Snapper.
Re-create the /.snapshots mount point and re-mount the @.snapshots subvolume.

I did installed arch via archinstall but I am not really experience with the btrfs files system nor mount or unmount stuff so as I expected I killed my system. I reinstalled arch and not sure how to setup snapper without pull my hair out again. Any help would be appreciate thank!

you are viewing a single comment's thread
view the rest of the comments
[-] reklis@lemmy.world 2 points 1 month ago
umount /.snapshots
rm -r /.snapshots
snapper -c root create-config /
mount /.snapshots
snapper -c root create --description "initial baseline"

You may also want to check out the snap-pac package I think that automatically takes snapshots every time you install something

[-] Kiuyn@lemmy.ml 1 points 1 month ago

thank i will try right now

load more comments (2 replies)
this post was submitted on 15 Sep 2024
7 points (76.9% liked)

Arch Linux

7737 readers
2 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS