function backup_migrate_destination_filesource::backup_to_file in Backup and Migrate 6.3
Same name and namespace in other branches
- 8.3 includes/sources.filesource.inc \backup_migrate_destination_filesource::backup_to_file()
- 7.3 includes/sources.filesource.inc \backup_migrate_destination_filesource::backup_to_file()
Backup from this source.
File
- includes/
sources.filesource.inc, line 90 - A destination type for saving locally to the server.
Class
- backup_migrate_destination_filesource
- A destination type for saving locally to the server.
Code
function backup_to_file($file, $settings) {
if ($out = $this
->_backup_to_file_cli($file, $settings)) {
return $out;
}
else {
return $this
->_backup_to_file_php($file, $settings);
}
}