Is there a risk of breakage using Timeshift restore? What about grub-btrfs?
There are some proper horror stories from as recent as 2024…
Is there a risk of breakage using Timeshift restore? What about grub-btrfs?
There are some proper horror stories from as recent as 2024…
Almost a year ago I made this post: https://forum.manjaro.org/t/timeshifts-btrfs-restore-finally-works-with-grub-btrfs/171312
And I have not heard anything saying otherwise.
The most important thing is:
It’s crucial that you follow the instructions provided by Timeshift precisely when a rollback becomes necessary. Most of the horror stories stem from the user not adhering to Timeshift’s instructions exactly.
Then there’s a huge outcry, and usually only the data can be recovered, but the system has to be reinstalled.
![]()
Please note that this description only applies to booting directly into a snapshot. Rolling back via the Timeshift GUI works differently (and without problems).
And how do one complete the rollback, so that the snapshot becomes the root?
Follow the timeshift manual !
Take a snapshot !
Hallo @andreas85
I remember you wrote quite a bit about btfs and timeshift. Understanding the details is certainly important, but my knowledge isn’t advanced enough yet to understand it all. Nevertheless, I use timeshift and snapshots—without them, I would often encounter quite a few problems with Manjaro.
Of course, I take a new snapshot every now and then, and Timeshift does the same.
I will read more and more to understand it better, but I would still like to ask you:
Are there any problems with deleting snapshots? Do you always have to delete the old ones first? I would like to keep the very old ones. Is that a problem? Or can you delete any of them, no matter how new or old they are?
And is it really the case that you must not delete any snapshots immediately after restoring, but must reboot immediately? And why do you have to create a new snapshot immediately after booting a restore?
And where can I find easy-to-understand instructions on this topic, preferably in German?
@Michi I have found that many of these problems can be avoided from the outset by using Snapper and Btrfs-assistant instead of Timeshift.
I have often heard that Snapper is the better but also more complex method. For my purposes, however, I believe that Timeshift is the best solution for me. I only back up / (root) and nothing else. Occasionally, I perform a restore if I think I may have damaged something in the system. But I am gradually getting out of the habit of doing this, because it is usually quite possible to repair the system properly.
My wish now is to always use the two functions of Timeshift correctly: when and how to delete a snapshot and what to do after I have performed a restore.
You can delete snapshots in any order!
The result is the same whether you:
any of the remaining snapshots. If you delete a “middle” snapshot, most (if not all) of the files will still be needed for the snapshot before or after it. You won’t have freed up much space. old snapshot once took up over 30% of my hard drive space.With Timeshift, snapshots are never read-only, but always writable. So, when such a snapshot is booted, it inevitably changes. You’re working with this very valuable snapshot. If you break it, it’s gone. Therefore, the very first thing you must do is create a new snapshot. After that, you can do whatever you want.
There is a window of time in which your “irreplaceable” snapshot is vulnerable. That’s how it is with Timeshift. Snapper does it differently.
With Snapper, I do it “very simply”:
There is never any risk to the “good” snapshot because it always remains read-only. I can roll back to it 100 times if necessary.
Please note that this description only applies to booting directly into a snapshot. Rolling back via the Timeshift GUI works differently (and without problems).
Hallo Andreas,
Thank you very much for the detailed explanations. It’s completely new to me that my system works in this snapshot after a restore.
Once I’ve done a restore and booted into it, my system works in this snapshot? And when I take a new snapshot, where does my system work? Obviously not in the snapshot I just created? I thought all snapshots were read-only? Is it only the one I just booted into that is not read-only?
Very interesting stuff, I still have a lot to learn.
Yes
No, you work in (A)
But this new snapshot(B) is a possible anchor point for the next, potentially necessary, rollback. Anything you changed up to that point in (A) is irreversible.
Oh, that makes a huge difference.
How long will my system remain in this snapshot (A) that I have restored?
I have often restored a snapshot because I had installed some software that I wanted to get rid of. And then again and again. I had the impression that every time after the restoration, I returned to the same, untouched state of the desired image. How can that be? Will the system eventually leave the state of the image and then no longer write the changes to the image?
Is my system still active in the image of the last restore?
What a mysterious world Btrfs is.
If you manage Snapper together with Btrfs Assistant, it’s just as easy as Timeshift and recovery is less prone to errors.
I find this very true, switched from Timeshift to Snapper with BTRFS-assistant a long time ago and it’s both easier and more reliable.
You are making Snapper together with Btrfs Assistant more and more appealing to me.
What do I need to install to experiment with it?
Is it compatible with Timeshift and my existing snapshots?
Snapper & Btrfs Assistant:
snapper
snap-pac
btrfs-assistant
and optional
btrfsmaintenance (for automatic Scrub and Balance)
I’ve experimented with Timeshift on and off over the past few years and don’t understand why it comes pre-installed in Manjaro. It’s disappointed me several times. I only use it on my wife’s computer because she prefers ext4.
Already installed—just before I start, are the snapper and timeshift snapshots sure not to interfere with each other?
I can’t say anything about that, sorry… maybe @andreas85 ?
Even if they don’t influence each other, it will certainly become extremely confusing. This cannot be recommended to a beginner, and a professional would never even consider it. ![]()
I’ve run both. But there is almost no gain to be running both. (I was just playing.)
They didn’t even interfere, you just have to know what you’re actually doing by taking snapshots managed by different sources. There is only performance and space to be lost by doing this.
I love Snapper, it’s full of features. But it is much harder to use and setup. None of these features are in the completely separate btrfs-assissant GUI either, you need to get at them from the snapper and/or btrfs-tools CLI.
Timeshift is literally a one button click restore.
For first time with btrfs and/or CoW file systems, Timeshift (w/ btrfs) I would highly recommend.