Didn't find a forum that 'fit' ... so this one closest? to what is sought, I think.
When an add-on/plugin is initially installed it creates it's own tables
in the DB and they also update/add data to some core tables.
Example: An add-on called eduvision has entries in mdl_modules
and mdl_config_plugins - others?
There are also entries in mdl_config related to eduvision.
Is that 'normal' - entries in mdl_config? Think it's the only one I've seen that does that.
When there is an update available for a plugin/addon via mdeploy,
the process for update shows a link to a zip file where the update will
be acquired in the warning screen that states no backup is made prior to
the update/upgrade of the plugin. It suggest to make a 'snapshot' backup
at that point.
What other core tables would be involved in updating/upgrading an add-on?
And, if one were to do a 'snapshot' that is NOT full SQL dump and tar ball
of the code, could a home grown 'snapshot' be a single sql dump of core tables + tables
for the addon/plugin and code of the addon/plugin thus enabling a 'rollback' of the addon/plugin?
That's close to what mdeploy does right now, I think, but no 'rollback utility'
exist in admin interface to use mdeploy directory files and 'rollback' a troubled upgraded addon/plugin.
A rollback would be a great improvement over entire site SQL dump. IF, for example,
in-compatibilities was discovered a week later or white screens of death started to
appear, rolling back the entire site means students/teachers/site looses data collected that entire week. Best, if one could rollback only that which was
updated/changed specifically to the troubled addon/plugin (might still loose some data, but that would be limited to just the plugin/addon.
And another thought ... there is a tool to check how your server suits current and future installation requirements ... shows things like Moodle version, PHP and extensions, MySQL(DB) version etc. Sure would be nice to have a similar tool that checked all plugin/add-on compatibility for current version to higher versions.
Thanks, in advance, for any thoughts.
'spirit of sharing', Ken