Easy Manual BTRFS Subvolume Snapshot Script

  Рет қаралды 4,181

linux dabbler

linux dabbler

Күн бұрын

Пікірлер: 46
@Rood67
@Rood67 4 ай бұрын
I don't know 0.01% of what you've talked about, but I learned from everything you did. Absolutely fantastic video!
@Andreas-fh9zf
@Andreas-fh9zf 3 жыл бұрын
Great Video 👍🏼 Greetings from Vienna/Austria
@miyolinux
@miyolinux 3 жыл бұрын
I'm a simple man... The extent of my butter knowledge only applies to fish and seafood, grilled cheese sandwiches, garlic toast, baked taters, and corn on the cob... ...although... I do occasionally pan fry a steak in butter. :D Good info Mike! Thanks!
@linuxdabbler
@linuxdabbler 3 жыл бұрын
Lol. I hear ya man... but have you ever made compound butter? Butter, garlic, salt, pepper, and whatever else you want? It is great with baked potatoes, most any meat, and even toast... I'm a fat boy... I wouldn't steer you wrong. Lol
@BrucesWorldofStuff
@BrucesWorldofStuff 3 жыл бұрын
While I agree with all you choices and agree that Butter makes it all good even those loaded mashed potatoes. I'm have a hard time seeing you as a simple beach bum... ROTF LMAO Stay safe man! LLAP
@BrucesWorldofStuff
@BrucesWorldofStuff 3 жыл бұрын
@@linuxdabbler Wow I do that too. Got that from my grandpa Hill. He was from Kentucky as far south as you can get. I don't use it on toast though. I do have melted stick butter cinnamon and sugar mixed up for the toast... :-P LLAP
@miyolinux
@miyolinux 3 жыл бұрын
@@linuxdabbler Hmmm...never tried that. So...what do you do? Melt some butter, add the spices you want, then refrigerate it again to harden it? Am I over-thinking it? Hahaha! Butter, garlic, onion, salt, pepper, cayenne pepper, and my secret ingredient! Gonna have to experiment to find the right amounts. Dude...this could be marketed! :)
@linuxdabbler
@linuxdabbler 3 жыл бұрын
I don't even melt it. Just sit it out and let it soften
@jakemuff9407
@jakemuff9407 2 жыл бұрын
Great scripts! Would be good to have a short description on your github repo for what each script does. I've had a quick look and this is a goldmine but there's so many!
@BrucesWorldofStuff
@BrucesWorldofStuff 3 жыл бұрын
Nice! As Spock would say, your naming scheme is quite logical! :-) I see no problem with the way you name the variables. I do the same thing and I usually add a #Note above just to remind my old brain what the hell I was thinking at the time... LOL Sometimes we just have to create a issue so we can write a cool bunch of scripts to Overcome & Conquer our Oops... :-) While I don't understand how BTRFS works it sure seems like a lot of work to maintain. I kinda see what it is doing but there again I don't use timeshift either as I see it a waste of hdd space as all I need to backup is my /home & /etc directories. But that is me and how I roll... Lol Thanks Mike for the video! LLAP P.S. Did you know it's been around 12 months sense the SpectrWm manual install video on Debian? I was looking at my github and it said 12 months on last update and I was like 2 weeks behind your video with my Mint install build... Lol Just a fun fact... Also my scripting still works I tried it on the New Mint 20.2 the other day In a VM... :-D
@linuxdabbler
@linuxdabbler 3 жыл бұрын
Has it been that long!? Wow... it really doesn't seem like it... Btrfs is not for everyone, just like zfs isn't for everyone... These seem to me, are made for mission critical environments, since they are copy-on-write filesystems and can support massive arrays, as well as cache drives, as well as snapshots... But it is fantastic that such a technology is free to use and implement on my little rinky-dink (by comparison) setup.
@BrucesWorldofStuff
@BrucesWorldofStuff 3 жыл бұрын
@@linuxdabbler Yal I know that too. It is as you say great that it is free and out there to use even if we are rinky-dink... Lol Like you said it is for the big server guys and not for me to worry about using... :-) I updated my hub/lab last night and it had been 5 months, that is how I known the date because the Mint/Spectrwm date on the repo... Lol Wow alot of configs had changed and I dumped my whole Bin folder (well not all) up there cause for some dumb reason I keep working in that folder and not the work folder... :-P Have a great day Dad! LLAP
@isakchristenson584
@isakchristenson584 Жыл бұрын
Hello, I have been trying to understand this but dont really understand it. Two questions: 1. Why do you have to mount the root before making a snapshot? is it to use @rootfs? cant you just make a snapshot with: doas btrfs subvolume snapshot / /.snapshots/root-.date? 2. When i trie this and change subvolid in fstab the same subvolume keeps getting booted, i guess it is because that in grub it says rootflags=subvol=@rootfs? How should the grub be configured so that you can change fstab to another subvolume/snapshot and it gets booted? I tried to manually change to the subvolid in grub and my created snapshot was booted? Thanks for the video very interesting.
@taylor-worthington
@taylor-worthington 2 жыл бұрын
Nice. Fedora had the same issue to get timeshift to work.
@bryankerr6725
@bryankerr6725 2 жыл бұрын
Love this! But how do you update @home to be equal ( or revert ) back to one of those snapshots? In other words, once you boot into a snapshot to rewind time, this script won't matter because now you need clones of the current snapshot you're booting into. How do I update home to undo my mistake by using these snapshots. Is there anyway to get back to @home after booting into snapshot?
@bryankerr6725
@bryankerr6725 2 жыл бұрын
Nm I figured out how to rename the new snapshot back to @home
@Rood67
@Rood67 4 ай бұрын
I loved this video so much I went to your channel to see what else you had. You don't seem to post very often so I sadly had to decide to not subscribe. I really need to cull down the others I'm subscribed to that do not post any more either. Which makes me truly sad; you have a great presentation, and being from TN, I just ignored that Alabama Elephant on the wall. 🤣
@linuxdabbler
@linuxdabbler 4 ай бұрын
@Rood67. No offense taken from this bama fan. Ive been brainwashed from an early age because my aunt worked at the university and she took me to games fairly often in the mid 90s and early 2000s(when it was harder to be an Alabama fan lol). I'm hoping to be able to post more videos soon, but kids and work have to take priority. I have lots of ideas but no time to make them happen at the moment.
@Rood67
@Rood67 4 ай бұрын
@@linuxdabbler a husband, father, and provider - three things a man of God wants to see in other men. I’ll subscribe anyways; and if you get to post something, I’ll get notified. I work at on of Bama’s rival schools; people are flabbergasted 😱 when I tell them I don’t care about sports. “Did you see the game?” “What game?” 🫣”Who are you, and why do you even work here?!?”
@TrueWordsOfEternity
@TrueWordsOfEternity 3 жыл бұрын
What repo do you have these scripts in?
@linuxdabbler
@linuxdabbler 3 жыл бұрын
@Wayne Wesley. These scripts are in my scripts folder under personal-dot-files. github.com/linuxdabbler/personal-dot-files
@TrueWordsOfEternity
@TrueWordsOfEternity 3 жыл бұрын
@@linuxdabbler cheers I'm gonna replace timeshift with this script also does it allow for the snapshot to be external instead of on the root drive?
@linuxdabbler
@linuxdabbler 3 жыл бұрын
@Wayne Wesley. I'm not sure about external drives... It should work, but you will probably have to edit the command that finds the snapshot subvolume.
@TrueWordsOfEternity
@TrueWordsOfEternity 3 жыл бұрын
@@linuxdabbler ya that's doable I'll have a peek at it after work and let you know :)
@TrueWordsOfEternity
@TrueWordsOfEternity 3 жыл бұрын
btw mate i have did a pull request for the list script as it didnt need all them greps in it
Debian Bullseye install with BTRFS Subvolumes
19:12
linux dabbler
Рет қаралды 16 М.
Cool dmenu scripts from my dotfiles
12:57
linux dabbler
Рет қаралды 2 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 101 МЛН
BTRFS Guide | The Best Desktop File System
28:47
Chris Titus Tech
Рет қаралды 135 М.
Install Debian/Devuan with Encrypted BTRFS subvolumes!
28:49
linux dabbler
Рет қаралды 6 М.
Snapshots on btrfs
19:24
Bubba Lichvar
Рет қаралды 14 М.
System Backup and Restore For Linux - How To Use Timeshift! (2024)
11:45
KristalOfComputer
Рет қаралды 11 М.
VIFM in-depth look and customization
40:38
linux dabbler
Рет қаралды 6 М.
Arco : 4136 Exploring Timeshift on a BTRFS system
9:41
Erik Dubois
Рет қаралды 374
Modernize your Linux Storage with btrfs!
46:34
Learn Linux TV
Рет қаралды 155 М.
How Every Linux System Should Be Partitioned
9:11
Brodie Robertson
Рет қаралды 53 М.