Howto Setup BTRFS with Timeshift and autosnap on MX Linux.

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi what's up youtube and welcome to my video so this video i'm going to be basically um loading up my uh custom live iso that i made of this system and i'm going to show you how it is in a vm and i'm going to basically install it on a vm hard drive and i'm going to teach people that if they're ever interested into using time shift uh with butter fs this is basically a butter fs uh video and um reason why i think it's a good file system and um i'm gonna show you how to set it up with mx flexbox mx21 flexbox um and uh so let's go and do it right now so this is basically um this is my my host system right now and that i'm running i have actually the exact same system that i use the same iso to put on my b-link and also my shoes i'm using the new vu driver though i could use if i want to use the linux 460 drivers i can but i'm not really gaming on it i might use that driver though on my suits if i'm going to do any uh steam play linux gaming i do not have steam installed on this system or on the b-link um i don't think i'm gonna have to play games on it i'm gonna use this more or less a server and um office and basically just a home network computer system my z600 is basically my youtube uh computer got in a separate room which i really like it's very comfortable it's quiet it's uh my little space to do my youtube stuff and i got all my stuff to set up for to do youtube videos and i don't have to clutter up my workstation in my bedroom with my other computers i have my my other two computers in my bedroom because that's basically the thing i used to live in montreal in a studio apartment and having a computer always in my bed and even when i was a kid growing up in the 90s having a desktop like on a desk in my room it was just something that i basically uh always do but now that i have many other computers and i have a lot of space in my apartment and i have extra rooms that i can use i um can actually make my own office as well so that's i got i got choices but i do like having some reason i like to have my game console system in my room some reason i don't know why it's just like a comfy place to play games in it's always been like that but i do have a you know a 50 inch samsung tv that i can play uh i can use i actually i have my mac mini m1 connected to it and also i have playstation 4 and i also have a switch connected to it which i don't even use none in three of them i don't even watch tv i have netflix i play pay for it every month i don't even use that anyways this is just a long introduction so let's uh let's make a virtual machine here so i'm gonna make a virtual machine i'm gonna call it mx21 flexbox uh custom iso debian debian because if i type them in it'll automatically set up i could just checked myself i'll get this i do have 24 gigs of uh non-ecc memory on this server but um i think uh i don't know i'll i'll use like four gigs should be enough and uh yeah so uh let's uh the disc eight would be plenty but i rather just i i will not really eight it'd probably be uh my system might be out of the box i'll probably just give this 28 gigs i don't need uh all right let's give it 30. i'm not going to really keep this on the system this is just demos demo uh purposes and teaching so i'm going to do that so let's create it now when uh to do the settings that's good processor is good you can enable this if you want um you can crank it up to 128 that should be plenty enable 3d acceleration and the iso you want to load up um so choose a disk image and uh it'll be here but it'll be there like at home so i have it in snap shot and it's called uh mx21 flexbox tuck tuck that one this is my my latest one i have an older one so we're going to add that to there and with kde like i couldn't even add a snapshot like if you notice my period video like in coupon to what's all bugger it works really well on the um mx uh 21 flux blocks great job that team like mx dead team i'm really impressed with this flexbox edition good freaking job and uh i i really i really like it so let's uh load up the my custom iso that i created uh no let's load this up on the wall it was asking to load up my because i do have a cd-rom drive on this system so let's uh put this in full screen switch okay so this is loaded up full screen so this is how the lcd would look like on your full screen well it'd be a lot bigger than this but hey whatever so let's let this load up it should load us up in a folder screen if i guess if i you know okay so it does have like my my system basically it's going to be all set up already that i did with the iso see there you go this is a live session to prove that it's right there in the virtual machine it has exact same system i i configure it myself so uh i don't see my concrete it'll probably load up there you go so the network is set up and everything so let's say if i wanted to install my custom iso cd or just your custom iso to install it you just as you can see whoa this is uh kind of weird so i don't know why he's doing that is it all like that i'll just check something here there's something really going wrong here okay that's good um don't know why that terminal is going way up in the screen like that um i don't know how to move it why why is it doing that that's so weird so let's uh put that smaller i guess let's try it now wow okay um let's just uh okay what did i okay this is in full screen all right let's just uh like it's confusing because like it's exact same thing as my desktop so let's log out and then log back in okay so let's load up the terminal again there you go that was weird before i don't want to do that really okay so uh we just do a pseudo m install this is how you install any um mx linux system in the mx21 linux system so like this here is the installer so let's put that in full screen so let's say that mx linux is independent of image distribution based on debian stable mx uses components of memphis meepis memphis so yeah so you want to do a customized disk layout so to set up butter ff this is how i do it so here you're going to want to click and you put add partition right okay but this partition whoa okay remove remove you want to add new partition and you can probably do it this way so you can make you can put 256 for this so you're going to use this for as so if you have a ef5 computer system just use esp if you have a non efi or uefi computer system that uses mbr or bios boo just click boot okay it'll say external four and that's perfect that's all you need so you want to put add another partition so this is basically going to be your root drive so basically what you're going to do here you're going to put just format and you want to format this wherever it says mbr and i'll say external four you want to put that into uh butter fs okay once that's set up you're gonna want to put this default disk so just keep doing this until it gets to the max which is that so then you're going to put add you got to right click it that's how you do it you right click it you're going to put add new sub volume so the first of all you want to add is root you want to add another solve a new a new sub volume so the second sub volume will be home so basically that's how it is so like sda one will be your boot disk with uh it'll just be a regular nvr boot um so uh this should be yeah active tarkition they're all active so basically what you have here on sda1 at sda2 sometimes you can have it sda1 but it doesn't really matter i think it'll work either way um so you're going to have your bootloader right here and your bootloader will be formatted in external four if you do have uesi you'll have it this way and it'll be formatted to fat32 so for this system the boot with mbr will be formatted to external four and uh and then you'll have an app for rooting at home this will be perfect this is a perfect layout for time shift because time shift is mainly made for ubuntu and debian so this is basically how you set up your btrf file system click next and then it's going to want to install it so then it's going to ask you where uh what disk you want the grub to be on or system system linux or whatever it uses it's going to be on mbr if you did set it up what uefi will be esp over here then you can click next while it's installing the system you can set up your host name i'll just put a vbox vbox mx mx21 fluxbox example domain name we'll call this uh hp 600 v box okay and then okay it's going to ask for your time zone it's already set up for me if you did made a custom iso you'll have the time zone already set up for you and your username will be already set up but if you don't and this is like just like setting up like with the iso you got off from their website um they'll just ask to create a username and password and password for root so that's only the basic step so right now let's install the system then this iso that i created is 4.1 gigabytes so i could actually take this this iso put on a usb and just go to any computer and have my system i have on my desktop already on the local host um i can use any results and have the same system the program the same configuration same desktop the whole entire system is on the disk it squashes it up and that's i really like um i really like mx and their tools and their backup system for iso because i i also would beat butter fs with the time shift you can create snapshots and it does the same thing like what what uh creating an iso snapshot of your system is basically the same thing but what it's doing is creating a snapshot of your partition on that disk and zfs does this a lot zfs is known to do snapshots and this the guy that that uh started butter fs he was working uh with the zfs team i think with article i think he left oracle and he basically just started doing his own project better fs and this is basically what it is and it's it's based on a lot like solaris or the old style of solaris but there's a lot of good tools with it and a lot of it's a really good backup tool like if you ever use uh time machine on mac os it's kind of similar to that it does snapshots in that regards um they use a hfs plus it's a basically sort of a ufs file system but it's like their own style file system like like it's a modified version of their own file system of psd but it's the same idea um i really like better fs i didn't use it much in the past i did i have used it however on fedora and all that i just never really set it up with um i didn't set the snapshots or the sub volumes but this is really good to do like i'm just showing you people like how i set up my um mx linux system with butter fs and uh if anybody's interested in uh setting this up that's basically how you do it and it's easier than you think once it's done installing i'm basically going to just show you um what you need to install and what you can get for auto snap from the git hub serve i have it already set up on this system but it won't be set up out of the box so i'm gonna have to reconfigure uh my snapshots anyways so i'm gonna show you that as well because even though like if you make a custom iso with all like your system when you install it onto another hard drive or just restart on the same hard drive you got to have to reconfigure time shift and you have to install auto snap again but you'll have the source already if you if you made the custom iso with the source already in the home directory it'll be there for you to access and you can just make and make install uh auto snap which is very simple um i don't think it's gonna work here on this system already so yeah this is basically in the vm so yeah it's pretty cool um i don't know how because like since it looks like my host system but you can tell this is the vm because it saves here virtualbox 1.2 and uh this is the this is the the system i made so it uses light dm that's the okay that what it is for for the i have for the d e okay it's a light dmx session so that's what they're using for their uh login screen um so yeah it uses like the system that i created it only uses 824 megabytes like when you load it up that's really really good i'm using the stable kernel you can get liquorice for it if you want to but if i would install nvidia non-free drivers it does not run too well for uh i had a lot of problems with nvidia 460 with the 5.4 team kernel um i think you probably need to get the package of ford 70 to work well with 5.13 and 5.14 linux because i think 460 is quite old and i don't i just have a lot of problems so right now i just i don't even use okay i could use nvidia as well but if you do make a custom iso with nvidia install it will screw up because i couldn't even load up x when i had the non-free drivers install with a customized so so i didn't boot up but when i delete it by doing to delete if you don't want the nvidia driver you can just do sudo ddm dash mx and then push slash p nvidia and then that will basically delete um everything like all the nvidia drivers you know it'll basically just purging all the it'll uninstall the non-free drivers and put back just your new new drivers um that comes default with i i don't know i never really tried gaming with just nuvo drivers but i'm sure it games could work just as well i think it's basically the same drivers i don't think i'll make any effects but um i don't know i hadn't tried it yet so i'm definitely going to load up this usb on my ace my zeus actually and just see how well it works and i'll just install steam and i can install one game and see how it works you know easily without even installing on the system i can use my custom usb that i need because i actually have this system that you see in the v box right here uh i actually have this system see heads you can see like i have three gigabytes free and i'm using so i have i i set up four gigabytes so that's pretty good it works good you don't you can i can run this actually on on two gigs i really want to but i wouldn't recommend running any system on two gigabytes but it would handle it you wouldn't be able to run a lot of stuff at once but so that's cool like i i have i have my custom dock uh the mx dock i customized it myself and when i made the the snapshot it actually saved all the configuration the wallpaper my con uh theme and setup and yeah that's cool i know i'm just ranting i'm just kind of letting this install it does take quite a while it'd probably be a lot faster if you have less stuff on your uh custom iso or you just have the default iso it shouldn't take that long um but since i do have like wallpapers with what i did i i included network wallpaper and desktop um the rest i excluded i just kept like the network desktop and uh picture so that way like uh it'll have a desktop save and i'll have all the pictures i have like or wallpaper that i have on inside picture folder and basically um what else uh a network so like what's really good for me is that i always have to compile like my network like my wi-fi driver modules for uh any lens things i set up so like using this custom thing i could have my network already set up and ready goes as soon as i install it on to any of my computers that uses that so like because i have two computers to have this same like my my asus and my hp to 600 they both have uh this um realtek uh it's called uh tread tread bros bros tread or something trends or bros trends uh trend uh or trendy bro or something like that anyway that's the company of the the wi-fi it's a it's a real tech wi-fi adapter that works for linux is the xx 888x2bu uh module driver that seems to be not in the linux kernels or or the recent one so i have to like manually uh compile the the source module into the kernel for each new kernel update i have to do that but like by making this custom iso or even using snapshot like my wi-fi is already set up out of the box so that there is more productive for me i don't have to like recompile all the time i have it always set up because i have it saved on my usb so if i ever need to reinstall the system you know so it's all done so it's gonna ask to reboot so it's gonna reboot the system it's gonna like want you to take out the iso i think that'll do it automatically i think this will be the regular system i think it's this is the regular system so now it's installed like so if you install this on your hard drive this is how it's gonna look like after the installation with the btrfs uh set up so we'll let that load up see like ram desk like canopics used to do this a lot to load up like like stuff into the ram um some reason it's not working i think it's working i see my computer loading but i don't know it's usually not this slow it seems to be working i think okay yeah so this is on your hard drive so this is the hard drive this that's what it shows like when you boot it up on a when you have the system installing your system so let's load it up i think uh i'll just not put full screen yet let's assist and load up like cocky loadout i think it's probably updated anyways because this is fairly a recent snapshot okay let's put this in full oh screen okay it isn't full screen i don't know why it goes back to my desktop like it thinks what the hell okay that's kind of weird uh let's uh just uh refresh let's just uh log out because i think it's uh like some reason it's like i think virtualbox kind of buggy with with the full screen stuff it does work well i know some people use vmware i used to use v8 more a lot but i i've always been uh i used to like some records oh i used to i still like submarine ecosystem and i use i always use a virtualbox and i used to use it way before like it was acquired by or oracle i used to use it when i used to say some microsystem on it and i i loved it because it was uh it was a nice piece of vm tool and okay so this system is already installed so i have 30 gigs so like so free and 21.9 gigs so it's not it's not really a big system i use about four gigs above so it's using 671 mix around so okay once you have this all set up if you do if you did set it up with uh so you probably want to install uh i don't think i have get installed do i it's already installed okay let's do it through the app uh update update okay update the packages you can tell this is on the virtual machine because like this computer uses wi-fi it would not show online connection even though it's it's the main network is when connected so i do have an upgrade you can upgrade it you can do it upgrade like this if you want i'm just so used to everything in the console but it's nice to have this feature because it just does it for you it lets you aware that hey you got some updates you want to update your system so this ain't gonna work snapshot so like basically snapshot is set up out of the box okay auto snap is set up but if you don't have auto snap you can always get the github's github search source and uh it's called time shift uh auto snap app at like it's for the let's see everything you install packages i'll do an auto snap so if something breaks you can always just roll back or you know to like because before it installs that package it'll snatch out your system so if that package broke the system afterwards you can restore your system before that that action it's kind of like like if you're playing prince of persia you can actually roll back your mistake you know what i mean like it's um like it's like kind of like a time shifting kind of thing that's why they call it time shift right so to install it once you get to get stored just to install is a sudo make and then sudo make install and that's basically how you that's it and if since it's a github source and if you have gip install it'll show master it'll show that that is to get packages but if you don't have gets installed it will not show this on the terminal it won't say master so yeah it's kind of cool so uh i don't think my my thai chip is set up so like even though you have it set up on your system you make it customized so it will not be set up when you freshly install it onto a disk that you had on before or onto a new computer or onto another disk so to set it up you just click wizard they'll say select snapshot type btrfs you can also use this with rsync so you can use time timeshift can be used with external four if you want to you can use rsync as well and it works same thing but i like sub volumes and stuff like that i just think that butterfs works a lot better and it's designed more for that next so this would be like my main hard disk so yes it lasts daily so you wanted to make a shot daily yes and i also have auto snap so it'll be more just daily it'll be like a lot but you can always uh delete old snapshots that you don't want to free up space you know what i mean so you in uh stop cron emails for schedule tasks yep you could also put boot if you want to you can also do hourly if you want to i put daily it's good enough you can also include home sub folder so you can take a snapshot and save what you have on your home folder um also for that snapshot but if you do install something afterwards that snapshot like it won't be there you but when you restore okay like i'll show you something so next that's all done so this isn't set up so i got one this is from the auto snap but let's say if i create one like okay this is a fresh install system working good i got everything sorted out good okay create a snapshot let's say like you install something like ah like and uh like let's say like okay studio app installed him i don't use vim but let's say like oh man i don't want him like oh do i already have him on this thing yeah okay um okay uh let's install something i don't have um let's just remove uh let's just remove tmox okay and i'll do a purge [Applause] okay and i can't do that why sudo at auto remove is that one they complain about something another instance of alpha kitchen is running oh what's running oh is that the was it this um no what's running like okay that works i think no it's not working hmm it's working what i'm saying and also i got chrome installed like if you like chrome you can just install and take a snapshot so this all works like why can i not remove tmax okay our sink change okay boot in 2000 before call time shift oh because time shift is all right because like when time shift is open because i already created this snapshot right so if you have time shift open it won't work my dad sorry about that that's another thing i forgot to mention so it does kind of use rsync anyways but it uses it with butter ffs if you want to check your sub volumes as well you can put pseudo bt rfs um and then you put a sub volume uh this slash and you can see all your snapshots that you have and it this is your home directory and your root directory they're both in the same they're both in the same partition right they're just sub volumes so it's really good so like let's say i i i uninstalled two boxes like oh no i want it back well you can always [Music] i took a snapshot before i deleted uh timeshare they even announced it before that anyways but i could also use one that i created before all that and i can just put restore so i have it selected and you click restore you can also include your home sub volume or you can keep what you have already in your home or you can restore back what you have on your home already i'm going to just do with this because i didn't really did much difference with it so do that it's going to tell you data will be modified and i'll show you what's happening disclaimer the software comes without no warranty it's just giving a little warning but it works good i never really had so restore sublimes will become active after it restarted so so right now i don't have t-much install right so let's do a pseudo review i'm going to reboot the system just to show you how well this works these snapshot and you don't see much of a difference because it was just a little small change but like let's say something broke your system you're going to love butter fs and snapshots and time shift it's really wonderful stuff and also i'm going to show you a little bit on on iso creation snapshots with mx tools because thenx tools got their own uh you know snapshot recovery as well and if you remember old debian used to have this thing called system remaster or something like that or remastered system i used to use that a lot to make my old toxic lens district which still works with the install and everything and you can actually use the system install the system with an older kernel because it's made like six years ago but it still works and you can update the whole entire system and upgrade the current on everything and have a full functional system and it's based on foxbox a lot of my old uh debian my old distribution of toxin linux had it was i i started off with debian then i switched over to arch linux but i think i'm gonna if i ever do any toxic linux at distribution um with my own configuration everything i'll probably based on mx because i love mx linux it's really great but probably not i i don't mind make my own distribution and stuff but i rather just set up my own desktop i mean i i work and stuff like that i'm doing youtube videos and playing games i got a lot going on for me like i it's a lot to do but i do like just making my own backup for myself and just configuring myself so basically the time shift i should have t max now see it was deleted before it definitely rolled it definitely restored a system back so um with mx you can also do snapshot what this does is like this entire system okay you can make a snapshot you know you can name your eyes so you can put sits let's say you just set up your system and like okay i like this configuration i like everything i have here how i have it set up i want to back this up you could do a snapshot what would be trf with time shift and also you can actually make a physical iso of a snapshot and put on a usb install on your system like i just showed you throughout this whole video basically this system came from a custom snapshot that i created on my host computer and i load up into a vm you can put a custom mx 21 plus box and click next now if you don't exclude anything this is going to be a big iso if you this not them being not ticked means that they're going to be included on the iso so you put none you don't want none of this you can't but what i do and it doesn't really make much more it all depends like how much megabytes of pictures or whatever you have can add up if that's so if you have it on a backup hard drive already on your system then don't select it but i do because i just have a bunch of wallpapers and it's not very much in it so i want to include that so untick it it means i'm including it i want my desktop to look like how this is and have all the same configuration as that with the con key and everything so untick that as well because that'll be included then you want to network for me in my case i don't have to include network but i do like it especially for wi-fi because it'll save your your credentials to log into your wi-fi plus it also saves the kernel that has the driver of my wi-fi adapter already set up with the system but you can use it on different wi-fi on different hardware as it worked on my feeling i i made the snapshot of this one and i put it on my feeling um so and it worked i just had to change the the wi-fi to the b-link i think because it wasn't showing it was shown no uh no signal like icon thing it just showed like nothing so i had to select that specific hardware that i wanted to show and now it shows the signal always like it's still worth the internet it's just it's just these icons are kind of a little fussy like with bluetooth like like sometimes this volley icon won't change so i had to like kill volume icon and then reload the volume icon and how do i know there's a valid icon i usually use volume volume icon all the time in like fluxbox and uh open open box and i used to use mnm applet network manager applet so anyways that's how i do my iso i just picture desktop network that's why i include it everything else is excluded compression scheme i used lz4 also that's it then you start making your snapshot okay um i'm going to cancel it because i don't really want to make a snapshot but that's how you do it and then you can use this program here you can find a usb right here and you select the iso you created your iso is usually in home and will be where snapshot is and then you basically just you can also when you format the disk if you want it writable which i do or you can put it just read only it's up to you i put writable because you can actually configure like let's say you load your live cd or your usb whatever onto a computer or usb because usb you can make it uh writable so you can install something while you're like let's say you have it on different computer you install something while you run in the live session it'll save on the usb so whatever you use it again you'll have that program there and when you install it all this dollar program or that configuration already which is really cool i like that it's very universal so yeah uh snapshot backup solution so if you ever want to upgrade your mx linux in the future let's say to the next release um this these are good tools to back up your system before you do an upgrade so if anything fails you have that already saved up and recovered like i have it on my usb i i have it saved on like the hard drive snapshots so if i have anything fail on an update i have no worries because i have it all backed up on like the this snapshot backup and a physical iso backup plus it's on a usb as well i created i put it on a usb so i can boot it up and restore my system if any upgrades ever fail with mx linux and i'm quite sure that does not happen often because this system is pretty rock solid um so yeah so butter fs is really good if you're a person that uses servers and you want your like special media servers or file servers like samba and nf nfs servers yes you're you're going to want to have butter fs it's a very good file system and it's really good to backup and snapshot your partitions and if applications screw up your system you can always restore it's great and also with mx you have a capability of making physical isos of your system and you can put on usb drive and you can actually boot it up you can use it on a live session and you can install it so mx linux is freaking awesome and with butter fs and time shift and auto snap and all that this system here is my this is tuxa system this is something that tux hat would use and who the hell is tux hat well if you remember me back in the day when i used to do a lot of videos i started off my old nickname was ipod punker my my first first youtube channel i just have a deviantart page i used to do a lot of system video reviews a lot of configuration i did a lot of racing i i make my own like style like awesome wm systems i've done a lot of x mod and i did xfce4 in the past i did a lot of different configurations and setups and everything now i'm more just old school kicking back getting to the server parts of things again i am going to do it to more videos on open indiana and freebsd open dsd7 and some other systems that i have that i'm downloading and uh i'm wanna review some more systems in virtualbox and i really like uh i really like how this works so let's just shut this down you might think like oh dude you're shutting down your system it feels like that because it's like how is the exact same thing and if i want to just uh not yet because like this was just a demonstration so i'm going to delete it delete all the files everything's done there you go so i hope this video is helpful if anybody's interested in setting up a butter fs system on mx linux um like mainly mx21 flexbox linux system but i'm sure it will work with other flavors of different desktops of mx linux this is how you set up with mx linux in general and uh yeah i hope i hope it's useful for some people and uh if you've never tried butter fs give it a shot try it on vm like take a snapshot like create like i just show you create a snapshot of your system that you have now on your current desktop make an iso and then run it in your vm neither if it's uh vmware that you use or any other type of virtual machine i use virtualbox but it all works virtualbox is great for me i i always i've always been a sun market system guy and i always refer uh virtualbox even when is required by oracle it's still virtualbox made by sun microsystem and yeah i i like solaris stuff so i'm a big fan that's why i like butter fast because much like zfs and um but i think it's i i think personally to me is good for like me or like home servers or like home networking people like us you know like that not running like a multi-data frame or mainframe you know just a basic network i think butterfs is really good check it out uh try it out even if you don't want on your computer like on your mains host computer give it a shot learn how to use it it's great you might find it useful and you might find it actually saved a lot of work and stuff that you've done with your computer system and something happened instead of troubleshooting and going to back you can just restore it all back make life easier and feel more safe that you're like hey i can you know do some you could actually use your life you can actually use your host box your whole system at the sandbox and if things up you can just roll it back or restore it back that's great and so you don't have to worry about reinstall everything because like the old school linux you up man it's game all for you man it's near you troubleshoot that and fix it or reinstall the system again and reset up everything again and that could be a pain in the ass butterfist can save you a lot of time and it's it's a very useful file system very useful anyways check it out i hope this helps a lot of people or even change people's minds and use different partitions with linux and i i i personally used to use external for for a long time but butter fs and learn about it setting up with arch linux and other distributions in the past i really like butter fs and i think it's a really good file system so once again thanks for the watch have a good one cheers
Info
Channel: Calamity Despair
Views: 259
Rating: undefined out of 5
Keywords:
Id: 7nRXfH3h99c
Channel Id: undefined
Length: 47min 7sec (2827 seconds)
Published: Tue Oct 26 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.