0x4E4F@infosec.pub to linuxmemes@lemmy.worldEnglish · 9 months agoEvery god damn time!infosec.pubimagemessage-square48fedilinkarrow-up1263arrow-down16
arrow-up1257arrow-down1imageEvery god damn time!infosec.pub0x4E4F@infosec.pub to linuxmemes@lemmy.worldEnglish · 9 months agomessage-square48fedilink
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up18·9 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·9 months agoYou can definitely do this with a few commands.
minus-squareraldone01@lemmy.worldlinkfedilinkarrow-up4·edit-29 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·9 months agoAwww man, thanks ☺️. Good thing I love fiish, it’s my default shell 😉.
minus-square0x4E4F@infosec.pubOPlinkfedilinkEnglisharrow-up2·9 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.