linuxmint / timeshift

System restore tool for Linux. Creates filesystem snapshots using rsync+hardlinks, or BTRFS snapshots. Supports scheduled snapshots, multiple backup levels, and exclude filters. Snapshots can be restored while system is running or from Live CD/USB.
1.55k stars 75 forks source link

Timeshift forcefully mounts to other systems while installed on other distros #257

Open DreamHollow opened 7 months ago

DreamHollow commented 7 months ago

Bug Description Timeshift will seek out timeshift related files on other systems and forcefully mount to the related drive, then attempt to create a snapshot on the other drive.

i.e. Timeshift will NOT create it's own directory on the distro that is using it, it will immediately seek out any existing familiar directory and mount to that point.

To Reproduce Steps to reproduce the behavior:

  1. Have Linux Mint or another distro with Timeshift compatibility set up and configured as a start distro.
  2. If possible, install a different Linux distro to a separate hard drive linked to the same computer.
  3. Install Timeshift to the new system.
  4. Without setting default configurations, run timeshift --create.

Expected behavior Timeshift will create a directory inside of mounted Linux distro and use that directory to create a snapshot.

Actual behavior Timeshift will forcefully mount another system that has Timeshift installed and attempt to use the /run/media Timeshift folder for that distro.

Screenshots Screenshots not possible, system is currently only terminal.

System:

DreamHollow commented 7 months ago

Please note that original system with Timeshift installed was NOT mounted at time of bug. I have no idea what made the program cross directories like that.

hehec123 commented 7 months ago

yes,I also have similar problems My OS is deepin 20.9 Timeshift work dir is changed automatically after I install a uengine app now the work dir is :/data/uengine/data/rootfs/data/timeshift/snapshots