You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 16, 2022. It is now read-only.
Within Settings > Filters tab, drag and drop of include/exclude patterns are not saved to the settings file.
To Reproduce
In the Settings > Users tab, select "Include All" for all users.
User
Home
Exclude All
Include Hidden
Include All
user1
/home/user1
( )
( )
(x)
root
/root
( )
( )
(x)
Because of the change made in step 1 above, the Settings > Filters tab contains two rules that are automatically added.
plus
minus
Pattern
(x)
( )
+ /root/**
(x)
( )
+ /home/user1/**
Click OK to save changes.
Next, add an exclude pattern to Settings > Filters.
I want to exclude a particularly large virtual machine directory. Click the Add Folders button, and enter /home/user1/VirtualBox VMs/build1/***. The rule is added to the end of the list of patterns.
plus
minus
Pattern
(x)
( )
+ /root/**
(x)
( )
+ /home/user1/**
( )
(x)
- /home/user1/VirtualBox VMs/build1/***
Because of rsync rules precedence, the "exclude" pattern for a folder within the user's home directory must be listed before the the user's home directory "include" pattern.
Drag and drop the exclude pattern so that it is the 2nd pattern in the list.
plus
minus
Pattern
(x)
( )
+ /root/**
( )
(x)
- /home/user1/VirtualBox VMs/build1/***
(x)
( )
+ /home/user1/**
Click OK to save changes.
Go back into Settings > Filters, and notice that the re-ordering of the patterns was not preserved. Despite the changes made in step 5, the pattern still appears as in step 4.
Although the GUI allows the reordering of patterns, the reordering is not preserved. This is confirmed within the /etc/timeshift.json file under the exclude key.
Expected behavior is to save the ordering of the patterns shown in the GUI.
Work-Around
I have found a work-around to the issue. After performing the steps above, with the pattern list appearing as in step 4 above (the exclude pattern is the final item in the list), go back into the Settings > Users tab, and select "Exclude All" for user1, then select "Include All" for user1. Now go to the Settings > Filters tab, and notice that the + /home/user1/** pattern is automatically moved to the end of the list. Click OK. The changes will now be saved.
However, it should be noted that performing any kind of re-ordering of patterns will not be saved. This work-around only works because the actions taken in the previous paragraph caused Timeshift to first remove and then append the user's home directory include pattern at the end of the list.
System:
Linux Distribution: Linux Mint 19.3 Tricia
Desktop: Cinnamon
Application Version: 19.08
The text was updated successfully, but these errors were encountered:
I'm having this same issue as well, I found using the X to close it instead of pressing ok, sometimes randomizes order, so I continued to do so until it got the right order, thankfully I only had 3 filters so it didn't take too long
(
Note to any hypothetical future equivalents of me who are still having this issue:
make sure you're using the newer version from the ppa like it says in the readme (sudo add-apt-repository -y ppa:teejee2008/timeshift)
not an old version from the default repos of your distro.
)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
To Reproduce
In the Settings > Users tab, select "Include All" for all users.
Because of the change made in step 1 above, the Settings > Filters tab contains two rules that are automatically added.
Click OK to save changes.
Next, add an exclude pattern to Settings > Filters.
I want to exclude a particularly large virtual machine directory. Click the
Add Folders
button, and enter/home/user1/VirtualBox VMs/build1/***
. The rule is added to the end of the list of patterns.Because of rsync rules precedence, the "exclude" pattern for a folder within the user's home directory must be listed before the the user's home directory "include" pattern.
Drag and drop the exclude pattern so that it is the 2nd pattern in the list.
Click OK to save changes.
Go back into Settings > Filters, and notice that the re-ordering of the patterns was not preserved. Despite the changes made in step 5, the pattern still appears as in step 4.
Although the GUI allows the reordering of patterns, the reordering is not preserved. This is confirmed within the
/etc/timeshift.json
file under theexclude
key.Expected behavior
Work-Around
I have found a work-around to the issue. After performing the steps above, with the pattern list appearing as in step 4 above (the exclude pattern is the final item in the list), go back into the Settings > Users tab, and select "Exclude All" for
user1
, then select "Include All" foruser1
. Now go to the Settings > Filters tab, and notice that the+ /home/user1/**
pattern is automatically moved to the end of the list. Click OK. The changes will now be saved.However, it should be noted that performing any kind of re-ordering of patterns will not be saved. This work-around only works because the actions taken in the previous paragraph caused Timeshift to first remove and then append the user's home directory include pattern at the end of the list.
System:
The text was updated successfully, but these errors were encountered: