this post was submitted on 03 Dec 2023
265 points (97.8% liked)
linuxmemes
20880 readers
2 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
sudo btrfs subvolumes create /path/to/subvolume
If you don't configure anything, root will already be a subvolume.
If you wanna make a used directory a subvolume, you have to move the contents first, and move them back after creation.
The only thing that takes time here is the move
Yeah, but Timeshift uses the Ubuntu style subvolume naming, @ for root, @home for /home, so you have to create them that way, otherwise, it won't work. It can work if you tell it to ignore home, but checks for @ as root on start up.
Check out Btrfs Assistant. It does what Timeshift does with a similar UI but works with any subvolume layout.
Hm, will check it out, thanks for the suggestion 😉.
Wasn't aware of that, using snapper for my snapshotting needs.
I haven't tried it. Does it have like daily, weekly, monthly snapshots setup?
You can have hourly, daily, weekly, monthly and yearly. I also use snap-pac to make snapshots before and after pacman transactions.
Check out https://wiki.archlinux.org/title/Snapper