this post was submitted on 03 Dec 2023
264 points (97.8% liked)

linuxmemes

20892 readers
429 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. 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
[–] 0x4E4F@infosec.pub 53 points 10 months ago (19 children)

Timeshift works only with BTRFS subvolumes, thus, if you wanna have backups (snapshots), you have to have subvolumes and not install in the root of a BTRFS filesystem πŸ˜”.

[–] eager_eagle@lemmy.world 19 points 10 months ago (4 children)

That's only to backup/rollback the root though, right? If one's looking to backup - say - their home dir, they can just recreate the home as a subvolume without reinstalling the system. Or am I mistaken?

[–] AnonStoleMyPants@sopuli.xyz 4 points 10 months ago (2 children)

You can definitely do this with a few commands.

[–] raldone01@lemmy.world 4 points 10 months ago* (last edited 10 months ago) (1 children)

https://github.com/raldone01/config_fish/blob/main/tdcff_functions/btrfs_folder_to_subvol.fish

Because I often forget to do it I wrote a little helper script.

This file can be run or sourced and only depends on btrfs-progs and fish.

[–] 0x4E4F@infosec.pub 3 points 10 months ago

Awww man, thanks ☺️.

Good thing I love fiish, it's my default shell πŸ˜‰.

load more comments (1 replies)
load more comments (15 replies)