\Horde\BackupWriter

The backup writer class that writes backups to the backup directory.

Summary

Methods
Properties
Constants
__construct()
backup()
save()
No public properties found
No constants found
No protected methods found
$_dir
$_backups
N/A
No private methods found
No private properties found
N/A

Properties

$_dir

$_dir : string

Backup directory.

Type

string

$_backups

$_backups : array

Handles for backup data.

Type

array

Methods

__construct()

__construct(string  $directory) 

Constructor.

Parameters

string $directory

Backup directory.

backup()

backup(string  $application, \Horde\Backup\Users  $users) 

Adds backups of user data.

Parameters

string $application

Application name.

\Horde\Backup\Users $users

User(s) (and their data) to backup.

save()

save(integer  $format = \Horde\Backup::FORMAT_ZIP) : integer

Saves the backups.

Parameters

integer $format

The backup format, one of the Backup::FORMAT_* constants.

Returns

integer —

Number of processed items.