this post was submitted on 03 Jan 2024
209 points (95.6% liked)
Linux
48328 readers
507 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
How are you taking the snapshot automatically?
Honestly, I'm not 100% sure how to set it up, because I let Spiral Linux handle this for me. Spiral Linux is basically a Debian spin, not a full distro. It installs Debian and preconfigures some reasonable defaults, like BTRFS, backported kernels, virtualization support, and some other niceties. The end result is a pure Debian system, operating solely on Debian repos.
If you're already running Debian, or want to install from stock Debian media, there are instructions from various places. The gist is that the
snapper
package automatically sets this up, though you might need to manually configure some subvolumes. Here is a very detailed guide that starts from zero. It is mildly opinionated so it's a little hard to tell what the minimal config would be: https://medium.com/@inatagan/installing-debian-with-btrfs-snapper-backups-and-grub-btrfs-27212644175fSearch for the part where they mention apt.conf.d.
Ah okay well I appreciate the response anyways. I’m also struggling to figure how to snapshot my /home since I put it in a different partition during install. Timeshift is “unable to see it”.
Tumbleweed does it, comes preconfigured out of the box. TBH I'm trying to get the same on Arch & fail. The snapshot-before-change are easy enough, but reverting is where I fail.
Have you tried to manually specify the subvolume id (sudo btrfs subvolume list /) of the snapshot you want to restore to in /etc/fstab?
When I was distro hopping I believe Garuda Linux took snapshots and was easily able to restore a few times. Maybe you can reverse engineer what they’ve done???
I’m running Nobara right now for my gaming setup but I’m half tempted to try TW.