You are here

function backup_migrate_backup_fail in Backup and Migrate 8.2

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

Clean up when a backup operation fails.

4 calls to backup_migrate_backup_fail()
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.
backup_migrate_schedule::cron in includes/schedules.inc
Perform the cron action. Run the backup if enough time has elapsed.
backup_migrate_shutdown in ./backup_migrate.module
Shutdown callback. Called when the script terminates even if the script timed out.

File

./backup_migrate.module, line 785
Create (manually or scheduled) and restore backups of your Drupal MySQL database with an option to exclude table data (e.g. cache_*)

Code

function backup_migrate_backup_fail($message, $params, $settings) {
  backup_migrate_include('files', 'filters');
  _backup_migrate_message($message, $params, 'error');
  backup_migrate_cleanup();
  backup_migrate_filters_invoke_all('backup_fail', $settings, $message, $params);
  return FALSE;
}