stronk7
a2c7397c42
Restore into new course and existing course implemented.
...
Restore sections and mod implemented.
Restore users (all, course and none) implemented
2003-05-25 22:58:13 +00:00
stronk7
7ba7461530
Finished restoring course, course_sections and course_modules.
...
When ending the restore process, we've to update the instance
field of course_modules and the modinfo field of course. Now
we haven´t the necessary info to do that.
2003-05-24 00:27:45 +00:00
stronk7
7641819df0
Moved the check_version code to lib.php
...
Formatted portions of code
2003-05-16 21:51:07 +00:00
stronk7
52376d940f
Now backuplib.php includes all the functions needed in backup, restorelib.php all
...
the functions needed in restore and lib.php the rest of common functions.
2003-05-14 22:09:30 +00:00
stronk7
4f446b2e36
Minor changes in course_files_check_backup to avoid the backup
...
of files under get_string("backupdir")
2003-05-13 19:53:17 +00:00
stronk7
af478c0b2b
Avoid counting files under get_string("backupdir") as course files
2003-05-11 22:17:56 +00:00
stronk7
4784696533
Backup finished.
...
Limitations:
- Only assignment and resource mods are exported.
Little problems persit:
- PCLZIP/UNZIP incompatibility
- Do not count backup files in course_files_check_backup
2003-05-11 17:45:56 +00:00
stronk7
b294bc4b1d
Zipping files.
...
Ok under command line. Bad under pcl lib
2003-05-11 11:06:23 +00:00
stronk7
667d2f2a86
User files and course files are saved selectively to backup directory
2003-05-11 00:14:11 +00:00
stronk7
4f6ae69e0e
Bug returning status
2003-05-10 17:31:33 +00:00
stronk7
efead3b909
Now generate mod info about assignments (with file copy to temp/backup)
...
and resources.
2003-05-10 17:25:20 +00:00
stronk7
32ad57746b
Avoid undefined backupable mods to be exported
2003-05-09 23:21:55 +00:00
stronk7
537718f85a
Included log generation to XML
2003-05-09 20:05:15 +00:00
stronk7
cfb9c52577
User accounts are now included in XML generation
2003-05-09 14:57:41 +00:00
stronk7
52b538621e
Changes to support xml sections generation.
...
And convert htmlentities an utf8
2003-05-07 22:15:14 +00:00
stronk7
3b8bad6ff0
Included support to clean /temp/backup automatically and to write
...
the xml file (header and info only)
2003-05-06 22:48:25 +00:00
stronk7
674b30f5f7
Begin the execute process. Created temporary structures (dir)
2003-05-04 23:24:48 +00:00
stronk7
b0778a76c3
Changed to link with new files (backup_form.html, backup_check.html
...
and backup_execute.html)
2003-05-04 21:32:11 +00:00
stronk7
3868b9c666
Finished the check phase. Ready to begin the execute phase.
2003-05-04 21:01:47 +00:00
stronk7
1b502431a8
Commented the "needed users" option (too complex for this initial release).
...
Check all and course users.
2003-05-04 01:10:20 +00:00
stronk7
afbe3de8cf
Library to every functions related with the backup/restore matter
2003-05-03 23:20:38 +00:00