function backup_migrate_destination_files::edit_form

cis7 backup_migrate_destination_files::edit_form()
cle7 backup_migrate_destination_files::edit_form()
elmsmedia7 backup_migrate_destination_files::edit_form()
icor7 backup_migrate_destination_files::edit_form()
meedjum_blog7 backup_migrate_destination_files::edit_form()
mooc7 backup_migrate_destination_files::edit_form()

Get the form for the settings for the files destination.

Overrides backup_migrate_destination::edit_form


sites/all/modules/ulmus/backup_migrate/includes/, line 115
A destination type for saving locally to the server.




function edit_form() {
  $form = parent::edit_form();
  $form['location'] = array(
    "#type" => "textfield",
    "#title" => t("Directory path"),
    "#default_value" => $this->get_location(),
    "#required" => TRUE,
    "#description" => t('Enter the path to the directory to save the backups to. Use a relative path to pick a path relative to your Drupal root directory. The web server must be able to write to this path.'),
  $form['settings'] = array(
    '#type' => 'fieldset',
    '#title' => t('Advanced Settings'),
    '#tree' => TRUE,
    '#collapsible' => TRUE,
    '#collapsed' => TRUE,
  if (function_exists('chmod')) {
    $form['settings']['chmod'] = array(
      '#type' => 'textfield',
      '#title' => t('Change file mode (chmod)'),
      '#size' => 5,
      '#default_value' => $this->settings('chmod'),
      '#description' => t('If you enter a value here, backup files will be chmoded with the mode you specify. Specify the mode in octal form (e.g. 644 or 0644) or leave blank to disable this feature.'),
  if (function_exists('chgrp')) {
    $form['settings']['chgrp'] = array(
      '#type' => 'textfield',
      '#title' => t('Change file group (chgrp)'),
      '#size' => 5,
      '#default_value' => $this->settings('chgrp'),
      '#description' => t('If you enter a value here, backup files will be chgrped to the group you specify. Leave blank to disable this feature.'),
  return $form;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.