stronk7
ca2129424f
Reading more info...
2003-05-17 11:40:27 +00:00
stronk7
a4ad03f175
Debug a bit
2003-05-17 08:56:53 +00:00
stronk7
785ae439eb
Begin parsing xml data.
...
Info tags.
2003-05-16 23:57:35 +00:00
stronk7
d348c53f1f
Simple advance. None to do in DB.
2003-05-16 22:05:50 +00:00
stronk7
880fd2146c
Updated. Some preliminary steps about restoring done.
2003-05-16 22:04:06 +00:00
stronk7
b9846a9b9e
Copy, expand and do preliminary checks from backup file
2003-05-16 21:52:49 +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
740aa005dc
Interchange delete old data and create temp structures. The first time
...
an error ocurred, because we were trying to access an no-existent dir.
2003-05-16 17:36:47 +00:00
stronk7
0f192e2cd6
Initial version of restore. Simply, a copy from backup.php
2003-05-14 23:25:00 +00:00
stronk7
01a16f7e5e
Lib to include all backup particulary functions (came from lib.php), but
...
desglosed now
2003-05-14 23:24:00 +00:00
stronk7
5aca97a20a
Reset to empty lib before start developing
2003-05-14 23:22:50 +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
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