I add the ppa for timeshift to the Neon install, but 24.06.3 still have the 60 sec delay.
Announcement
Collapse
No announcement yet.
btrfs timeshift questions on latest KDE neon
Collapse
X
-
So I did a fresh install of Neon 6.2 with 2 partitions, efi, and root (btrfs). No changes to the fstab so no compression or noatime. I install timeshift from the ppa and the initial snapshot was 1 second.
I then install libreoffice from flatpak. Took snapshot and it only took 1 second. So good so far.
- Top
- Bottom
Comment
-
Did you try running the notify-send? If I run it as root it stalls as your report:
Code:sudo notify-send -t 10000 -u low -i gtk-dialog-info 'TimeShift BTRFS Snapshot saved successfully (0s)' -h string:desktop-entry:timeshift-gtk [sudo] password for john: Error calling StartServiceByName for org.freedesktop.Notifications: Timeout was reached
Regards, John Little
- Top
- Bottom
Comment
-
I'm not sure it's worth it, but you could try the solution given by https://stackoverflow.com/questions/...y-send-as-root.
If I runCode:sudo -u john DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS notify-send -t 10000 -u low -i gtk-dialog-info 'TimeShift BTRFS Snapshot saved successfully (0s)' -h string:desktop-entry:timeshift-gtk
That this works, and the gtk references, suggests that timeshift sometimes trips up with plasma; perhaps some Gnome/plasma difference in interpretation of the desktop standard.Regards, John Little
- Top
- Bottom
Comment
-
Thanks, John. What happens when you use the Timeshift GUI to create a backup is you first click on the create button in Timeshift's toolbar. It pops up a status window with a progress line and with a close button at the bottom. However, with BTRFS on all other distros, that window closes on its own in under a second. Comparing that to timshift run from the command line you see the snapshot is actually created in 1 second and you wait the minute for the close of the window or the finish of the cli command.
It makes since that it's an interaction between timeshift and the KDE DE.
- Top
- Bottom
Comment
-
I took the coward's way out and just complete uninstalled timeshift and deleted all it's snapshots.
Then I did what I usually do when playing with an archlinux distro like Endeavour OS, I installed snapper and btrfs-assistant. I also installed grub-btrfs. Snapper on *buntu distros does automatic pre/post apt snapshots so if an apt install screws up something you can just restore using btrfs-assistant. I also like the easy way btrfs-assistant configures snapper. There is a script you can use to make the pre/post APT descriptions more complete and I always do that.
https://gist.github.com/imthenachoma...2a3b2d83263118
The only down side is on an *buntu Linux I can't boot the read-only snapshot like I can on EOS. They use dracut instead of mkinitcpio and enable an overlayfs so you can test out the bootable snapshot without modifying anything.
The workaround is to have a bootable USB with btrfs-assistant and snapper installed so you can recover from a bad crash.Last edited by jfabernathy; Dec 04, 2024, 06:19 AM.
- Top
- Bottom
Comment
Comment