System Recovery with Timeshift and Snapshots
Vložit
- čas přidán 12. 04. 2022
- 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 - Věda a technologie
I am so glad you're doing well! Take care and thank you for these amazing videos
Thank you Ermanno; this is super helpful information.
To the point and a very clear and easy presentation. Thank you.
Very true.
Loved this video. Thanks for showing us how to do this so easily.
Very helpfull👍🏻👍🏻 Thank you Ermanno!
Excellent video! Learned something!!
I've been looking for a solution for this for 2 days. Wouldn't you know it!!! Thank you sir for your videos.
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 :-)
Excellent. Just a freakin excellent video.
another excellent video. Thanks!
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.
un máquina amigo , muchas gracias . One machine friend thanks very much
That was very helpfull. Thx you
Thank you!
thank you sir. I waiting for your next video: How to system Recovery with Timeshift to another bigger HDD.
Thank You, great utility. What about snapper ? Which differences ? It seams snapper snapshots takes less Mb on the drive.
Thank you for the video. Very Useful. Any chance you might do troubleshooting Boot with GRUB2 and separately SystemD-Boot?
Thanks!
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.
Excellent video thank you..Extra subscription for you,
Good video.
Hi Ermanno!
Roughly, how big are these snapshots? I'm running a bootable ARCH install on a 64GB USB drive
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.
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.
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.
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?
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.
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.
Could you make a video about installing Arch Linux on ZFS?
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
but do I enable Timeshift and Snapshots in Mageia Linux? cannot install snapshots in bytfs
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?
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
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.
What about auto snap for Fedora?
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
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?
Whatever floats your boat :)
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
Not really.
Thanks, now I know what to do. Is this also working with ext4 ? Take care.
No, with ext4 you'll have to boot from an external drive and restore from there.
How about a system with multiple partitions / disks and not only btrfs?
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.
You mean the current set up is not encrypted and previous one was?
@@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)
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?
Do you have autosnap installed?
@@eflinux yes
Could you please also create video if recovery using ArchISO?
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.
Doesn't btrfs ruin SSDs?
Suggestion: Tutorial for Snapper + btrfs restore
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
one problem with timeshift-autosnap is very big size of these snapshots :D
That's why it's important to set the schedule properly.
I agree.
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.
No, I don't have children.
no such command exists
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.
Thanks for the feedback.
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.
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