-
-
Notifications
You must be signed in to change notification settings - Fork 752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wildcard extraction does not work #8589
Comments
|
You should use |
Maybe the docs need to be improved there. I had a look at the 1.4.0 source and this is what it does: The PATHS list from the command line is processed as "include paths" and the default pattern style used is If one wants another style, e.g. This works:
See also the comment in the commit that implemented this: |
Indeed that works. I'd personally advocate for that to be made the default pattern interpretation because that is the least surprising IMHO. I'd also be okay with the fact that you need to prepend |
Have you checked borgbackup docs, FAQ, and open GitHub issues?
Yes
Is this a BUG / ISSUE report or a QUESTION?
BUG
System information. For client/server mode post info for both machines.
Your borg version (borg -V).
borg 1.4.0
Operating system (distribution) and version.
NixOS/nixpkgs@5d67ea6
Hardware / network configuration, and filesystems used.
tmpfs
How much data is handled by borg?
kilobytes
Full borg commandline that lead to the problem (leave away excludes and passwords)
Describe the problem you're observing.
I tried to extract multiple files that have the same prefix. The simplest method to achieve this in my mind would be to use a wildcard. According to #361, wildcards should be supported by borg but there is no documentation on it (:/) and they evidently do not work.
Am I doing something wrong? Are users expected to understand and create borg-specific patterns instead to achieve this sort of thing?
Can you reproduce the problem? If so, describe how. If not, describe troubleshooting steps you took before opening the issue.
touch a aa aaa
borg create /var/tmp/borg/::foo .
borg extract --dry-run --list /var/tmp/borg/::foo 'a*'
Include any warning/errors/backtraces from the system logs
The text was updated successfully, but these errors were encountered: