function backup_migrate_filter_compression::file_types

cis7 filters.compression.inc backup_migrate_filter_compression::file_types()
cle7 filters.compression.inc backup_migrate_filter_compression::file_types()
elmsmedia7 filters.compression.inc backup_migrate_filter_compression::file_types()
icor7 filters.compression.inc backup_migrate_filter_compression::file_types()
meedjum_blog7 filters.compression.inc backup_migrate_filter_compression::file_types()
mooc7 filters.compression.inc backup_migrate_filter_compression::file_types()

Return a list of backup filetypes.

Overrides backup_migrate_filter::file_types

File

sites/all/modules/ulmus/backup_migrate/includes/filters.compression.inc, line 57
A filter for compressing backups with Zip, gzip, and bzip2.

Class

backup_migrate_filter_compression
A filter for compressing backup files.

Code

function file_types() {
  return array(
    "gzip" => array(
      "extension" => "gz",
      "filemime" => "application/x-gzip",
      "backup" => TRUE,
      "restore" => TRUE,
    ),
    "bzip" => array(
      "extension" => "bz",
      "filemime" => "application/x-bzip",
      "backup" => TRUE,
      "restore" => TRUE,
    ),
    "bzip2" => array(
      "extension" => "bz2",
      "filemime" => "application/x-bzip",
      "backup" => TRUE,
      "restore" => TRUE,
    ),
    "zip" => array(
      "extension" => "zip",
      "filemime" => "application/zip",
      "backup" => TRUE,
      "restore" => TRUE,
    ),
  );
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.