You are here

function backup_migrate_files_destination_archivesource::file_types in Backup and Migrate 6.3

Same name and namespace in other branches
  1. 8.3 includes/sources.archivesource.inc \backup_migrate_files_destination_archivesource::file_types()
  2. 7.3 includes/sources.archivesource.inc \backup_migrate_files_destination_archivesource::file_types()

Return a list of backup filetypes.

Overrides backup_migrate_destination_filesource::file_types

File

includes/sources.archivesource.inc, line 34
A destination type for saving locally to the server.

Class

backup_migrate_files_destination_archivesource
A destination type for saving locally to the server.

Code

function file_types() {
  return array(
    "sitearchive" => array(
      "extension" => "sitearchive.tar",
      "filemime" => "application/x-tar",
      "backup" => TRUE,
      "restore" => FALSE,
    ),
  );
}