Commit 1bbdf9ca authored by Marcin Haba's avatar Marcin Haba
Browse files

baculum: Add new job, fileset and media properties support

parent 33971c7f
......@@ -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);
......
......@@ -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;
......
......@@ -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"
}
}
},
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment