Commit graph

1259 commits

Author SHA1 Message Date
stronk7
8328766280 Changes to work with data from fs instead of db.
Show progress info
Output data to the browser to avoid timeouts.
2003-06-20 19:46:01 +00:00
stronk7
adc8b0c7fe Changes to users restore and some minor bugs detected
(when no modules were selected to restore)
2003-06-20 19:44:06 +00:00
stronk7
af9cd9552e Changes in:
- Saving temp data to fs, instead of db
     (mysql limit bug OUT)
   - Modified clean directories (moodle standard delete dir
     function seems to work wrong with large dirs
   - Send info to browser continuosly to avoid timeouts.
   - Increase php execution time limit
   - More checks.
   - Restore into existing course now works fine
   - Create course_dir if it doesn't exist in the final step
     of backup.
2003-06-20 19:42:20 +00:00
stronk7
28a1cb407a Updated to 0.6.1 alpha (tons of changes) 2003-06-20 19:38:07 +00:00
stronk7
c05d9c3ee8 Bug solved restoring in existing course. 2003-06-12 22:30:20 +00:00
stronk7
59728e8d4a Modified to flush data to browser... 2003-06-12 17:41:52 +00:00
stronk7
10453b424e Updated version to 2003061100 and modify backup tables (mediumtext) 2003-06-12 17:40:55 +00:00
stronk7
13e1a20fe1 Some improvements and tons of flushes !! 2003-06-12 17:38:36 +00:00
stronk7
5c191b96ee Clear temp data working now (uncommented) 2003-06-12 17:32:22 +00:00
stronk7
60b420af99 Added the backup_flush function use to send some data to the browser
flushing output inmediately
2003-06-12 17:29:16 +00:00
stronk7
d2c94f4b5b Typoooo :-) 2003-06-12 15:37:25 +00:00
stronk7
ac6a7b144d Changed max_execution_time to 3000.
Call to backup_required_functions included.
2003-06-12 15:35:37 +00:00
stronk7
fe3c84ab46 Added backup_required_functions to pre-check required functions in
backup/restore process.
2003-06-12 15:33:25 +00:00
stronk7
55513d3ec5 Changed max_execution_time and memory_limit php variables
to execute long and heavy scripts (restore and backup)  :-)
Only affects current script execution
2003-06-11 19:13:07 +00:00
stronk7
d223ada029 Need to addslashes before put summary section data to db !!!
Now restoring sections is working.
User restoring failed !! -> Too much records !!
2003-06-10 17:27:08 +00:00
stronk7
4f39d4fb3a Changed the log_check_backup function to execute a count_records
instead of selecting everyting (crash when there is a lot of log entries).
2003-06-10 16:40:36 +00:00
stronk7
025288e27e Goooo 2003-06-10 15:56:47 +00:00
stronk7
02fa0aa3b0 Up a bit 2003-06-10 15:43:58 +00:00
stronk7
54b7cd7c60 Changed get_records (every field) in user_check_backup to
get_records (only id). Possible memory shortage when a lot
of users (3999) are retrieved.
2003-06-10 15:42:51 +00:00
stronk7
0aefd39fd4 More debug... 2003-06-10 15:18:48 +00:00
stronk7
e60e65ab5f Some debug 2003-06-10 15:07:12 +00:00
stronk7
fb14b23be5 Little change to avoid iterate when no users are retrieved in
user_check_backup function
2003-06-10 15:02:53 +00:00
stronk7
290a1b4a3e Backup quizzes COMPLETED. Two setps finished. 2003-06-10 09:25:27 +00:00
stronk7
a7a055fd0d Included some new workings.
Quizzes (step 2) completed.
2003-06-09 17:12:57 +00:00
stronk7
a94891a727 Now quizzes are in backup.
Only STEP 2. Read comments in source !!!
2003-06-09 16:52:09 +00:00
stronk7
5c2365fbaa Backup journals COMPLETED 2003-06-06 20:07:10 +00:00
stronk7
cd7ad30f4b Backup journals COMPLETED. 2003-06-06 20:05:09 +00:00
stronk7
88b20de862 Small typoooooo ;-) 2003-06-06 19:43:10 +00:00
stronk7
df09d3f238 Backup forums COMPLETED !! 2003-06-03 18:18:45 +00:00
stronk7
d559e7825a Now backups include forums COMPLETED 2003-06-03 18:17:33 +00:00
stronk7
78bb2765bc Solved little bug counting survey_answers (due to fast copy/paste !!)
:-)
2003-06-03 16:46:12 +00:00
stronk7
686dde9e39 Correct one source tab 2003-06-03 16:33:52 +00:00
stronk7
f28aefbe4f Little bug when renaming existent courses... 2003-06-03 16:32:38 +00:00
stronk7
f2e7f34b19 Serious bug when recoding assignment files. Solved !! 2003-06-01 23:04:38 +00:00
stronk7
9a90d7dbe0 Commented some debug :-) 2003-06-01 22:13:39 +00:00
stronk7
2ffc0358aa Uncommented clean_temp_data. 2003-06-01 19:59:42 +00:00
stronk7
a9367f2644 Due to problems in the FileManager with filenames containing spaces
force a replace from spaces to underscores
2003-06-01 19:58:08 +00:00
stronk7
a498fae1ee Missing phrase change :-) 2003-06-01 19:40:10 +00:00
stronk7
10ee538602 Restore surveys COMPLETED 2003-06-01 19:39:16 +00:00
stronk7
ea2280282e Restore surveys COMPLETED. 2003-06-01 19:38:14 +00:00
stronk7
1552d8b4e1 Little modification. Speed up a bit. 2003-06-01 19:37:08 +00:00
stronk7
304084d937 Restoring choices COMPLETED 2003-06-01 18:19:09 +00:00
stronk7
65ec0f59d1 Restoring assignmets COMPLETED
Cleaning up temp data
2003-06-01 10:44:35 +00:00
stronk7
bd19b8fa96 Restoring assignments COMPLETED.
Added clean temp structures
Increased version info
2003-06-01 10:40:11 +00:00
stronk7
99d1a496a4 Restoring assignments COMPLETED 2003-06-01 10:39:07 +00:00
stronk7
16f77249aa Added little check 2003-06-01 10:38:39 +00:00
stronk7
3ad243153a Typo :-) 2003-05-31 15:27:37 +00:00
stronk7
516c30b75a Now restore resources and final checks are included !!! 2003-05-31 15:24:14 +00:00
stronk7
5146bf9f54 Now readjusting course_modules instance and course modinfo
os implemented and working
2003-05-31 15:21:39 +00:00
stronk7
d6d7461bd9 Restore IMPLEMENTED 2003-05-31 15:20:25 +00:00