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.53k stars 75 forks source link

"*" does nothing on Ubuntu 24.04 #313

Open El-Barto89 opened 2 weeks ago

El-Barto89 commented 2 weeks ago

Describe the bug If I have: +/home/user/.conf/ +/home/user/1_utility/ /home/user/ /root/ in this exact order, I dont get only the .config and 1_utility folder created and synced (They should be empty, of course)

To Reproduce Steps to reproduce the behavior:

  1. setting up filter
  2. click ok
  3. run timeshift

Expected behavior Creation of the folder only

System:

teejee2008 commented 6 days ago

Read the Rsync docs to understand how the filters work. Only the first 2 filters in your list are getting used since they match everything. After Rsync finds a match it will ignore the remaining filters in the list.

El-Barto89 commented 3 days ago

Yes, I want only the first 2 filter to be used, but with /** I dont get only empy ".config" and "1_utility" folders, they are ignored. I do want only .config and 1_Utility folder, but both empty.