Timeshift not unmounting destination after snapshot complete (original) (raw)

This repository was archived by the owner on Oct 16, 2022. It is now read-only.

This repository was archived by the owner on Oct 16, 2022. It is now read-only.

@Andy2051

Description

Even if the destination partition is already mounted, timeshift insists on mounting it again at /run/timeshift/backup. The problem is that when the snapshot has completed timeshift does not unmount /run/timeshift/backup. This can cause problems elsewhere in the system.

More details here:
https://forums.linuxmint.com/viewtopic.php?p=2076784#p2076784
https://forums.linuxmint.com/viewtopic.php?f=47&t=346310&p=1995402&hilit=timeshift#p1995402
EDIT - clicking on the links doesn't work, but copy/paste into your browser does?

I have my snapshot partition mounted via fstab at /media/ultrabay. It shows up in the output from df. If I check the mountpoint with lsblk -nio mountpoint /dev/sdc2 it shows up as /run/timeshift/backup. If I then unmount /media/ultrabay via nemo (running LM20.2 cinnamon) it doesn't show up in df and rerunning lsblk shows that /run/timeshift/backup has also been unmounted.

At the time I did the above it was at least five hours since the snapshot was taken and completed, sdc2 was still mounted at /run/timeshift/backup.