You are here

function backup_migrate_ui_manual_backup in Backup and Migrate 5.2

The menu call back for manual backups.

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

File

./backup_migrate.module, line 324
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($profile_id = NULL) {
  require_once './' . drupal_get_path('module', 'backup_migrate') . '/includes/profiles.inc';
  $profile = _backup_migrate_profile_saved_default_profile($profile_id);
  $out = "";
  $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;
}