function _backup_migrate_backup_with_defaults in Backup and Migrate 5.2
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 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.3 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.
2 calls to _backup_migrate_backup_with_defaults()
- action_backup_migrate_backup in ./
backup_migrate.module - Action to backup the drupal site. Requires actions.module.
- backup_migrate_action_backup in ./
backup_migrate.module
File
- ./
backup_migrate.module, line 706 - 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") {
require_once './' . drupal_get_path('module', 'backup_migrate') . '/includes/files.inc';
require_once './' . drupal_get_path('module', 'backup_migrate') . '/includes/db.inc';
$settings = _backup_migrate_profile_saved_default_profile();
$settings['destination_id'] = $destination_id;
backup_migrate_perform_backup($settings);
}