View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000673 | bareos-core | director | public | 2016-07-11 11:23 | 2024-03-20 13:44 |
Reporter | Shodan | Assigned To | pstorz | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Product Version | 15.2.2 | ||||
Summary | 0000673: restore command does not select multiply filesets in non-interactive mode | ||||
Description | The restore job does not work, when client has more then one filesets, using restore command in non-interactive mode, like echo "restore client=test01-fd restoreclient=test01-fd restorejob=Restore_test where=/srv/bareos-restore/test01-fd select current done yes" | bconsole -n Ideally, the restore job should restore all client's filesets without prompt. | ||||
Steps To Reproduce | Run restore job ~# echo "restore client=test01-fd restoreclient=test-01-fd restorejob=Restore_test where=/srv/bareos-restore/test01-01-fd select current done yes" | bconsole -n Connecting to Director test-dir-01:9101 1000 OK: test-dir-01 Version: 15.2.4 (09 June 2016) Enter a period to cancel a command. restore client=test-01-fd restoreclient=test-01-fd restorejob=Restore_test where=/srv/bareos-restore/test-01-fd select current done yes Using Catalog "MyCatalog" The defined FileSet resources are: 1: DBM-BKP 2: TEST-WEB-01 Select FileSet resource (1-2): And waiting for prompt... | ||||
Tags | No tags attached. | ||||
How about specifying fileset= in the command line? | |
With fileset=somefileset is fine, but the script does not know filesets names (the names are unique). Perhaps fileset=all would be perfect option in this situation, where all is all filesets for current job. |
|
So do you want to provide a patch? | |
Sorry, I'm not C programmer, just IMHO. | |
Without community help like PR, or sponsoring this will not be fixed | |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-07-11 11:23 | Shodan | New Issue | |
2016-07-14 17:10 | pstorz | Note Added: 0002319 | |
2016-07-14 17:10 | pstorz | Assigned To | => pstorz |
2016-07-14 17:10 | pstorz | Status | new => feedback |
2016-07-15 13:34 | Shodan | Note Added: 0002320 | |
2016-07-15 13:34 | Shodan | Status | feedback => assigned |
2016-07-15 13:48 | Shodan | Note Edited: 0002320 | |
2016-07-15 14:33 | pstorz | Note Added: 0002321 | |
2016-07-15 14:47 | Shodan | Note Added: 0002322 | |
2024-03-20 13:44 | bruno-at-bareos | Status | assigned => closed |
2024-03-20 13:44 | bruno-at-bareos | Resolution | open => won't fix |
2024-03-20 13:44 | bruno-at-bareos | Note Added: 0005842 |