Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bacula Community Edition
Bacula Community
Commits
1bbdf9ca
Commit
1bbdf9ca
authored
Dec 15, 2022
by
Marcin Haba
Browse files
baculum: Add new job, fileset and media properties support
parent
33971c7f
Changes
3
Hide whitespace changes
Inline
Side-by-side
gui/baculum/protected/API/Modules/FileSetRecord.php
View file @
1bbdf9ca
...
...
@@ -37,6 +37,7 @@ class FileSetRecord extends APIDbModule {
public
$fileset
;
public
$md5
;
public
$createtime
;
public
$content
;
public
static
function
finder
(
$className
=
__CLASS__
)
{
return
parent
::
finder
(
$className
);
...
...
gui/baculum/protected/API/Modules/VolumeRecord.php
View file @
1bbdf9ca
...
...
@@ -83,6 +83,9 @@ class VolumeRecord extends APIDbModule {
public
$volcloudparts
;
public
$lastpartbytes
;
public
$cacheretention
;
public
$protected
;
public
$useprotect
;
public
$volencrypted
;
// Additional values (not from Media table)
public
$storage
;
...
...
gui/baculum/protected/API/openapi_baculum.json
View file @
1bbdf9ca
...
...
@@ -7932,6 +7932,51 @@
"description"
:
"File table"
,
"type"
:
"string"
},
"priorjob"
:
{
"description"
:
"Original copied job"
,
"type"
:
"string"
},
"realstarttime"
:
{
"description"
:
"Real start time (YYYY-MM-DD HH:M:SS)"
,
"type"
:
"string"
},
"isvirtualfull"
:
{
"description"
:
"Is virtual full job (0 or 1)"
,
"type"
:
"integer"
},
"compressratio"
:
{
"description"
:
"Software compression ratio"
,
"type"
:
"string"
},
"rate"
:
{
"description"
:
"Job average speed"
,
"type"
:
"string"
},
"lastreadstorageid"
:
{
"description"
:
"Last read storage identifier"
,
"type"
:
"integer"
},
"lastreaddevice"
:
{
"description"
:
"Last read device name"
,
"type"
:
"string"
},
"writestorageid"
:
{
"description"
:
"Write storage storage identifier"
,
"type"
:
"integer"
},
"writedevice"
:
{
"description"
:
"Write device name"
,
"type"
:
"string"
},
"statusinfo"
:
{
"description"
:
"Status information"
,
"type"
:
"string"
},
"encrypted"
:
{
"description"
:
"Encrypted job state (0 or 1)"
,
"type"
:
"integer"
},
"client"
:
{
"description"
:
"Client name"
,
"type"
:
"string"
...
...
@@ -8313,6 +8358,18 @@
"description"
:
"Cache retention time"
,
"type"
:
"integer"
},
"protected"
:
{
"description"
:
"Protected state. 1 if the volume is currently protected (read-only, immutable, ...), otherwise 0"
,
"type"
:
"integer"
},
"useprotect"
:
{
"description"
:
"Use protect state. 1 if the last device can handle volume protection (read-only, immutable, ...), otherwise 0"
,
"type"
:
"integer"
},
"volencrypted"
:
{
"description"
:
"Encrypted volume state. 1 if the volume is encrypted using SD encryption, otherwise 0"
,
"type"
:
"integer"
},
"storage"
:
{
"description"
:
"Storage name"
,
"type"
:
"string"
...
...
@@ -8355,6 +8412,10 @@
"createtime"
:
{
"description"
:
"Create date and time"
,
"type"
:
"string"
},
"content"
:
{
"description"
:
"Comma separated FileSet content types (file, postgresql, mysql...)"
,
"type"
:
"string"
}
}
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment