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
f11d6df519
Survey backup included.
2003-05-11 22:44:40 +00:00
stronk7
af478c0b2b
Avoid counting files under get_string("backupdir") as course files
2003-05-11 22:17:56 +00:00
stronk7
9025fec405
Choices are now backupables
2003-05-11 21:14:50 +00:00
stronk7
05b2871dfa
Change in comment
2003-05-11 21:13:45 +00:00
stronk7
d06863d95f
No it's backupable too
2003-05-11 21:12:28 +00:00
stronk7
df52003fb1
Little bug ending submission tag
2003-05-11 19:47:12 +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
543009a54d
Updated. User and course files copied to backup dir
2003-05-11 00:16:32 +00:00
stronk7
667d2f2a86
User files and course files are saved selectively to backup directory
2003-05-11 00:14:11 +00:00
stronk7
23e3e468aa
no comments
2003-05-10 17:49:56 +00:00
stronk7
d0ef834745
Preparing the user_files and course_files copy
2003-05-10 17:44:08 +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
0915679c36
Updated. Sections included !!!
2003-05-07 22:18:05 +00:00
stronk7
52b538621e
Changes to support xml sections generation.
...
And convert htmlentities an utf8
2003-05-07 22:15:14 +00:00
stronk7
95f6c01b03
Only admins can execute me !!
2003-05-07 16:09:34 +00:00
stronk7
fdcdc04730
Updated. XML generation (header & info only)
2003-05-06 23:01:53 +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
000969becd
Included to get Moodle's version into xml file
2003-05-06 22:47:06 +00:00
stronk7
be4c89b86a
Updated and new entries. Don't forget them !!!
2003-05-04 23:39:24 +00:00
stronk7
674b30f5f7
Begin the execute process. Created temporary structures (dir)
2003-05-04 23:24:48 +00:00
stronk7
39c4f15a40
Removed from CVS. Changed to backup_check.html and backup_form.html
2003-05-04 21:33:05 +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
a615cc7bb6
Renamed from check.html, execute.html and backup.html to avoid
...
problems when doing restore.
Old files deleted from CVS
2003-05-04 21:29:27 +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
dfe5f88b3b
Check mods and check users done
2003-05-04 01:05:58 +00:00
stronk7
afbe3de8cf
Library to every functions related with the backup/restore matter
2003-05-03 23:20:38 +00:00
stronk7
04aa5b2de1
To mantain updated the db with the auto-update feature.
...
This file is for mysql installations. Every DB must have
its own file.
2003-05-03 23:19:07 +00:00
stronk7
c4c8f73c4a
File that contains currect backup/restore version. To use with the
...
auto-update feature (copied from moodle main code).
2003-05-03 23:17:40 +00:00
stronk7
8cc242516e
Changed to support the backup_ids table in all modules (to store and
...
convert ids in backup/restore.
Added a check_version (copied from main moodle auto-update) to mantain
changes in backup/restore system.
2003-05-03 23:15:43 +00:00
stronk7
141097ff80
Finalized every mod check
2003-05-02 23:32:02 +00:00
stronk7
d6545aefbc
Check page finished (all mods except quiz).
2003-05-02 17:22:18 +00:00
stronk7
02fee14e28
Changed the name of the backup
2003-05-02 14:48:11 +00:00
stronk7
519bd9342a
Completed the module_check_backup_mods function (used in check.html)
2003-05-02 14:38:16 +00:00
stronk7
10332943ca
Add more things !!
2003-05-02 00:57:57 +00:00
stronk7
d67257815d
Completed the module_check_backup_mods function (used in check.html)
2003-05-02 00:54:51 +00:00
stronk7
c53987bbb8
This file shows all the info gathered before launch the backup
...
process itself.
2003-05-02 00:53:40 +00:00
stronk7
c5be7d8e8e
Included Schema of evey mod (comments) and complete
...
assignments
2003-05-01 17:43:03 +00:00
stronk7
737c4885be
Simplified a lot (I discover the variable variables in php !!)
2003-05-01 17:42:08 +00:00
stronk7
3fe1c56cdd
Changed
2003-05-01 17:41:16 +00:00
stronk7
d4ccfc2a2b
Now all the variables are correctly transfered
...
Changer error to notice
2003-05-01 12:41:11 +00:00
stronk7
a36175db4c
Now checks dinamically if "backuplib.php" and function "module_backup_mods"
...
exists !!
2003-05-01 11:19:33 +00:00
stronk7
bf32194357
Initial version. Do nothing. Just exist !!
2003-05-01 00:48:58 +00:00