Deploying configuration

Deploying configuration

per Simon Vart -
Nombre de respostes: 6

Hello,

I was wondering if there is a way to migrate local Moodle configuration to another Moodle instance ?

My opinion was to backup and upload the database table <prefix>_config and <prefix>_config_plugins - but would it be enough ? 

It would require that the the moodle filesystem is strictly the same on both instances (use case would be for example from qualification to production).

Is there another way (a plugin maybe) to export and reinstall a moodle configuration ?

Thanks by advance to any input to this question.

Regards

Mitjana de qualificacions: -
En resposta a Simon Vart

Re: Deploying configuration

per Tim Hunt -
Imatge Core developers Imatge Documentation writers Imatge Particularly helpful Moodlers Imatge Peer reviewers Imatge Plugin developers
En resposta a Tim Hunt

Re: Deploying configuration

per Simon Vart -

Hi Tim,

Thanks for your response - but it is not exactly what i'm looking for and maybe my question was too vaguely formulated.

I don't want to migrate the content but only the configuration options

Courses, users, files - I don't want to transfert them. The targeted Moodle will already have  content.

All I want to migrate is the configuration of the core and the plugins - basically, all the checkboxes, texts, and parameters from the core and all plugins.

The context is to have one server on which we deploy updates and test new features. 

If they are OK, we will transfert them to a live server - meaning manually installing new features (like installing a plugin).

But then we'll have to configure the plugin of the new server - so I was wondering if we could just export some tables from the test server database, import them to the live server database, and then we are to sure to have the right, tested, settings.

En resposta a Simon Vart

Re: Deploying configuration

per Dan Poltawski -

You might find the Moodle flavours plugin useful.

En resposta a Dan Poltawski

Re: Deploying configuration

per Chris Schembri Baldacchino -

Does anybody know whether this plugin works in Moodle 2.8? If not, is there an alternative to replicate settings from one Moodle instance to another (fresh) instance.

Much thanks!