Search for snapshots / filter not working
Bug #156856 reported by
appaquet
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
TimeVault |
Fix Committed
|
High
|
Unassigned |
Bug Description
It looks like there is no way to search for snapshots except if you specify the root of the file system (/) or you specify the exact path of a file.
Ex: If you are backing up file in your "/etc/", it's impossible to search for these files unless if you specify "/" in the snapshot filter.
I had a look at the code and it looks for exact path when the path is valid and not equal to "/" (server.py, GenerateStats method). So there is no way to search for a "prefix" in snapshots. To fix it, I've changed "path=?" to "path LIKE ?" and concatenated % to the end of the path and it works now.
To post a comment you must log in.
Very informative bug report - thanks.