Quick question before trying to install on my new PC. On Tumbleweed, I have BTRFS and Snapper. On Arch, I had BTRFS and Timeshift. I see BTRFS as a file system choice in the install. What do we use here?
Timeshift is in the repos.
sudo dnf install timeshift
Thank you sir. I called myself searching for it with DNFDrake, but I did not find it. Knowing it is there, I can proceed.
@jamez1510 absolutely, timeshift is awesome. As far as I know, it doesn’t automatically create entries in grub to boot from an earlier snapshot. Or is there a plugin in the repo?
It’s been a while, but I think the package is grub-btrfs
I also use Timeshift but I use restic as well. It is not in the repo that I know of but it is a single binary download. Really nice for recovering individual files as it mounts like a filesystem and you can just copy files off.
I will admit I prefer Snapper, but I think it requires a different subvolume setup during the installation, which is why I asked pre-install. I have used Timeshift before, so I don’t mind using it. It’s all good.
Maybe you didn’t select “Not installed” in the drop-down (or clicked the button at the bottom), happens to me as well sometimes
I think I’ve searched in the past for a dnfdrake config file to make “Not installed” the default, but not thoroughly enough (just in .config
) , maybe I should do it again or file a request
I have never used DNFDrake, so I have some learning to do. Once I have my new PC setup and on my desk, I will be able to put some devotion into it. Right now, I only have it on the PC in the kitchen and it is not easy to reach for a crippled guy.
https://forum.openmandriva.org/tag/dnfdrake
DnfDrake overview
Consider that the screenshots are old, the GUI may have changed a bit since then.
This tool has been created expressly for OpenMandriva. It may not be perfect, but imo it does its dirty job
I’ve used timeshift before
I have, too! Apparently, though, you’ll need to enable crond.service to have timeshift run its scheduled backup tasks (having gone through the wizard)
sudo systemctl enable --now crond.service
At least, on my newly installed system, it wasn’t enabled.
I see that you guys are coming from quite a lot of different distributions. That’s great for knowledge sharing!
On the subject of available snapshots tools it would be a value if people who are using or used them can write a tutorial about it.
Anyone willing? I can make a topic in the wiki style.
For what it matters my only experience with TimeShift was in Linux Mint long long time ago so I pretty much forgot everything…
The problem is that Timeshift is so different from Snapper. Teaching someone how to use Snapper won’t help them at all here. You also can’t switch between the two without a complete reinstall using different subvolume structures.
A tutorial on Timeshift would really be good.
I agree that snapper and timeshift are very different from each other. I really like how Snapper works. Nevertheless, I think a tutorial at least on how to set Timeshift up would be helpful. I’ve started to look into how to go about doing recovery with Timeshift in the case of an issue. No reason to wait until there is a problem to find out how to fix it, lol.
That being said, I have a couple of questions.
First, I have the impression that doing a dnf undo would be just as effective and easier as doing a timeshift rollback in the case of a problem IF you knew exactly what package was the culprit. Is that wrong?
Second, in GRUB, we don’t have timeshift snapshots because the package for grub-btrfs or whatever we need to surface timeshift snapshots is–as far as I can tell–not in our repos. While I would make a plea that those packages be found and included for the sake of usability, help me understand the options we do have. I’ve seen recover and CLI in the advanced GRUB options. Would those allow an average user to boot into an environment where Timeshift rollback (or any other necessary maintenance) could occur in order that the system could be brought back to a working condition? I’m guessing the answer is, “well, duh” but I’m just looking for the yes/no answer.
I am just about to do a search for grub-btrfs and see if I can put in a package request for it. Maybe then, I can talk @zeroability into helping be put it into the template and build it. However, I am not sure we even need that?
I have gotten started doing these things, but had to stop to get my new PC built. I almost have that done. I have one drive with Wayland znver1 and one with X11 znver1. Hopefully, I get all of that completed today.
Also, I don’t see timeshift-autosnap in the repos.
You can, and it’s here:
From what I can tell, it is exclusively a pacman
helper script:
Let me create a blank topic and wikify it so everyone can edit and add content.
Postedit:
Timeshift tutorial wiki
I found a great github page, that helps you setup autosnap with dnf and grub-btrfs
I’m going to set it up and see how it goes. (edit: it looks like it is DNF5, and we’re currently on 4.2, so I guess I’ll wait, lol)
Cooker and ROME dnf5 too.
Interesting, I’m running ROME, but when I run dnf --version, I get 4.2.