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.
2.39k stars 86 forks source link

Timeshift wipes SSD, leaving only empty /home and /boot folders #214

Open BraveSentry opened 1 year ago

BraveSentry commented 1 year ago

Describe the bug Timeshift deletes all the files on the ssd it should restore on, only leaving an empty /boot folder and an equally empty /home folder. Before that, it does restore all the files it said it would restore. To be fair: Everything timeshift does is layed out in the summary, but still I'm left with the choice to restore (and delete) or not restore and be left with a broken system.

To Reproduce Make a backup with on an external HDD, exclude /home. Restore said backup in Linux Live system or freshly installed system on different SSD in the same machine.

Expected behavior Files to be restored should be there, the system should boot normally.

System: Linux Mint 21.1, Cinnamon. Timeshift Version 22.11.1

reatter commented 8 months ago

This just happened to me after resetting to a snapshot of 1 month ago, because I had a login error.

Luckily I just made a backup of my home that day, or else I would have a 100% data loss.