You are here

function backup_migrate_ui_schedule in Backup and Migrate 8.3

Same name and namespace in other branches
  1. 6.3 backup_migrate.module \backup_migrate_ui_schedule()
  2. 7.3 backup_migrate.module \backup_migrate_ui_schedule()

The menu callback for quick schedules.

File

./backup_migrate.module, line 576
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_schedule() {
  backup_migrate_include('sources', 'schedules', 'profiles');
  $out = '';
  $sources = backup_migrate_get_sources();
  $schedules = backup_migrate_get_schedules();
  $out = drupal_get_form('backup_migrate_ui_schedule_form', $sources, $schedules);
  return $out;
}