Timeshift: no snapshot shown [SOLVED]

Believe it or not, I have 2 pacman.conf files:

image

I believe I can delete the non-highlighted one (please confirm) as glib2 is not in there.

In the highlighted file there is this:

image
probably due to the downgrade as per the last line in @eso’s step 1 above.

So, what should I do next?

The glib2 devs will resolve the issue eventually. They are aware of it after all. Now that said if it’s just Timeshift for some then maybe switching to Snapper might be a solution for the time being. Myself I know my snapshots are getting created and I can do manual snapshots via Konsole so I’m good to wait.

yay -S autoupgrade
having installed autoupgrade it makes a(n automatic) snapshot before upgrades

You only have one. The other one is pamac.

You can comment out that line or remove glib2

1 Like

I am not an expert like you guys, but IMO the keyword there is eventually. Since we don’t know when that will be, it means there is a risk of breaking critical things, as Dalto pointed out.

What about that 2nd pacman.conf file: delete manually?

I don’t see a second pacman.conf. The other one is pamac.conf

1 Like

Oops, sorry, my mistake.

1 Like

OK, I am a bit confused now.

After my upgrade, I created a snapshot via the terminal, and here is the out put:

image
That last sentence suggests to me it did not manage to make the snapshot.

I opened the Ts interface, and lo and behold, I have 3

  • the original one
  • one made after my reboot this afternoon
  • one made with the terminal !!!

They all look OK in the GUI. Is the last one OK or not?

image

1 Like

re stale mount

teejee2008 commented on 30 Jun
Timeshift now mounts devices to a temporary folder and unmounts the folder after use. Sometimes the temporary folder cannot be unmounted since the device is still busy. It will be unmounted in the next run. This message can be ignored.

All in all use konsole for timeshift actions
sudo timeshift --create
sudo timeshift --restore
sudo timeshift --list
(sudo timeshift --delete)

if you you use GUI and fails the next console command deletes the incomplete operation

2 Likes

Good to know, thanks!

I was amazed by the speed of the snapshot creation via the terminal compared to via the interface.

For me it will be via the terminal from now on! Is there a way to automate that?

It specifically states it was successful. As for the speed rather Terminal or GUI it’s typically less than 5 seconds.

2 Likes
#!/bin/bash
cmd=(dialog --separate-output --checklist "Select Timeshift options:" 22 76 16)
options=(1 "Create" off    # any option can be set to default to "on"
         2 "Restore" off
         3 "List" off
         4 "Delete" off)
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
clear
for choice in $choices
do
    case $choice in
        1)
            echo "First Option"
            sudo timeshift --create
            ;;
        2)
            echo "Second Option"
            sudo timeshift --restore
            ;;
        3)
            echo "Third Option"
            sudo timeshift --list
            ;;
        4)
            echo "Fourth Option"
            sudo timeshift --delete
            ;;
    esac
done

It is a very primitive bash script to minimize typing. Save it beetween the 2 ``` as ts.sh in home of user for example.
chmod 755 ts.sh
You may Add a Command in Keyboard / Application Shortcuts
xfce4-terminal -e “bash -c /home/user/ts.sh;bash”
and press a keyboard combination CTRL/ALT/I (eg.)
It is for XFCE. You will know what terminal you use. Terminology I also like because it is X-compatible and can be customised as well. Note the script is only a prototype. Selection is done by space after number. Multiple selections have no sense IMHO
Another step ahead would be by crontab which is a scheduled task control.

1 Like

in order to timeshift restore from gui you need to downgrade glib2 version. Once this is done timeshift will regain functionality
image

1 Like

Yes, but downgrading is not recommended because it carries a risk, as dalto explained. And since we don’t know when there will be a fix, I’d rather not run that risk.

I’ll run Ts from the terminal, which is much faster anyway.

2 Likes

If I understand you well, this is a script that you need to activate each time you want to run Ts; it does not run automatically. Correct?

Just wanted to say that Timeshift doesn’t work well at all lately.
I also had the problem with snapshots not showing a few weeks ago but it was working again after updating the system.
Yesterday I could neither delete old snaps nor create a new one, TS was constantly crashing after running for about 20 seconds.

2 Likes

Yes. This script is a menu for manual actions.


I initiate it with a keyboard shortcut Ctrl/Alt/I
If you rely on Scheduled snapshots use something like that

this schedule can be seen in
/etc/cron.d/timeshift-hourly

SHELL=/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=“”

0 * * * * root timeshift --check --scripted

2 Likes

That’s good to know, thanks for letting me know. I’ll see how it goes with creating snapshots via the terminal.

1 Like

I have the same problem