Exclude rules not working on some dirs

Bug #638072 reported by Carlo Rossi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
sbackup
Status tracked in Trunk
0.11
Fix Released
Low
Jean-Peer Lorenz
Trunk
Fix Released
Low
Jean-Peer Lorenz

Bug Description

The exclude rules for regular expression or file size does not works when the file path include "spurious" characters.
The probable cause is the fact that the tar command is launched with the parameter --exclude-from=/tmp/sbackup/excludes.list and I read from tar manual that -X, --exclude-from FILE stand for "exclude patterns listed in FILE" so characters like [] and () and |$* break the exclusion process.

Revision history for this message
Jean-Peer Lorenz (peer.loz) wrote :

Thanks for using Simple Backup and reporting this issue.

In order to solve the problem some more information are required. Please provide:
* which version are you referring to?
* installed from?
* How was the bug exposed to you? Can you post log files (debug output level)?
* Exclusion expression and path names that are affected?

Thanks in advance.

Changed in sbackup:
status: New → Incomplete
Revision history for this message
Carlo Rossi (carlo-rossi) wrote :

Ok i've collected some more information.

The version is 0.11.1ppa2~lucid1 installed from ppa repository.

I created some dirs and file to recreate the error condition.

There are one dir named test-dir that contains two more dirs 'normal name dir' and 'not so good name [ops]'. In each of these dirs there are two file , one copy for each dir, one is too big for the config specifications and one has the wrong name '.iso' so both of them should be excluded.

The exclusion work for the 'normal name dir' but didn't work for 'not so good name [ops]'.

I attach the listing of the file in the dirs "dir.list" , the content of the tar archive "files.tar.listing", the config file from /etc, exclude and include files found in the backup dir and obviously the log file with debug level.

I hope this will help.

Thank you.

Changed in sbackup:
status: Incomplete → Confirmed
importance: Undecided → Low
assignee: nobody → Jean-Peer Lorenz (peer.loz)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.