0x4E4F@infosec.pub to linuxmemes@lemmy.worldEnglish · 11 months agoEvery god damn time!infosec.pubimagemessage-square48fedilinkarrow-up1265arrow-down16
arrow-up1259arrow-down1imageEvery god damn time!infosec.pub0x4E4F@infosec.pub to linuxmemes@lemmy.worldEnglish · 11 months agomessage-square48fedilink
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up19·11 months agoThat’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?
minus-squareAnonStoleMyPants@sopuli.xyzlinkfedilinkarrow-up4·11 months agoYou can definitely do this with a few commands.
minus-squareraldone01@lemmy.worldlinkfedilinkarrow-up4·edit-211 months agohttps://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.
minus-square0x4E4F@infosec.pubOPlinkfedilinkEnglisharrow-up3·11 months agoAwww man, thanks ☺️. Good thing I love fiish, it’s my default shell 😉.
minus-square0x4E4F@infosec.pubOPlinkfedilinkEnglisharrow-up2·11 months agoYes, you can just set it to mount a, let’s say @home, subvolume to /home and that’s that, done.
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?
You can definitely do this with a few commands.
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.
Awww man, thanks ☺️.
Good thing I love fiish, it’s my default shell 😉.
Yes, you can just set it to mount a, let’s say @home, subvolume to /home and that’s that, done.