Timeshift: Folder exclusion doesn't work

Created on 23 Sep 2018  路  7Comments  路  Source: teejee2008/timeshift

I create some exclusions, because I don't need to backup this folder. But they are still exists in snapshots. See my screenshots. Am I doing something wrong?

2018-09-23 13 26 46
2018-09-23 13 27 06

System:

  • elementary OS Juno (base on Ubuntu 18.04)
  • v18.9.1
question

All 7 comments

you should try to move home folders at the end
thats how it worked for me.
i added .steam folder and Games (from lutris) first for exclusion
and moved home folder on last position.
if home folders were before exclusion then i would get every file in home folder stored in backup

@logan001 this parially works for me. But not completely. For example, I have .gradle folder in my home. I need to exclude it content, but keep .gradle/gradle.properties
So I have this config:
image
But there are no .gradle folder completely in created backup

Hmm, looks like I found the way:
image
But I do not quite understand the logic

its a mystery :)
i don't understand it either, sorry.
its just trial and error for me
the problem with trial and error is that it takes time and space

The file inclusion/exclusion is really upsetting. For one thing, there is a set of included/excluded paths that cannot be modified. And I agree with @logan001: it's a draining trial and error. I quit.

For every file rsync will match the first pattern that it finds and ignore all other patterns. Since the first pattern in the list is to include /home/djaler/.** every hidden file in home will get included. Any pattern you add after this does not matter as rsync has already matched the first one and will ignore remaining patterns.

Move that pattern to the bottom of the list.

Just curious why there are implicit patters already set. Makes everything so confusing... Explicit is better than implicit.

Was this page helpful?
0 / 5 - 0 ratings