You are here

function backup_migrate_backup_fail in Backup and Migrate 7.3

Same name and namespace in other branches
  1. 8.2 backup_migrate.module \backup_migrate_backup_fail()
  2. 8.3 backup_migrate.module \backup_migrate_backup_fail()
  3. 6.3 backup_migrate.module \backup_migrate_backup_fail()
  4. 6.2 backup_migrate.module \backup_migrate_backup_fail()
  5. 7.2 backup_migrate.module \backup_migrate_backup_fail()

Clean up when a backup operation fails.

7 calls to backup_migrate_backup_fail()
backup_migrate_destination_filesource::get_files_to_backup in includes/sources.filesource.inc
Gets a list of files to backup from the given set if dirs.
backup_migrate_destination_filesource::_backup_to_file_php in includes/sources.filesource.inc
Backup from this source.
backup_migrate_files_destination_archivesource::_backup_to_file_php in includes/sources.archivesource.inc
Backup from this source.
backup_migrate_filter_backup_restore::backup in includes/filters.backup_restore.inc
Backup the data from the source specified in the settings.
backup_migrate_perform_backup in ./backup_migrate.module
Perform a backup with the given settings.

... See full list

1 string reference to 'backup_migrate_backup_fail'
backup_migrate_mail in ./backup_migrate.module
Implements hook_mail().

File

./backup_migrate.module, line 1773
Backup and restore databases for Drupal.

Code

function backup_migrate_backup_fail($message, $params, $settings) {
  require_once dirname(__FILE__) . '/includes/files.inc';
  require_once dirname(__FILE__) . '/includes/filters.inc';
  _backup_migrate_message($message, $params, 'error');
  backup_migrate_cleanup();
  backup_migrate_filters_invoke_all('backup_fail', $settings, $message, $params);
  return FALSE;
}