You are here

public function SourceInterface::exportToFile in Backup and Migrate 8.4

Export this source to the given temp file. This should be the main back up function for this source.

Return value

\BackupMigrate\Core\File\BackupFileReadableInterface $file A backup file with the contents of the source dumped to it..

2 methods override SourceInterface::exportToFile()
FileDirectorySource::exportToFile in lib/backup_migrate_core/src/Source/FileDirectorySource.php
Export this source to the given temp file. This should be the main back up function for this source.
MySQLiSource::exportToFile in lib/backup_migrate_core/src/Source/MySQLiSource.php
Export this source to the given temp file. This should be the main back up function for this source.

File

lib/backup_migrate_core/src/Source/SourceInterface.php, line 20

Class

SourceInterface
Provides an interface defining a backup source.

Namespace

BackupMigrate\Core\Source

Code

public function exportToFile();