As you can see the location of the file has changed, on my local machine it is in a directory called 4 and on the server it is at /5/. Anything I can do to align these so that the restore points to the same resource?
I think that, independent of the type of resource (html text, uploaded file...) it's highly recommended that you use the "slasharguments" option in your URLs.
This implies modifying all your links from:
You can set "slasharguments" under the "Administration/Configuration" page
(your server could need some adjustment, press over this "slasharguments" word for more info).
Then, working under a "slasharguments-server" you'll benefit of this:
- If you use uploaded resources, all your links in them can be specified relatively, so you won't need to use the "courseid" anymore. Your uploaded resources will be fully "movable".
- If you are using html resources, all your links in them will be absolute, but using the "slasharguments" syntax. If I'm not wrong, the backup and restore procedure (only in Moodle version >= 1.3) will modify that links "on the fly", making this html resources fully "movable" too.
Hope this helps, ciao
Many thanks for the suggestion Eloy, I'll give it a try.
Wooo hooo, it works. I thought it was going to work but I would have to change the URL's in my source, but no it just works!. Who says open source software isn't supported eh? Thanks again for the replies.
As teacher-user, not familiar with (or no privileged user),
how would I backup my complete course and restore it, using my teacher-interface, just to loose loginfo and keep everything else intact?
This way i can demonstrate a complete marvel to my collegues,
everything I ever build within moodle, is totally re-usable.
People can re-use questions from pools for their other quizes,
AND can re-use complete courses or other activities.
Maybe I'm off topic but (and IMO):
- you can backup your course using menu Administration-Backup... During creating backup you can choose what parts of course to include (eg ypu would include everything except logs). Your backup will be created in your course files as a ZIP file
- if you want to restore your backup (ie template course in your case) into new course you must have at least CourseCreator (or Admin) privileges set by your Moodle admin