can i backup a course from a server and restore it on another server ?

can i backup a course from a server and restore it on another server ?

by REMI PICARD (substitute) -
Number of replies: 3

hi,

does the backup of a course is "stick" to the orginal source server or can i restore it on another moodle server with the same version/release  but with differents users, different categories, differents roles ?

will that restoration make bug or trouble with ID or things in the database ?


The only common things between the two servers are :

- moodle version release

- theme template


Thank you for your kindness of information & help.


Average of ratings: -
In reply to REMI PICARD (substitute)

Re: can i backup a course from a server and restore it on another server ?

by Ken Task -
Picture of Particularly helpful Moodlers

Might want to read:

https://docs.moodle.org/36/en/Backup_and_restore_FAQ

'spirit of sharing', Ken


Average of ratings: Useful (1)
In reply to Ken Task

Re: can i backup a course from a server and restore it on another server ?

by REMI PICARD (substitute) -

ok i read.


so, as my users aren't the same, i guess the response is NO.


if the backup courses was created by the user XXX,   i need to have a user named XXX on the target server  to make it possible.


why the administrateur of the target server can't appropriate the course owner-rights while he's restoring it ?

In reply to REMI PICARD (substitute)

Re: can i backup a course from a server and restore it on another server ?

by Ken Task -
Picture of Particularly helpful Moodlers

"so, as my users aren't the same, i guess the response is NO"

One can make either full course backups that include users and their data in the course, or NO USER backups which still has all the content but no users ... nor their assignments, nor their forum postings, etc.  Admin user can restore a backup to any category on new server that exist.  Even restore a backup to an existing course.

"if the backup courses was created by the user XXX,   i need to have a user named XXX on the target server  to make it possible."

Superuser or admin on new server can restore courses of either type (full user backups or no user backups).  That user doesn't have to be in either of those types of backups ... probably best the superuser isn't made a teacher nor a student in those backups ... conflict of roles possible (if admin account on both servers were made with same username (admin) same email address).

"why the administrateur of the target server can't appropriate the course owner-rights while he's restoring it?"

Admin user on any system is superuser ... has access rights to all.

There is one way to find out the in's and out's of backups and restores and that's to try it as the admin user.

'spirit of sharing', Ken