\Horde_Cli_Backup

Command line application for horde-backup script.

Summary

Methods
Properties
Constants
__construct()
No public properties found
No constants found
_doRun()
_backup()
_restore()
_list()
_checkArguments()
$_registry
N/A
No private methods found
No private properties found
N/A

Properties

$_registry

$_registry : \Horde_Registry

The Horde registry.

Type

\Horde_Registry

Methods

__construct()

__construct(\Horde_Cli  $cli, \Horde_Registry  $registry) 

Constructor.

Parameters

\Horde_Cli $cli

A Horde_Cli instance.

\Horde_Registry $registry

The Horde registry.

_doRun()

_doRun() 

Excecutes the actual application logic.

_backup()

_backup(  $dir,   $apps, array<mixed,string>  $users) 

Creates the backups.

Parameters

$dir
$apps
array<mixed,string> $users

User names.

_restore()

_restore(  $dir,   $apps, array<mixed,string>  $users, boolean  $clear) 

Restores the backups.

Parameters

$dir
$apps
array<mixed,string> $users

User names.

boolean $clear

Clear user data before restore?

_list()

_list(  $dir) 

Lists the backups.

Parameters

$dir

_checkArguments()

_checkArguments() 

Checks that all required arguments are set and correct.