You are here

function _backup_migrate_backup_with_defaults in Backup and Migrate 8.3

Same name and namespace in other branches
  1. 8.2 backup_migrate.module \_backup_migrate_backup_with_defaults()
  2. 5.2 backup_migrate.module \_backup_migrate_backup_with_defaults()
  3. 5 backup_migrate.module \_backup_migrate_backup_with_defaults()
  4. 6.3 backup_migrate.module \_backup_migrate_backup_with_defaults()
  5. 6 backup_migrate.module \_backup_migrate_backup_with_defaults()
  6. 6.2 backup_migrate.module \_backup_migrate_backup_with_defaults()
  7. 7.3 backup_migrate.module \_backup_migrate_backup_with_defaults()
  8. 7.2 backup_migrate.module \_backup_migrate_backup_with_defaults()

Backup the database with the default settings.

1 call to _backup_migrate_backup_with_defaults()
backup_migrate_action_backup in ./backup_migrate.module

File

./backup_migrate.module, line 1715
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_with_defaults($destination_id = "manual") {
  backup_migrate_include('files', 'profiles');
  $settings = _backup_migrate_profile_saved_default_profile();
  $settings->destination_id = $destination_id;
  $settings->source_id = 'db';
  backup_migrate_perform_backup($settings);
}