bareos: master 53f03b32
Author | Committer | Branch | Timestamp | Parent | |
---|---|---|---|---|---|
mvwieringen | mvwieringen | master | 2015-06-23 21:32 | master bda4cde2 | Pending |
Changeset | Replaced .backups by "list backups" - Seems .backups never printed enough fields as the query retrieves 10 fields and the original format string has only 8 times a %s and 9 arguments to the print function. - Added support for the JSON API mode. - Allow .backups client=name fileset=any in which it will show any fileset that is defined in the config and to which the console has access to and run the original query for that fileset. For the JSON mode this will generate an empty JSON set when the client doesn't have any jobs with a given fileset. - Fix the argument scanning to use find_arg_with_value() and not be fixed on the order of arguments as it used to be. - Allow selection on jobstatus - Allow selection on level - Allow ordering direction on the entries to return. - Allow a limit on the number of entries to return. As this dotcmd doesn't seem to be used anywhere (not even in BAT), replacing it with "list backups" should have no side effect on anything else. |
||||
mod - src/cats/protos.h | Diff File | ||||
mod - src/cats/sql_cmds.c | Diff File | ||||
mod - src/cats/sql_list.c | Diff File | ||||
mod - src/dird/ua_cmds.c | Diff File | ||||
mod - src/dird/ua_dotcmds.c | Diff File | ||||
mod - src/dird/ua_output.c | Diff File | ||||
mod - src/dird/ua_query.c | Diff File | ||||
mod - src/dird/ua_restore.c | Diff File | ||||
mod - src/dird/ua_update.c | Diff File |