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.52k stars 91 forks source link

Rsync: no hardlinks when moving to new drive #63

Open nandlab opened 2 years ago

nandlab commented 2 years ago

Describe the bug I use rsync for the snapshots. When I move my Linux system to another harddrive (the partition gets another UUID) and later back it up, Timeshift does not hardlink unchanged files to the previous snapshots. Instead it copies all the files as if they are new. This results in excessive disk usage on the backup medium. I suspect that Timeshift notices the different partition UUID and thinks it is a new system.

System:

nandlab commented 1 year ago

Is there a way to fix this or a workaround?