Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160363 - app-backup/rdiff-backup-1.04 - minor problem with globbing
Summary: app-backup/rdiff-backup-1.04 - minor problem with globbing
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: App-Backup Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-06 07:02 UTC by naturalmage
Modified: 2007-11-13 07:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description naturalmage 2007-01-06 07:02:20 UTC
(This is my first bug report, so if I'm doing anything wrong, please tell me.)

I encountered a minor problem when using rdiff-backup-1.04 with the --exclude-globbing-filelist option.

I had one of the lines in my excludes file as "/home/*/.beagle" but it was backed up anyway. Then I tried "/home/*/.beagle/*" and it was still backed up anyway. Then, I changed it to "/home/MYUSERNAME/.beagle" without any globbing characters and it worked. Everything else in the file, including similar entries like "/home/*/.something," worked as expected.

Reproducible: Always

Steps to Reproduce:
1. # echo "/home/*/.beagle" >> backup-excludes
2. # rdiff-backup --exclude-globbing-filelist backup-excludes / /media/ext_hd/backup

Actual Results:  
~/.beagle directory is backed up.

Expected Results:  
~/.beagle directory is not backed up

Workaround: Use "/home/USERNAME/.beagle" for each user instead of "/home/*/.beagle" in excludes file
Comment 1 Lisa Seelye (RETIRED) gentoo-dev 2007-01-16 01:52:29 UTC
This seems like an upstream issue. Can you verify that it is unique to Gentoo?
Comment 2 naturalmage 2007-01-16 05:47:36 UTC
(In reply to comment #1)
> This seems like an upstream issue. Can you verify that it is unique to Gentoo?
> 

I'm not sure how I would do that. I only have this one computer, and all that's on it is Gentoo.
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2007-11-13 07:02:43 UTC
Thank you for report. But I have to close this bug as INVALID.

Please, read man page:

The   --include-filelist,   --exclude-filelist [snip] Each line in a filelist is interpreted similarly to the way extended shell patterns are, with a few exceptions:

  1.     Globbing patterns like *, **, ?, and [...]  are not expanded.

So this is documented feature.