function backup_migrate_files_destination_archivesource::sources in Backup and Migrate 8.3
Same name and namespace in other branches
- 6.3 includes/sources.archivesource.inc \backup_migrate_files_destination_archivesource::sources()
- 7.3 includes/sources.archivesource.inc \backup_migrate_files_destination_archivesource::sources()
Declare the current files directory as a backup source..
Overrides backup_migrate_destination_filesource::sources
File
- includes/
sources.archivesource.inc, line 25 - 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 sources() {
$out = array();
$out['archive'] = backup_migrate_create_destination('archive', array(
'machine_name' => 'archive',
'location' => '.',
'name' => t('Entire Site (code, files & DB)'),
'show_in_list' => FALSE,
));
return $out;
}