Easy Manual BTRFS Subvolume Snapshot Script

  Рет қаралды 3,923

linux dabbler

linux dabbler

2 жыл бұрын

GitHub
github.com/linuxdabbler
KZbin
/ linuxdabbler
Twitter, MeWe, Mastodon.social
@linuxdabbler
Software I use:
Brave -- Web Browser
Firefox -- Web Browser
OBS Studio -- Recording Software
Kdenlive -- Video Editor
Audacity -- Audio Editor
Vim/Neovim -- Text Editor

Пікірлер: 46
@Rood67
@Rood67 19 сағат бұрын
I don't know 0.01% of what you've talked about, but I learned from everything you did. Absolutely fantastic video!
@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!
@Andreas-fh9zf
@Andreas-fh9zf 2 жыл бұрын
Great Video 👍🏼 Greetings from Vienna/Austria
@BrucesWorldofStuff
@BrucesWorldofStuff 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
@@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
@miyolinux
@miyolinux 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
@@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 2 жыл бұрын
@@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 2 жыл бұрын
I don't even melt it. Just sit it out and let it soften
@taylor-worthington
@taylor-worthington 2 жыл бұрын
Nice. Fedora had the same issue to get timeshift to work.
@Rood67
@Rood67 19 сағат бұрын
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 Сағат бұрын
@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 51 минут бұрын
@@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?!?”
@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.
@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
@HeCodes2Much
@HeCodes2Much 2 жыл бұрын
What repo do you have these scripts in?
@linuxdabbler
@linuxdabbler 2 жыл бұрын
@Wayne Wesley. These scripts are in my scripts folder under personal-dot-files. github.com/linuxdabbler/personal-dot-files
@HeCodes2Much
@HeCodes2Much 2 жыл бұрын
@@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 2 жыл бұрын
@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.
@HeCodes2Much
@HeCodes2Much 2 жыл бұрын
@@linuxdabbler ya that's doable I'll have a peek at it after work and let you know :)
@HeCodes2Much
@HeCodes2Much 2 жыл бұрын
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
Рет қаралды 15 М.
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 61 МЛН
Heartwarming moment as priest rescues ceremony with kindness #shorts
00:33
Fabiosa Best Lifehacks
Рет қаралды 38 МЛН
Arco : 4136 Exploring Timeshift on a BTRFS system
9:41
Erik Dubois
Рет қаралды 274
Cool dmenu scripts from my dotfiles
12:57
linux dabbler
Рет қаралды 1,9 М.
AMD Almost Went Bankrupt…but were saved by Sony and Microsoft?
5:35
A book on Harmonic Analysis
7:41
Struggling Grad Student
Рет қаралды 9 М.
So... why did AI take off now?
4:01
HGModernism
Рет қаралды 212
Installing Linux Mint Debian Edition with btrfs and timeshift
10:05
JustAGuy Linux
Рет қаралды 3,7 М.
07 Basic Commands hidden files
2:22
timruff
Рет қаралды 12
Fixing disappearing icons and freezing on KDE plasma
2:46
linuxguy 11
Рет қаралды 110
Snapshots vs Backups vs Replications
8:43
Charles Chow
Рет қаралды 57 М.
Welcome to the Rat's Nest - The Setup Doctor Ep 2
17:33
Linus Tech Tips
Рет қаралды 820 М.
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 2,9 МЛН
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
VA-PC
Рет қаралды 2,3 МЛН
BEKMOBILDA Tecno Camon 30 smartfoni🔥🤩 #bekmobil
1:01
Bekmobil shorts
Рет қаралды 2,3 МЛН