You are here

function backup_migrate_ui_manual_backup_advanced in Backup and Migrate 6.2

Same name and namespace in other branches
  1. 8.2 backup_migrate.module \backup_migrate_ui_manual_backup_advanced()
  2. 8.3 backup_migrate.module \backup_migrate_ui_manual_backup_advanced()
  3. 6.3 backup_migrate.module \backup_migrate_ui_manual_backup_advanced()
  4. 7.3 backup_migrate.module \backup_migrate_ui_manual_backup_advanced()
  5. 7.2 backup_migrate.module \backup_migrate_ui_manual_backup_advanced()

The menu callback for advanced manual backups.

1 string reference to 'backup_migrate_ui_manual_backup_advanced'
backup_migrate_menu in ./backup_migrate.module
Implementation of hook_menu().

File

./backup_migrate.module, line 259
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_ui_manual_backup_advanced() {
  backup_migrate_include('profiles');
  $out = '';
  $profile_id = arg(BACKUP_MIGRATE_MENU_DEPTH + 2);
  $profile = _backup_migrate_profile_saved_default_profile($profile_id);
  $out .= drupal_get_form('backup_migrate_ui_manual_backup_load_profile_form', $profile);
  $out .= drupal_get_form('backup_migrate_ui_manual_backup_form', $profile);
  return $out;
}