mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-22145 backup storage - provide 'user_tohub' storage for HUB files
This commit is contained in:
parent
96449a1698
commit
ce937f9957
11 changed files with 131 additions and 12 deletions
|
@ -84,6 +84,12 @@ class backup_final_task extends backup_task {
|
|||
// to the backup, settings, license, versions and other useful information
|
||||
$this->add_step(new backup_main_structure_step('mainfile', 'moodle_backup.xml'));
|
||||
|
||||
// Generate the zip file
|
||||
$this->add_step(new backup_zip_contents('zip_contents'));
|
||||
|
||||
// Copy the generated zip file to final destination
|
||||
$this->add_step(new backup_store_backup_file('save_backupfile'));
|
||||
|
||||
$this->built = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue