View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000548 | bareos-core | webui | public | 2015-10-29 21:26 | 2016-07-05 12:25 |
| Reporter | protopopys | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Linux | OS | CentOS | OS Version | 6 |
| Summary | 0000548: Unable to use "Restore" function in bareos-webui (Error: Restore Job resource "Restore" does not exist.) | ||||
| Description | I get "Error: Restore Job resource "Restore" does not exist." error message when try to restore files. | ||||
| Additional Information | PHP 5.6.15 Bareos WebUI Version 15.2.1 Zend 2.4.8 | ||||
| Tags | No tags attached. | ||||
|
Do you have at least one working restore job defined in your configuration (bareos-dir.conf)? E.g. Job { Name = "Restore Job" Type = Restore Client = client-001-fd FileSet = "Linux All" Storage = File Pool = Incremental Messages = Standard Where = /tmp/bareos-restores } Regards, Frank |
|
|
Yes of course. Job { Name = "Backup list installed packages" JobDefs = "DefaultJob" FileSet = "Packages" RunBeforeJob = "/etc/bareos/scripts/upload_package_list.sh" RunAfterJob = "/etc/bareos/scripts/deleting_package_list.sh" } Job { Name = "Package list" Type = Restore Client = goblin-fd FileSet = "Packages" # RunAfterJob = "/etc/bareos/scripts/install_package_list.sh" Storage = goblin-sd Pool = goblin-incremental Messages = Standard Where = /tmp/bareos-restores } FileSet { Name = "Packages" Include { Options { compression = GZIP signature = MD5 } File = "/backup/installed" # installed packages dump/ } } |
|
| Are all your restore jobs listed if you execute '.jobs type=R' in bconsole? | |
| I'm solved the error. If restore name have a space - i'm have an error ( Name = "Package list"). If name doesn't have a space - all is ok (Name = "PackageList") Thank you for your time. | |
| Names containing whitespaces should also be possible in this case so you discovered a bug which needs a fix, thanks for your report. | |
|
This will be fixed in 15.2.3 . |
|
| Fix committed to bareos-webui master branch with changesetid 6255. | |
|
bareos-webui: master e3641ae3 2016-02-26 14:42 Ported: N/A Details Diff |
Bugfix 0000548 Adds missing quotes around the restore job name to allow names including whitespaces. Fixes 0000548: Unable to use "Restore" function in bareos-webui (Error: Restore Job resource "Restore" does not exist.) |
Affected Issues 0000548 |
|
| mod - vendor/Bareos/library/Bareos/BSock/BareosBSock.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-10-29 21:26 | protopopys | New Issue | |
| 2015-10-29 21:26 | protopopys | Status | new => assigned |
| 2015-10-29 21:26 | protopopys | Assigned To | => frank |
| 2015-10-29 21:26 | protopopys | File Added: bareos-webui.error | |
| 2015-10-30 14:49 | frank | Note Added: 0001900 | |
| 2015-10-30 15:09 | protopopys | Note Added: 0001901 | |
| 2015-12-18 12:14 | frank | Note Added: 0002041 | |
| 2015-12-18 12:21 | frank | Status | assigned => feedback |
| 2015-12-18 17:13 | protopopys | Note Added: 0002048 | |
| 2015-12-18 17:13 | protopopys | Status | feedback => assigned |
| 2015-12-18 17:41 | frank | Note Added: 0002049 | |
| 2015-12-18 17:42 | frank | Status | assigned => acknowledged |
| 2016-01-21 12:27 | frank | Note Added: 0002136 | |
| 2016-01-21 12:27 | frank | Status | acknowledged => feedback |
| 2016-02-26 13:22 | frank | Note Edited: 0002136 | |
| 2016-02-26 13:49 | frank | Status | feedback => closed |
| 2016-02-26 13:49 | frank | Assigned To | frank => |
| 2016-02-26 13:49 | frank | Resolution | open => fixed |
| 2016-03-09 14:43 | maik | Relationship added | child of 0000625 |
| 2016-05-06 18:25 | frank | Changeset attached | => bareos-webui master e3641ae3 |
| 2016-05-06 18:25 | frank | Note Added: 0002257 | |
| 2016-05-06 18:25 | frank | Status | closed => resolved |
| 2016-06-20 15:34 | joergs | Status | resolved => closed |