You are here

function backup_migrate_ui_manual_backup_quick in Backup and Migrate 8.2

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

The menu callback for easy manual backups.

1 string reference to 'backup_migrate_ui_manual_backup_quick'
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_quick() {
  $out = array();
  if (user_access('perform backup')) {
    return drupal_get_form('backup_migrate_ui_manual_quick_backup_form');
  }
  else {
    return t('You do not have permission to back up this site.');
  }
  return $out;
}