You are here

function backup_migrate_destination_filesource::backup_to_file in Backup and Migrate 8.3

Same name and namespace in other branches
  1. 6.3 includes/sources.filesource.inc \backup_migrate_destination_filesource::backup_to_file()
  2. 7.3 includes/sources.filesource.inc \backup_migrate_destination_filesource::backup_to_file()

Backup from this source.

File

includes/sources.filesource.inc, line 93
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);
  }
}