repo_samba
in package
Table of Contents
Properties
Methods
- backup_list() : mixed
- backup_restore() : mixed
- backup_send() : mixed
- checkUpdate() : mixed
- cleanBackupFolder() : mixed
- deleteObjet() : mixed
- downloadCore() : mixed
- downloadObject() : mixed
- getConfigurationOption() : mixed
- ls() : mixed
- objectInfo() : mixed
- sortByDatetime() : mixed
- test() : mixed
- versionCore() : mixed
- createAuthFile() : string
- Write username/password to a private temp file so they never appear in the process command line
- makeSambaCommand() : string
Properties
$_name
public
static mixed
$_name
= 'Samba'
$_scope
public
static mixed
$_scope
= array('plugin' => \true, 'backup' => \true, 'hasConfiguration' => \true, 'core' => \true, 'hasRetentionDay' => \true, 'test' => \true)
Methods
backup_list()
public
static backup_list() : mixed
backup_restore()
public
static backup_restore(mixed $_backup) : mixed
Parameters
- $_backup : mixed
backup_send()
public
static backup_send(mixed $_path) : mixed
Parameters
- $_path : mixed
checkUpdate()
public
static checkUpdate(mixed &$_update) : mixed
Parameters
- $_update : mixed
cleanBackupFolder()
public
static cleanBackupFolder() : mixed
deleteObjet()
public
static deleteObjet(mixed $_update) : mixed
Parameters
- $_update : mixed
downloadCore()
public
static downloadCore(mixed $_path) : mixed
Parameters
- $_path : mixed
downloadObject()
public
static downloadObject(mixed $_update) : mixed
Parameters
- $_update : mixed
getConfigurationOption()
public
static getConfigurationOption() : mixed
ls()
public
static ls([mixed $_dir = '' ][, mixed $_type = 'backup' ]) : mixed
Parameters
- $_dir : mixed = ''
- $_type : mixed = 'backup'
objectInfo()
public
static objectInfo(mixed $_update) : mixed
Parameters
- $_update : mixed
sortByDatetime()
public
static sortByDatetime(mixed $a, mixed $b) : mixed
Parameters
- $a : mixed
- $b : mixed
test()
public
static test() : mixed
versionCore()
public
static versionCore() : mixed
createAuthFile()
Write username/password to a private temp file so they never appear in the process command line
private
static createAuthFile(string $_type) : string
Parameters
- $_type : string
Return values
string —path to the authentication file
makeSambaCommand()
private
static makeSambaCommand(string $_cmd[, string $_type = 'backup' ]) : string
Parameters
- $_cmd : string
- $_type : string = 'backup'