$_dir
$_dir : string
Backup directory.
The backup reader class that reads backups from the backup directory.
restore(array $applications = array(), array $users = array()) : array<mixed,\Horde\Backup\Collection>
Returns user data from backups.
array | $applications | A list of applications to restore. Defaults to all backups. |
array | $users | A list of users to restore. Defaults to all backups. |
All restored object collections.
_restoreFromZip(string $file, array $applications) : array<mixed,\Horde\Backup\Collection>
Restores user data from a ZIP file.
string | $file | Pathname to a ZIP backup file. |
array | $applications | A list of applications to restore. Defaults to all backups. |
All restored object collections.
_restoreFromTar(string $file, array $applications) : array<mixed,\Horde\Backup\Collection>
Restores user data from a TAR file.
string | $file | Pathname to a TAR backup file. |
array | $applications | A list of applications to restore. Defaults to all backups. |
All restored object collections.
_buildCollections(array $files, array $applications, string $contents, string $user, callable $factory) : array<mixed,\Horde\Backup\Collection>
Builds a list of object collections from any Horde_Compress backend.
array | $files | Archive info from Horde_Compress. |
array | $applications | A list of applications to restore. Defaults to all backups. |
string | $contents | The archive file contents. |
string | $user | A user name. |
callable | $factory | A factory for iterators that are passed to \Horde\Backup\Collection. |
All restored object collections.