System Recovery with Timeshift and Snapshots

  Рет қаралды 27,113

EF - Linux Made Simple

EF - Linux Made Simple

2 жыл бұрын

If you are using the btrfs file system and Timeshift, you can easily recover your system from the snapshots you have, and not necessarily only from the GUI. In this video, I am going to show you how to recover your system from the console, when your system doesn't boot up correctly.
Become a member of the channel to support it:
/ @eflinux
** Follow Me on Twitter: bit.ly/3gKkPeR **
** Donate to the channel by visiting my Website **
My Hardware:
AMD Ryzen 9
32 GB RAM
Sapphire RX 5700 XT
My software:
Distro: Arch Linux
Video editing software: Kdenlive
Website: eflinux.com
Twitter: / ermanno_ferrari
Gitlab: gitlab.com/eflinux
#linuxmadesimple

Пікірлер: 67
@arkadiuszdzik3452
@arkadiuszdzik3452 2 жыл бұрын
To the point and a very clear and easy presentation. Thank you.
@peterjansen4826
@peterjansen4826 2 жыл бұрын
Very true.
@duser
@duser 2 жыл бұрын
I am so glad you're doing well! Take care and thank you for these amazing videos
@Chris.Wiley.
@Chris.Wiley. 2 жыл бұрын
Thank you Ermanno; this is super helpful information.
@ronnierush9379
@ronnierush9379 2 жыл бұрын
Great video> You can also boot from any flash drive with any live OS that has Timeshift installed on it and use the full Gui, its very easy as long as you were running Timeshift and have the snapshots points on the system you wish to repair. It can save a LOT of hassle :-)
@SA77888
@SA77888 2 жыл бұрын
Dunno why, despite ussing Timeshift........making frequent/automatic snapshots..........I didnt have confidence in it to actually restore my system should I need it. Well.......being a noob I just messed my settings up and choose to use Timeshift to put things back to how they were.......and it worked perfectly........and was very easy to use too. Impressed with how easy it is to use.
@gerds.9956
@gerds.9956 2 жыл бұрын
Very helpfull👍🏻👍🏻 Thank you Ermanno!
@PoeLemic
@PoeLemic Жыл бұрын
Loved this video. Thanks for showing us how to do this so easily.
@Steven_nevetS
@Steven_nevetS 2 жыл бұрын
Excellent video! Learned something!!
@ryanlanglois1123
@ryanlanglois1123 2 жыл бұрын
I've been looking for a solution for this for 2 days. Wouldn't you know it!!! Thank you sir for your videos.
@pantasio
@pantasio 2 жыл бұрын
thank you sir. I waiting for your next video: How to system Recovery with Timeshift to another bigger HDD.
@Appalling68
@Appalling68 2 жыл бұрын
Excellent. Just a freakin excellent video.
@nelsono4315
@nelsono4315 Жыл бұрын
another excellent video. Thanks!
@nemogamma578
@nemogamma578 2 жыл бұрын
Thank You, great utility. What about snapper ? Which differences ? It seams snapper snapshots takes less Mb on the drive.
@Klatsch_Batsch
@Klatsch_Batsch 2 жыл бұрын
That was very helpfull. Thx you
@juliuco_nikel
@juliuco_nikel 2 жыл бұрын
un máquina amigo , muchas gracias . One machine friend thanks very much
@1kwords
@1kwords Жыл бұрын
Thank you!
@draabuu
@draabuu 2 жыл бұрын
Thanks!
@techfan7808
@techfan7808 2 жыл бұрын
Thank you for the video. Very Useful. Any chance you might do troubleshooting Boot with GRUB2 and separately SystemD-Boot?
@YannMetalhead
@YannMetalhead 2 жыл бұрын
Good video.
@doctorsocrates4413
@doctorsocrates4413 Жыл бұрын
Excellent video thank you..Extra subscription for you,
@Mikesco3
@Mikesco3 2 жыл бұрын
One thing I also do is to do an rsync timeshift backup to an external device, as a second form of backup, this is a really helpful redundant backup feature and it helps for cases where if the main ssd dies or becomes corrupt or if you need to migrate the system to another computer.
@maximus6884
@maximus6884 2 жыл бұрын
One other option is to boot another Linux distro and use timeshift on that to restore on our local disk. This is helpful when our local doesn't boot at all. E.g. when boot partition is broken.
@satysin630
@satysin630 2 жыл бұрын
Would be interesting to see a video on how to restore to a previous snapshot from an unbootable system, such as if the fstab is corrupted or the boot loader gets messed up.
@wotw86
@wotw86 2 жыл бұрын
If you're using grub, you could install grub-btrfs package and have snapshots availble directly from grub menu to boot in that particular snapshot.
@Bob-1802
@Bob-1802 2 жыл бұрын
Late comment: I just noticed, while testing few distros, that the new Debian-based distro SpiralLinux (from the same creator of GeckoLinux) will install your suggested setup automatically from its Calameres installer. Snapshots are pre-scheduled, nice for new users, and are available at boot time from grub menu.
@CrystalMaidenFeetLover86
@CrystalMaidenFeetLover86 2 жыл бұрын
Timeshift has one huge problem which makes it almost useless. When I actually had to restore a snapshot it wasn't possible, due to previously using an encrypted setup with luks. After a few searches it turns out this isn't a rare problem and people have had similar issues for years. So anyone who follows very basic opsec runs the risk of not being able to restore a snapshot. Of course you can still use the snapshots to manually copy files after manually setting up a new install, but this still leaves you with almost all of the hard work that comes with manually installing and configuring everything again.
@eflinux
@eflinux 2 жыл бұрын
You mean the current set up is not encrypted and previous one was?
@CrystalMaidenFeetLover86
@CrystalMaidenFeetLover86 2 жыл бұрын
@@eflinux Yes my previous setup was encrypted. To try and restore it I used a bootable USB but instead of running the install script I installed timeshift and triggered the restoration. First try I at least got something that looked like progress, but I had to cancel it. After that it never succeeded in starting the restoration, instead it said something about an unsupported file system (don't remember the details, this was more than a year ago)
@cybersechs1368
@cybersechs1368 2 жыл бұрын
Hi Ermanno! Roughly, how big are these snapshots? I'm running a bootable ARCH install on a 64GB USB drive
@dinozaurpickupline4221
@dinozaurpickupline4221 Жыл бұрын
I'm wanting to install mx linux,instead of my goto lubuntu,but i want to backup my current config,so how do I do it with timeshift,do I reinstall from iso,going blank new then configure timeshift then recover from that backup?
@craigdyke6131
@craigdyke6131 2 жыл бұрын
Great video as always, however I am unable to replicate on my current system :( My issue seems to be that when I try to launch a previous snapshot I see nothing about /boot also being rolled back to the previous information and hence if I have upgraded the linux kernel in that time (which has actually been my issue before and hence the need for rollback) it will not boot. Can you let me know if I have missed a step somewhere? I watched all of the April 2022 install AGAIN just to make sure, but I can't see what step I have missed?
@greyshopleskin2315
@greyshopleskin2315 2 жыл бұрын
On the configuration assistant, you can choose what partitions you want to snapshot. If boot is in a separate partition, mark it. Also, check you don't have any filter to exclude /boot
@think_outside_of_the_box
@think_outside_of_the_box 2 жыл бұрын
Could you make a video about installing Arch Linux on ZFS?
@lsatenstein
@lsatenstein 2 жыл бұрын
Hi EF Montreal friend here. If you have a chance, give a review of SUSE leap 1.54. I believe it has timeshift built-into the distribution. It could be an interesting comparison to the above arch installation
@mustafababdullah2485
@mustafababdullah2485 2 жыл бұрын
Ermonno have you experienced issues with the last couple of kernels with Nvidia hybreed? I have almost zero time to configure and fix issues so I put my Nvidia machine to mint with btrfs. No issues so far! Package names are quite different 😂 then arch.
@lumac1232
@lumac1232 9 ай бұрын
but do I enable Timeshift and Snapshots in Mageia Linux? cannot install snapshots in bytfs
@will00451
@will00451 2 жыл бұрын
Hey my friend, I was a long time arch user, partially with your help, but recently fedora has felt like home. How do you feel about fedora?
@Alfakatt
@Alfakatt 2 жыл бұрын
Whatever floats your boat :)
@JM-sn5eb
@JM-sn5eb 2 жыл бұрын
Did you ever have a problem after bootloader upgrade? With with separate efi partition the /boot directory is not included in snapshot. After a bigger update I had to arch-chroot to my system and reinstall bootloader
@eflinux
@eflinux 2 жыл бұрын
Not really.
@justchillingafterwork9580
@justchillingafterwork9580 2 жыл бұрын
Hey hermano could you make a video on how to load and unload kernel modules with systemd boot. I am having a problem with my on board network card it is recognized by the module r169 but it almost never works I downloaded r8168 as it is suggested in the wiki however I do not know how to set it as default. I tried poking around with the guidelines on the earth wiki and now I have no internet I'm sorry for the crappy syntax I'm on mobile.
@reimueller
@reimueller 2 жыл бұрын
Thanks, now I know what to do. Is this also working with ext4 ? Take care.
@eflinux
@eflinux 2 жыл бұрын
No, with ext4 you'll have to boot from an external drive and restore from there.
@arijitkumarhaldar3197
@arijitkumarhaldar3197 2 жыл бұрын
Hello Arch users...is there anyone here who has an Atheros wifi adapter on their laptop? It started disconnecting everytime some network activity started both on the linux and linux-lts kernels starting from around mid-March. I rolled back, and its working fine now. But..do anyone know if the issue is fixed upstream or not? I won't be able to update the kernel anymore if they don't solve it. Its now on the ignore list on pacman config right now
@mc-not_escher
@mc-not_escher Жыл бұрын
Suggestion: Tutorial for Snapper + btrfs restore
@MR-vj8dn
@MR-vj8dn 11 ай бұрын
How about a system with multiple partitions / disks and not only btrfs?
@rlocone
@rlocone 2 жыл бұрын
What about auto snap for Fedora?
@pranavraval194
@pranavraval194 2 жыл бұрын
Could you please also create video if recovery using ArchISO?
@isidzukuri
@isidzukuri 2 жыл бұрын
same process, but you need first install cryptsetup luksOpen volume to mapper, then mount it, install timeshift from aur, chroot to mounted subvolumes. Be aware and mount all points (cat /mnt/etc/fstab). Then same process as video. OR Download Linux mint Una (20.3), make bootable usb from iso. That iso contain Timeshift. Launch it, if volumes not crypted, they will be seen by LiveOS. Timeshift able to restore from liveUSB\DVD. If crypted - follow first steps.
@mateuszkolbusz4115
@mateuszkolbusz4115 2 жыл бұрын
But why in my case system hits emergency mode after restore? This occtured only if kernel version was different. There is any way to repair this?
@eflinux
@eflinux 2 жыл бұрын
Do you have autosnap installed?
@mateuszkolbusz4115
@mateuszkolbusz4115 2 жыл бұрын
@@eflinux yes
@39zack
@39zack Жыл бұрын
And now I found out why restore with timeshift on btfs does not work if you have installed Arch with the installarch script, the subvol are set to / for both / and /home, not /@ and /@home
@dragonek_gnu_linux_pl
@dragonek_gnu_linux_pl 2 жыл бұрын
one problem with timeshift-autosnap is very big size of these snapshots :D
@eflinux
@eflinux 2 жыл бұрын
That's why it's important to set the schedule properly.
@Steven_nevetS
@Steven_nevetS 2 жыл бұрын
I agree.
@raidtheferry
@raidtheferry 5 ай бұрын
Doesn't btrfs ruin SSDs?
@sotecluxan4221
@sotecluxan4221 2 жыл бұрын
@peterjansen4826
@peterjansen4826 2 жыл бұрын
Ermanno, do you have a son called Damiano? Because there is a guy called Damiano Ferrari who studies computerscience in the north of Italy (Brescia) and contributed to unsnap. Such a coincidence if it is not family.
@eflinux
@eflinux 2 жыл бұрын
No, I don't have children.
@Jabok123
@Jabok123 4 ай бұрын
no such command exists
@kencole4850
@kencole4850 Жыл бұрын
I'm a retired university professor. I've taught all my life. I have to explain things to people who know nothing. Even if you don't change your rhetorical pattern, it would help if you didn't talk so fast. All this technical language is rolling off your tongue so fast. Yes, I can pause the video and listen again, but you say the *buss words* so fast that I can't hear exactly what you are saying so I can't google them.
@eflinux
@eflinux Жыл бұрын
Thanks for the feedback.
@adamg6453
@adamg6453 7 ай бұрын
I appreciate the pace of these videos, they're right to the point and don't waste time with triviality. I don't believe these videos are geared towards the beginner. I don't find I have any issue with following along.
@M.4y
@M.4y 2 жыл бұрын
timeshift wont start:    ~  timeshift-launcher  ✔ localuser:root being added to access control list (timeshift-gtk:64208): Gtk-WARNING **: 14:42:29.893: cannot open display: localuser:root being removed from access control list access control enabled, only authorized clients can connect SI:localuser:may
A Special Debian Install
38:09
EF - Linux Made Simple
Рет қаралды 27 М.
Snapshots vs Backups vs Replications
8:43
Charles Chow
Рет қаралды 57 М.
Mama vs Son vs Daddy 😭🤣
00:13
DADDYSON SHOW
Рет қаралды 32 МЛН
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 8 МЛН
Самый Молодой Актёр Без Оскара 😂
00:13
Глеб Рандалайнен
Рет қаралды 11 МЛН
What is BTRFS?
30:00
The Linux Cast
Рет қаралды 27 М.
The Foundation
1:14:44
EF - Linux Made Simple
Рет қаралды 42 М.
~/.dotfiles in 100 Seconds
13:54
Fireship
Рет қаралды 412 М.
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4 МЛН
Titus Reacts to Linus Tech Tips Linux Daily Drive Challenge
20:21
Chris Titus Tech
Рет қаралды 734 М.
Linux Backup Software Guide - Timeshift & Back in Time
16:21
Phazer Tech
Рет қаралды 3,4 М.
BTRFS Guide | The Best Desktop File System
28:47
Chris Titus Tech
Рет қаралды 128 М.
How A Steam Bug Deleted Someone’s Entire PC
11:49
Kevin Fang
Рет қаралды 940 М.
Backup and Restore your whole system with Time Shift
7:47
The Linux Experiment
Рет қаралды 62 М.
System Backup and Restore For Linux - How To Use Timeshift! (2024)
11:45
KristalOfComputer
Рет қаралды 6 М.
Сколько реально стоит ПК Величайшего?
0:37
Telefonu Parçaladım!😱
0:16
Safak Novruz
Рет қаралды 25 МЛН
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 62 МЛН
Опасность фирменной зарядки Apple
0:57
SuperCrastan
Рет қаралды 7 МЛН
Это - iPhone 16 и вот что надо знать...
17:20
Overtake lab
Рет қаралды 130 М.