function _backup_migrate_backup_with_defaults in Backup and Migrate 7.3
Same name and namespace in other branches
- 8.2 backup_migrate.module \_backup_migrate_backup_with_defaults()
- 8.3 backup_migrate.module \_backup_migrate_backup_with_defaults()
- 5.2 backup_migrate.module \_backup_migrate_backup_with_defaults()
- 5 backup_migrate.module \_backup_migrate_backup_with_defaults()
- 6.3 backup_migrate.module \_backup_migrate_backup_with_defaults()
- 6 backup_migrate.module \_backup_migrate_backup_with_defaults()
- 6.2 backup_migrate.module \_backup_migrate_backup_with_defaults()
- 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 - Action callback.
File
- ./
backup_migrate.module, line 1904 - Backup and restore databases for Drupal.
Code
function _backup_migrate_backup_with_defaults($destination_id = "manual") {
require_once dirname(__FILE__) . '/includes/files.inc';
require_once dirname(__FILE__) . '/includes/profiles.inc';
$settings = _backup_migrate_profile_saved_default_profile();
$settings->destination_id = $destination_id;
$settings->source_id = 'db';
backup_migrate_perform_backup($settings);
}