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

Exclude list seems to be taken from other than timeshift.json #126

Open jbrepogmailcom opened 1 year ago

jbrepogmailcom commented 1 year ago

Describe the bug There are many more exclude folders in "exclude.list" than in "timeshift.json"

In timeshift.json, I have following exclude definition: "exclude" : [ "/home/ubuntu/**", "/backup.disk", "/media", "/mnt" ],

yet in folder with rsync backup, I have "exclude.list" file with following contents and actual backup conforms to this: /dev/ /proc/ /sys/ /media/ /mnt/ /tmp/ /run/ /var/run/ /var/lock/ /var/lib/dhcpcd/ /var/lib/docker/ /var/lib/schroot/ /lost+found /timeshift/ /timeshift-btrfs/ /data/ /DATA/ /cdrom/ /sdcard/ /system/ /etc/timeshift.json /var/log/timeshift/ /var/log/timeshift-btrfs/ /swapfile /snap/ /root/.thumbnails /root/.cache /root/.dbus /root/.gvfs /root/.local/share/[Tt]rash /home//.thumbnails /home//.cache /home//.dbus /home//.gvfs /home//.local/share/[Tt]rash /root/.mozilla/firefox/.default/Cache /root/.mozilla/firefox/.default/OfflineCache /root/.opera/cache /root/.kde/share/apps/kio_http/cache /root/.kde/share/cache/http /home//.mozilla/firefox/.default/Cache /home//.mozilla/firefox/.default/OfflineCache /home//.opera/cache /home//.kde/share/apps/kio_http/cache /home//.kde/share/cache/http /var/cache/apt/archives/ /var/cache/pacman/pkg/ /var/cache/yum/ /var/cache/dnf/ /var/cache/eopkg/ /var/cache/xbps/ /var/cache/zypp/ /var/cache/edb/ /home/ubuntu/ /backup.disk /media /mnt /root/ /home/*/**

how did it get there? Somewhere must be definition of these folders, I need to edit it.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Error message

Expected behavior A clear and concise description of what you expected to happen. I expect that exclude.list will contain directories defined in timeshift.json

Screenshots If applicable, add screenshots to help explain your problem.

System:

mushunrek commented 1 year ago

I have the same issue with timeshift.

System: