function backup_migrate_destination_db::backup_to_file

cis7 destinations.db.inc backup_migrate_destination_db::backup_to_file($file, $settings)
cle7 destinations.db.inc backup_migrate_destination_db::backup_to_file($file, $settings)
elmsmedia7 destinations.db.inc backup_migrate_destination_db::backup_to_file($file, $settings)
icor7 destinations.db.inc backup_migrate_destination_db::backup_to_file($file, $settings)
meedjum_blog7 destinations.db.inc backup_migrate_destination_db::backup_to_file($file, $settings)
mooc7 destinations.db.inc backup_migrate_destination_db::backup_to_file($file, $settings)

Backup from this source.

File

sites/all/modules/ulmus/backup_migrate/includes/destinations.db.inc, line 146
Functions to handle the direct to database destination.

Class

backup_migrate_destination_db
A destination type for saving to a database server.

Code

function backup_to_file($file, $settings) {
  $file->push_type($this->get_file_type_id());

  backup_migrate_filters_invoke_all('pre_backup', $this, $file, $settings);
  //$this->lock_tables($settings);

  // Switch to a different db if specified.
  $success = $this->_backup_db_to_file($file, $settings);

  //$this->unlock_tables($settings);
  backup_migrate_filters_invoke_all('post_backup', $this, $file, $settings, $success);

  return $success ? $file : FALSE;
}
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.