function backup_migrate_cleanup in Backup and Migrate 8.2
Same name and namespace in other branches
- 8.3 backup_migrate.module \backup_migrate_cleanup()
- 6.3 backup_migrate.module \backup_migrate_cleanup()
- 6.2 backup_migrate.module \backup_migrate_cleanup()
- 7.3 backup_migrate.module \backup_migrate_cleanup()
- 7.2 backup_migrate.module \backup_migrate_cleanup()
Cleanup after a success or failure.
8 calls to backup_migrate_cleanup()
- backup_file::transfer in 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 ./
backup_migrate.module - Clean up when a backup operation fails.
- backup_migrate_backup_succeed in ./
backup_migrate.module - Clean up when a backup operation suceeds.
- backup_migrate_perform_restore in ./
backup_migrate.module - Restore from a file in the given destination.
- backup_migrate_restore_fail in ./
backup_migrate.module - Clean up when a restore operation fails.
File
- ./
backup_migrate.module, line 831 - 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();
}
}