Documentation

Horde_Cli_Backup extends Application
in package

Command line application for horde-backup script.

Tags
author

Jan Schneider jan@horde.org

category

Horde

copyright

2017 Horde LLC

license

http://www.horde.org/licenses/lgpl LGPL-2

Table of Contents

$_registry  : Horde_Registry
The Horde registry.
__construct()  : mixed
Constructor.
_backup()  : mixed
Creates the backups.
_checkArguments()  : mixed
Checks that all required arguments are set and correct.
_doRun()  : mixed
Excecutes the actual application logic.
_list()  : mixed
Lists the backups.
_restore()  : mixed
Restores the backups.

Properties

$_registry

The Horde registry.

protected Horde_Registry $_registry

Methods

__construct()

Constructor.

public __construct(Horde_Cli $cli, Horde_Registry $registry) : mixed
Parameters
$cli : Horde_Cli

A Horde_Cli instance.

$registry : Horde_Registry

The Horde registry.

Return values
mixed

_backup()

Creates the backups.

protected _backup(mixed $dir, mixed $apps, array<string|int, string> $users) : mixed
Parameters
$dir : mixed
$apps : mixed
$users : array<string|int, string>

User names.

Return values
mixed

_checkArguments()

Checks that all required arguments are set and correct.

protected _checkArguments() : mixed
Return values
mixed

_doRun()

Excecutes the actual application logic.

protected _doRun() : mixed
Return values
mixed

_list()

Lists the backups.

protected _list(mixed $dir) : mixed
Parameters
$dir : mixed
Return values
mixed

_restore()

Restores the backups.

protected _restore(mixed $dir, mixed $apps, array<string|int, string> $users, bool $clear) : mixed
Parameters
$dir : mixed
$apps : mixed
$users : array<string|int, string>

User names.

$clear : bool

Clear user data before restore?

Return values
mixed

Search results