Moodle 2.0 - Restore not enabled?

Moodle 2.0 - Restore not enabled?

de Joseph Rézeau -
Número de respuestas: 16
Imagen de Core developers Imagen de Particularly helpful Moodlers Imagen de Plugin developers Imagen de Testers Imagen de Translators
I'm doing some tests with moodle 2.0 (HEAD) and it looks like the restore facility has disappeared. I proceed as usual, 1st create a backup file, save it to disk, then go to restore (either at front page level or within a course), click the Restore link, upload the backup-cf101-20081126-1634.zip file to my files and... there is no Action Restore link, unlike there used to be in 1.9...
Joseph
Adjunto image00.jpg
Promedio de valoraciones:Useful (1)
En respuesta a Joseph Rézeau

Re: Moodle 2.0 - Restore not enabled?

de Tim Hunt -
Imagen de Core developers Imagen de Documentation writers Imagen de Particularly helpful Moodlers Imagen de Peer reviewers Imagen de Plugin developers
Yes, it's a pain, isn't it? It is because of the changes to the file API. But it has been broken for nearly 2 months now, which is not really good enough.
En respuesta a Tim Hunt

Re: Moodle 2.0 - Restore not enabled?

de Christopher Molnar -
Do you know if there a way to pass the file name as a parameter into the restore.php script manually instead of selecting it?

Thanks!
En respuesta a Christopher Molnar

Re: Moodle 2.0 - Restore not enabled?

de Tim Hunt -
Imagen de Core developers Imagen de Documentation writers Imagen de Particularly helpful Moodlers Imagen de Peer reviewers Imagen de Plugin developers
I'm not sure. You need to read the code. I expect it is possible just be constructing the right URL. I would start be seeing what URL the restore link next to each file goes to.
En respuesta a Tim Hunt

Re: Moodle 2.0 - Restore not enabled?

de Joseph Rézeau -
Imagen de Core developers Imagen de Particularly helpful Moodlers Imagen de Plugin developers Imagen de Testers Imagen de Translators
Any idea when the restore function will be fixed in 2.0?
Joseph
En respuesta a Joseph Rézeau

Re: Moodle 2.0 - Restore not enabled?

de Mari Cruz García -
Hello,

I haven't had a chance to look at the code of Moodle 2.0 yet, but since you are talking about problems with the restore function, and passing the file name as a parameter, I just want to share here what I learned from previous versions of Moodle.

The backup/restore facility in lower versions of Moodle (1.8.2) does not work if the library file moodlelib.php containts the line (333 in my php editor):

$param = preg_replace("/eval|system|passthru|exec|include|require_once|move_uploaded_file/i", "", $param);

and it will stop there.

I think that this line has been remove in Moodle 1.9 .

Regards
En respuesta a Joseph Rézeau

Re: Moodle 2.0 - Restore not enabled?

de Petr Skoda -
Imagen de Core developers Imagen de Documentation writers Imagen de Peer reviewers Imagen de Plugin developers
Well, it will be fixed when somebody spends 2-6 weeks on backup/restore rewrite, but first we have to complete conversion to new files API.

For now you can sql dump/restore 1.9.x and upgrade guiño
En respuesta a Joseph Rézeau

Re: Moodle 2.0 - Restore not enabled?

de Joseph Rézeau -
Imagen de Core developers Imagen de Particularly helpful Moodlers Imagen de Plugin developers Imagen de Testers Imagen de Translators
BUMP
I really need the backup and restore functionality to be available in moodle 2.0 to conduct tests on the Questionnaire module... Any deadline?
Joseph
En respuesta a Joseph Rézeau

Re: Moodle 2.0 - Restore not enabled?

de Petr Skoda -
Imagen de Core developers Imagen de Documentation writers Imagen de Peer reviewers Imagen de Plugin developers
En respuesta a Petr Skoda

Re: Moodle 2.0 - Restore not enabled?

de Blair F. -
Imagen de Particularly helpful Moodlers
Just adding my name to the list who are waiting for the restore function. Hopefully soon!
En respuesta a Blair F.

Re: Moodle 2.0 - Restore not enabled?

de Marc Grober -
Moodle 2 Preview 2 and there is still no way to import/restore courses?
En respuesta a Marc Grober

Re: Moodle 2.0 - Restore not enabled?

de Tim Hunt -
Imagen de Core developers Imagen de Documentation writers Imagen de Particularly helpful Moodlers Imagen de Peer reviewers Imagen de Plugin developers
There are these things called 'release notes' that answer questions like this: Moodle_2.0_Preview_2_release_notes
En respuesta a Tim Hunt

Re: Moodle 2.0 - Restore not enabled?

de sam marshall -
Imagen de Core developers Imagen de Peer reviewers Imagen de Plugin developers
Surely that wasn't a question - it was more of a complaint. sonrisa

If there was a question, then well, restore (of 2.0 backups) will probably be in preview release 3. Or maybe 4. Or 5. Who knows! Relax and enjoy the ride... sonrisa

--sam
En respuesta a sam marshall

Re: Moodle 2.0 - Restore not enabled?

de Marc Grober -
As I have suggested elsewhere, there is no basis for the July release date as I don't believe any rational SA is going to put an enterprise at risk rolling out m^2 for a term that starts 30 days later.

And one need only consider Peter Seaman's comments (Case for Moodle vs D2L) to appreciate that software with major gaps released to meet artificial deadlines does not do the brand any service (even if Microsoft does it all the time.)

fact is, that we really don't have a fully functioning beta, let alone a release candidate and I have to argue that it is better to take time with m^2 and release a complete and fully vetted product than offer a partial birth....

And yes Tim, I should have read further down the notes. Silly me to think a product allegedly 30 days from release would be fully functional.
En respuesta a Marc Grober

Re: Moodle 2.0 - Restore not enabled?

de Ted O'Neill -
"...there is no basis for the July release date as I don't believe any rational SA is going to put an enterprise at risk rolling out m^2 for a term that starts 30 days later."

Just a plea from part of the world where school terms start in April. A late July release date gives just enough time for m^2 to go through the fixes and teething pains needed before I can get everyone at my uni in line for a Feb/Mar upgrade in time for April 2011. They are conservative (not a bad thing in admins) and will *never* upgrade mid-year, so if I miss that window, we won't get m^2 goodness until 2012.

I'd really like to see Moodle 2.0 come out on time. Even without the Restore functionality. I've already discussed workarounds with our Moodle Partner.

And, one more thing! Plenty of SAs will never risk rolling out a dot-zero release anyway regardless of features. They will always wait for a fix or three.