function backup_migrate_cleanup

cis7 backup_migrate.module backup_migrate_cleanup()
cle7 backup_migrate.module backup_migrate_cleanup()
elmsmedia7 backup_migrate.module backup_migrate_cleanup()
icor7 backup_migrate.module backup_migrate_cleanup()
meedjum_blog7 backup_migrate.module backup_migrate_cleanup()
mooc7 backup_migrate.module backup_migrate_cleanup()

Cleanup after a success or failure.

8 calls to backup_migrate_cleanup()
backup_file::transfer in sites/all/modules/ulmus/backup_migrate/includes/files.inc
Transfer file using http to client. Similar to the built in file_transfer, but it calls module_invoke_all('exit') so that temp files can be deleted.
backup_migrate_backup_fail in sites/all/modules/ulmus/backup_migrate/backup_migrate.module
Clean up when a backup operation fails.
backup_migrate_backup_succeed in sites/all/modules/ulmus/backup_migrate/backup_migrate.module
Clean up when a backup operation suceeds.
backup_migrate_perform_restore in sites/all/modules/ulmus/backup_migrate/backup_migrate.module
Restore from a file in the given destination.
backup_migrate_restore_fail in sites/all/modules/ulmus/backup_migrate/backup_migrate.module
Clean up when a restore operation fails.

... See full list

File

sites/all/modules/ulmus/backup_migrate/backup_migrate.module, line 873
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_cleanup() {
  // Check that the cleanup function exists. If it doesn't then we probably didn't create any files to be cleaned up.
  if (function_exists('_backup_migrate_temp_files_delete')) {
    _backup_migrate_temp_files_delete();
  }
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.