You are here

function backup_migrate_destination_save_file in Backup and Migrate 6.2

Same name and namespace in other branches
  1. 8.2 includes/destinations.inc \backup_migrate_destination_save_file()
  2. 8.3 includes/destinations.inc \backup_migrate_destination_save_file()
  3. 5.2 includes/destinations.inc \backup_migrate_destination_save_file()
  4. 6.3 includes/destinations.inc \backup_migrate_destination_save_file()
  5. 7.3 includes/destinations.inc \backup_migrate_destination_save_file()
  6. 7.2 includes/destinations.inc \backup_migrate_destination_save_file()

Send a file to the destination specified by the settings array.

1 call to backup_migrate_destination_save_file()
backup_migrate_perform_backup in ./backup_migrate.module
Perform a backup with the given settings.

File

includes/destinations.inc, line 242

Code

function backup_migrate_destination_save_file($file, &$settings) {
  if ($destination = $settings
    ->get_destination()) {
    $file = $destination
      ->save_file($file, $settings);
    return $file;
  }
  return NULL;
}