<?xml version="1.0" encoding="utf-8" ?><transcript><text start="1.36" dur="5.519">boot environments</text><text start="3.6" dur="6.16">freebsd has a fantastic feature</text><text start="6.879" dur="5.68">called boot environments which are</text><text start="9.76" dur="4.64">like a snapshot of your</text><text start="12.559" dur="4.8">boot environment</text><text start="14.4" dur="5.2">of your your operating system</text><text start="17.359" dur="3.84">a bit of akin to</text><text start="19.6" dur="3.04">it&amp;#39;s not it&amp;#39;s not there&amp;#39;s nothing like</text><text start="21.199" dur="3.681">it really i was going to say it&amp;#39;s a bit</text><text start="22.64" dur="4.16">like the um the rollback feature in</text><text start="24.88" dur="4.399">windows but it&amp;#39;s not even like that</text><text start="26.8" dur="4.799">there&amp;#39;s just nothing like it so what</text><text start="29.279" dur="5.041">this allows you to do which is what i</text><text start="31.599" dur="4.321">use it for mainly is</text><text start="34.32" dur="3.6">what am i doing with my hands what&amp;#39;s</text><text start="35.92" dur="3.92">this i don&amp;#39;t do that</text><text start="37.92" dur="3.2">so what i use this for is when i&amp;#39;m doing</text><text start="39.84" dur="3.039">a load of</text><text start="41.12" dur="4.08">system updates</text><text start="42.879" dur="3.761">i will take a snapshot of the boot</text><text start="45.2" dur="2.879">environment</text><text start="46.64" dur="3.759">do the updates</text><text start="48.079" dur="4.64">if it goes wrong which nine times out of</text><text start="50.399" dur="4.081">10 it doesn&amp;#39;t but if there&amp;#39;s</text><text start="52.719" dur="4.121">for instance</text><text start="54.48" dur="6.32">something that i&amp;#39;m going to update with</text><text start="56.84" dur="7">php and the the application that</text><text start="60.8" dur="5.84">uses php doesn&amp;#39;t work with say</text><text start="63.84" dur="4.319">version 8 as opposed to version 7. i can</text><text start="66.64" dur="4.479">just roll back to the other boot</text><text start="68.159" dur="4.801">environment and it still works</text><text start="71.119" dur="4.481">so let&amp;#39;s have a look at it and see what</text><text start="72.96" dur="5.04">what it is and how it works shall we</text><text start="75.6" dur="3.6">so looking at my terminal here i&amp;#39;m</text><text start="78" dur="4.4">logged into</text><text start="79.2" dur="4.16">a vanilla freebsd 13.1</text><text start="82.4" dur="3.2">release</text><text start="83.36" dur="4.16">and let&amp;#39;s go b e</text><text start="85.6" dur="3.04">ctl so there are two tools that you can</text><text start="87.52" dur="4.48">use for this</text><text start="88.64" dur="5.839">there&amp;#39;s be ctl or you can install</text><text start="92" dur="4.079">be admin</text><text start="94.479" dur="3.361">be adm</text><text start="96.079" dur="4.641">which gives you</text><text start="97.84" dur="4.16">less options but it&amp;#39;s easier to use so</text><text start="100.72" dur="3.52">it might be better for you to use this</text><text start="102" dur="4.72">one so</text><text start="104.24" dur="4.32">i&amp;#39;m going to use bectl for now so there</text><text start="106.72" dur="3.52">we go if we list it it will tell you</text><text start="108.56" dur="3.919">what boot environments we&amp;#39;ve got at the</text><text start="110.24" dur="4.96">moment just the default</text><text start="112.479" dur="6">nice and simple and it was created on</text><text start="115.2" dur="6.4">first of the 8th 2022 which is today</text><text start="118.479" dur="5.28">when i installed the system</text><text start="121.6" dur="2.879">fairly simple</text><text start="123.759" dur="2.561">so</text><text start="124.479" dur="3.041">let&amp;#39;s create one</text><text start="126.32" dur="4.559">and</text><text start="127.52" dur="4.24">see what we can do with actually</text><text start="130.879" dur="2.641">so</text><text start="131.76" dur="2.88">be ctl</text><text start="133.52" dur="2.4">create</text><text start="134.64" dur="3.04">and it will tell you where i&amp;#39;ve gone</text><text start="135.92" dur="3.6">wrong</text><text start="137.68" dur="4.16">and the name</text><text start="139.52" dur="4.64">nice and easy so let&amp;#39;s go</text><text start="141.84" dur="4.479">test</text><text start="144.16" dur="4.799">list so there&amp;#39;s our two boot</text><text start="146.319" dur="4.56">environments so if i now</text><text start="148.959" dur="5.241">install some software</text><text start="150.879" dur="3.321">let&amp;#39;s go</text><text start="163.12" dur="6.24">let&amp;#39;s install vim i don&amp;#39;t use vim it&amp;#39;s</text><text start="165.76" dur="5.92">not something i would normally install</text><text start="169.36" dur="4.959">there we go</text><text start="171.68" dur="2.639">so there it is</text><text start="177.12" dur="3.92">that&amp;#39;s why i hate vim</text><text start="179.2" dur="6.24">i can never remember the commands right</text><text start="181.04" dur="7.199">so if i now look at my boot environments</text><text start="185.44" dur="4">so what can i do with that well</text><text start="188.239" dur="3.121">let&amp;#39;s say for</text><text start="189.44" dur="3.439">argument&amp;#39;s sake that</text><text start="191.36" dur="3.36">when i installed vim it screwed</text><text start="192.879" dur="4.161">something up clearly it didn&amp;#39;t and it</text><text start="194.72" dur="4.159">wouldn&amp;#39;t but what can i do</text><text start="197.04" dur="4.16">well i can boot into the the boot</text><text start="198.879" dur="3.121">environment that i created a few minutes</text><text start="201.2" dur="2">ago</text><text start="202" dur="2.879">reboot</text><text start="203.2" dur="5.44">and it&amp;#39;s like it&amp;#39;s not installed so</text><text start="204.879" dur="6.761">let&amp;#39;s do that so b c t</text><text start="208.64" dur="3">l</text><text start="215.68" dur="5.68">there we go so if i do my list again</text><text start="218.319" dur="3.041">and then i reboot</text><text start="222.08" dur="6.4">so let&amp;#39;s go to</text><text start="224.879" dur="3.601">the system to see it rebooting</text><text start="228.64" dur="4.4">just so that you know that i&amp;#39;m not</text><text start="230.56" dur="2.48">cheating</text><text start="236" dur="4.08">okay so you can see that that is now</text><text start="238.48" dur="4.24">restarted</text><text start="240.08" dur="5.68">let&amp;#39;s go back and</text><text start="242.72" dur="3.04">restart this session</text><text start="248.08" dur="4.64">and clear it</text><text start="250.08" dur="6.4">let&amp;#39;s do a</text><text start="252.72" dur="3.76">the ctl list</text><text start="257.199" dur="3.76">so there you go the test is now active</text><text start="259.759" dur="2.241">so</text><text start="260.959" dur="4.721">probably should have picked something</text><text start="262" dur="6.32">better than vi to be honest so vim</text><text start="265.68" dur="5.44">there we go not installed</text><text start="268.32" dur="4.159">absolutely invaluable so if i now</text><text start="271.12" dur="2.72">reactivate</text><text start="272.479" dur="4.601">the default</text><text start="273.84" dur="3.24">boot environment</text><text start="283.04" dur="3.599">helps if i actually spell correctly</text><text start="288.96" dur="4.56">there we go</text><text start="290" dur="3.52">so that&amp;#39;s now the one that&amp;#39;s</text><text start="293.68" dur="6.56">active and then reboot again</text><text start="297.04" dur="3.2">bin will be installed again</text><text start="307.6" dur="3.48">well that&amp;#39;s interesting</text><text start="312" dur="2.639">what happened there</text><text start="318.08" dur="3.119">reboot not restart</text><text start="322.639" dur="5.201">so go back to the box itself there you</text><text start="324.8" dur="5.36">go restarting</text><text start="327.84" dur="2.32">beep</text><text start="330.24" dur="2.72">up it comes</text><text start="333.919" dur="3.401">time and date</text><text start="338.96" dur="4.239">there we go let&amp;#39;s restart restart the</text><text start="341.6" dur="4.159">terminal</text><text start="343.199" dur="2.56">there we go</text><text start="350.639" dur="5.761">and i&amp;#39;m back into that one so if i now</text><text start="352.56" dur="3.84">do vim there you go it&amp;#39;s back</text><text start="357.68" dur="4">there we go</text><text start="360.08" dur="4.48">so there&amp;#39;s also</text><text start="361.68" dur="2.88">be admin</text><text start="365.44" dur="4.56">which again does the same thing but it</text><text start="368.319" dur="3.44">doesn&amp;#39;t have so many</text><text start="370" dur="4">of the</text><text start="371.759" dur="4.88">the switches that you can put on the end</text><text start="374" dur="2.639">so if you look at</text><text start="378.4" dur="3.44">it&amp;#39;s got more of it</text><text start="382.56" dur="4.4">but yeah i find this absolutely</text><text start="385.6" dur="3.28">invaluable</text><text start="386.96" dur="3.92">i have got into the routine now where if</text><text start="388.88" dur="3.36">i&amp;#39;m doing updates</text><text start="390.88" dur="3.52">i make sure</text><text start="392.24" dur="3.76">that i take a snapshot of my boot</text><text start="394.4" dur="3.28">environment because</text><text start="396" dur="3.6">i lose the server</text><text start="397.68" dur="4">i&amp;#39;ve got to go on site and i&amp;#39;ve got to</text><text start="399.6" dur="3.439">fix it physically i don&amp;#39;t want to do</text><text start="401.68" dur="4.16">that</text><text start="403.039" dur="6.081">i&amp;#39;d much rather just be able to go</text><text start="405.84" dur="5.04">there we go activate that let&amp;#39;s go back</text><text start="409.12" dur="3.12">absolutely fantastic</text><text start="410.88" dur="3.52">so there&amp;#39;s a little</text><text start="412.24" dur="4.72">insight into um</text><text start="414.4" dur="6.079">boot environments on freebsd</text><text start="416.96" dur="6.4">as i say complete game changer and</text><text start="420.479" dur="5.28">totally invaluable to what i do as a</text><text start="423.36" dur="3.6">server administrator i&amp;#39;m sure there are</text><text start="425.759" dur="2.56">more</text><text start="426.96" dur="3.04">in-depth things that you can do with it</text><text start="428.319" dur="3.521">but for me</text><text start="430" dur="3.28">having a list of boot environments that</text><text start="431.84" dur="3.52">i can boot into</text><text start="433.28" dur="3.28">after i&amp;#39;ve done some updates</text><text start="435.36" dur="3.52">that&amp;#39;s just</text><text start="436.56" dur="6.56">total game changer hope you&amp;#39;ve enjoyed</text><text start="438.88" dur="4.24">this video like i said not not a</text><text start="443.599" dur="3.6">massive one not an in-depth thing just a</text><text start="445.68" dur="6.079">quick look at boot environments on</text><text start="447.199" dur="7.28">freebsd how they help me specifically</text><text start="451.759" dur="4">and maybe you can start using them</text><text start="454.479" dur="3.361">just to cover your back when you&amp;#39;re</text><text start="455.759" dur="3.44">doing updates</text><text start="457.84" dur="2.88">if you want to</text><text start="459.199" dur="3.921">hope you&amp;#39;ve enjoyed it</text><text start="460.72" dur="3.68">subscribe for more videos they come out</text><text start="463.12" dur="2.88">once a week in the holidays at the</text><text start="464.4" dur="4.639">moment and</text><text start="466" dur="4.72">after that it&amp;#39;ll go back to twice a week</text><text start="469.039" dur="5.361">give it a like if you like it don&amp;#39;t</text><text start="470.72" dur="6">forget discord link in the description</text><text start="474.4" dur="3.76">tell me if you&amp;#39;re using</text><text start="476.72" dur="3.599">boot environments in the comments down</text><text start="478.16" dur="4.24">below be interesting to see how many of</text><text start="480.319" dur="3.921">you are and if you&amp;#39;re using it in a</text><text start="482.4" dur="3.519">specific way</text><text start="484.24" dur="2.799">an advanced way let me know in the</text><text start="485.919" dur="4.161">comments</text><text start="487.039" dur="6.28">as always i&amp;#39;ll see you next video</text><text start="490.08" dur="3.239">take care</text></transcript>