You are here

function _backup_migrate_backup_with_defaults in Backup and Migrate 6

Same name and namespace in other branches
  1. 8.2 backup_migrate.module \_backup_migrate_backup_with_defaults()
  2. 8.3 backup_migrate.module \_backup_migrate_backup_with_defaults()
  3. 5.2 backup_migrate.module \_backup_migrate_backup_with_defaults()
  4. 5 backup_migrate.module \_backup_migrate_backup_with_defaults()
  5. 6.3 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.

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_backup_action in ./backup_migrate.module

File

./backup_migrate.module, line 463
Create (manually or scheduled) and restore backups of your Drupal MySQL database with an option to exclude table data (f.e. cache_*)

Code

function _backup_migrate_backup_with_defaults($mode = "manual") {
  _backup_migrate_dump_tables(variable_get("backup_migrate_file_name", _backup_migrate_default_file_name()), variable_get("backup_migrate_exclude_tables", _backup_migrate_default_exclude_tables()), variable_get("backup_migrate_nodata_tables", _backup_migrate_default_structure_only_tables()), 'sql', 'save', variable_get("backup_migrate_compression", "none"), $mode, variable_get("backup_migrate_append_timestamp", 1) ? variable_get("backup_migrate_timestamp_format", 'Y-m-d\\TH-i-s') : FALSE);
}