View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000723 | bareos-core | director | public | 2016-11-10 09:30 | 2023-09-13 18:46 |
Reporter | c.monty | Assigned To | bruno-at-bareos | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | unable to reproduce | ||
Platform | Linux | OS | SLES | OS Version | 11 |
Product Version | 16.2.4 | ||||
Summary | 0000723: Defining FileSet Resource Option RegexDir on first level subdirectory fails | ||||
Description | Hello! I try to define a FileSet Resource using option RegexDir because the target directory for backup is: /backup_<SID> <SID> could be e.g. ABC AB1 A12 etc. This means the RegexDir I have tried is: RegexDir = "/backup_[A-Z][A-Z0-9][A-Z0-9]" | ||||
Tags | No tags attached. | ||||
At least with recent version of Bareos here what you can achieve With the following content cat /tmp/bregex_test /backup_ABC /backup_A12 /testme_exclude /backup_B45 /notme_please /backup_S16 /notme/backup_G45 backup_no.thanks /not_that_last bregex -f /tmp/bregex_test Enter regex pattern: backup_[A-Z][A-Z0-9][A-Z0-9] 1: /backup_ABC 2: /backup_A12 4: /backup_B45 6: /backup_S16 7: /notme/backup_G45 Enter regex pattern: \/backup_[A-Z][A-Z0-9][A-Z0-9] 1: /backup_ABC 2: /backup_A12 4: /backup_B45 6: /backup_S16 7: /notme/backup_G45 Enter regex pattern: ^\/backup_[A-Z][A-Z0-9][A-Z0-9] 1: /backup_ABC 2: /backup_A12 4: /backup_B45 6: /backup_S16 Enter regex pattern: So your solution is "^\/backup_[A-Z][A-Z0-9][A-Z0-9]" |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-11-10 09:30 | c.monty | New Issue | |
2023-09-13 18:46 | bruno-at-bareos | Assigned To | => bruno-at-bareos |
2023-09-13 18:46 | bruno-at-bareos | Status | new => closed |
2023-09-13 18:46 | bruno-at-bareos | Resolution | open => unable to reproduce |
2023-09-13 18:46 | bruno-at-bareos | Note Added: 0005439 |