Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6815

Re: Moodle 4.2.2 - Restore not working, where to delete running restores?

$
0
0
by Ken Task.  

0 backups is risky business! sad
Site backup ... bet the lions share of site backup is moodledata/filedir/ - making a tar.gz of that takes too long, so there is a 'better' way ... rsync it - progressively - that makes a mirror of it really.   So you will need same space filedir currently uses.

man rsync - if you have the online manual installed will show commands and options.

Course backups ... could be done with moosh ... did you get moosh working?  moosh backup command in a looping bash shell script that loops through course ID's.   In your case with 18,000 courses plus, you might need to evenly divide the course ID files into 1/7's - one per day - and yes, that would take a week to complete for all courses but you have something then ... which is better than nothing!

Using git?
Just today:
$release  = '4.2.2+ (Build: 20230920)'
The following is what changed:
 admin/category.php                                 |   3 +-
 admin/environment.xml                              |   2 +
 admin/index.php                                    |   6 +-
 admin/renderer.php                                 |   6 +-
 admin/searchreindex.php                            |   2 +-
 admin/settings.php                                 |   4 +-
 admin/settings/appearance.php                      |  12 +++
 admin/tool/filetypes/delete.php                    |   2 +-
 admin/tool/filetypes/edit.php                      |   2 +-
 admin/tool/filetypes/index.php                     |   2 +-
 admin/tool/filetypes/revert.php                    |   2 +-
 admin/tool/mobile/classes/api.php                  |   8 +-
 admin/tool/mobile/logout.php                       |   2 +-
 admin/webservice/documentation.php                 |  20 ++--
 auth/ldap/ntlmsso_attempt.php                      |   2 +-
 auth/ldap/ntlmsso_finish.php                       |   2 +-
 auth/shibboleth/login.php                          |   2 +-
 blog/edit.php                                      |   6 +-
 blog/external_blog_edit.php                        |   2 +-
 blog/external_blogs.php                            |   2 +-
 blog/lib.php                                       |  19 ++--
 blog/preferences.php                               |   2 +-
 cache/classes/loaders.php                          |   3 +-
 calendar/delete.php                                |   2 +-
 calendar/view.php                                  |   4 +-
 course/delete.php                                  |   4 +-
 course/edit.php                                    |   2 +-
 course/editcategory.php                            |   2 +-
 .../amd/build/local/content/bulkedittools.min.js   | Bin 4293 -> 5339 bytes
 .../build/local/content/bulkedittools.min.js.map   | Bin 10669 -> 13566 bytes
 .../format/amd/src/local/content/bulkedittools.js  |  46 ++++++++
 .../output/local/content/bulkedittoggler.php       |   7 ++
 .../local/content/bulkedittoggler.mustache         |   4 +-
 course/renderer.php                                |   6 +-
 course/search.php                                  |   4 +-
 .../activity_resource_description_display.feature  |  71 ++++++++++++
 course/view.php                                    |  10 +-
 customfield/field/textarea/lib.php                 |   2 +-
 customfield/lib.php                                |   3 +-
 grade/edit/tree/action.php                         |   4 +-
 .../tests/behat/behat_gradingform_rubric.php       |  60 ++++++-----
 grade/lib.php                                      |  69 +++++++++---
 grade/report/grader/lib.php                        | 119 +++++++++++----------
 .../collapse/collapseresultitems.mustache          |   4 +-
 .../report/grader/templates/collapse/icon.mustache |   2 +-
 grade/report/grader/tests/behat/locking.feature    |  63 +++++++++++
 .../singleview/classes/local/screen/tablelike.php  |   2 +-
 .../classes/local/ui/dropdown_attribute.php        |   1 -
 .../singleview/classes/local/ui/text_attribute.php |   2 -
 .../templates/dropdown_attribute.mustache          |   2 +-
 .../singleview/templates/text_attribute.mustache   |   3 +-
 h5p/libraries.php                                  |   2 +-
 h5p/overview.php                                   |   2 +-
 h5p/tests/generator/lib.php                        |   9 +-
 index.php                                          |   2 +-
 install/lang/no/install.php                        |   2 +-
 lang/en/admin.php                                  |   5 +
 lang/en/backup.php                                 |   2 +-
 lang/en/courseformat.php                           |   1 +
 lang/en/moodle.php                                 |   6 +-
 lib/adminlib.php                                   |   4 +-
 lib/classes/oauth2/client/linkedin.php             |  32 ++----
 lib/classes/oauth2/service/linkedin.php            |  76 +++----------
 lib/classes/task/scheduled_task.php                |   5 +
 .../tiny/plugins/equation/amd/build/ui.min.js      | Bin 6025 -> 6212 bytes
 .../tiny/plugins/equation/amd/build/ui.min.js.map  | Bin 11806 -> 12200 bytes
 lib/editor/tiny/plugins/equation/amd/src/ui.js     |  25 +++--
 lib/external/classes/external_api.php              |   4 +-
 lib/form/amd/build/collapsesections.min.js         | Bin 2545 -> 2555 bytes
 lib/form/amd/build/collapsesections.min.js.map     | Bin 5637 -> 5687 bytes
 lib/form/amd/src/collapsesections.js               |   8 +-
 lib/form/classes/external/dynamic_form.php         |   7 ++
 lib/grade/constants.php                            |   2 +-
 lib/grade/grade_category.php                       |  26 ++---
 lib/grade/grade_item.php                           |  14 ++-
 lib/grade/tests/grade_category_test.php            |  10 +-
 lib/installlib.php                                 |   2 +-
 lib/pagelib.php                                    |  46 ++++++--
 lib/resourcelib.php                                |   4 +-
 lib/templates/external_content_banner.mustache     |   3 +-
 lib/tests/behat/behat_general.php                  |  32 ++++++
 lib/tests/behat/behat_hooks.php                    |   2 +-
 lib/tests/behat/readonlyform.feature               |  38 +++----
 lib/tests/moodle_page_test.php                     |  63 ++++++++++-
 lib/tests/task/scheduled_task_test.php             |  46 ++++++--
 lib/upgrade.txt                                    |  12 +++
 lib/upgradelib.php                                 |  22 +++-
 lib/weblib.php                                     |   1 -
 login/index.php                                    |   4 +-
 login/logout.php                                   |   4 +-
 message/output/popup/notifications.php             |   2 +-
 mod/assign/tests/behat/page_titles.feature         |  10 +-
 mod/glossary/tests/behat/create_entry.feature      |  16 +++
 mod/lti/register.php                               |   2 +-
 mod/lti/registersettings.php                       |   2 +-
 mod/lti/toolconfigure.php                          |   2 +-
 mod/lti/toolproxies.php                            |   2 +-
 mod/lti/toolssettings.php                          |   2 +-
 mod/lti/typessettings.php                          |   2 +-
 mod/quiz/classes/form/edit_override_form.php       |   2 +-
 mod/scorm/aicc.php                                 |  35 +++---
 .../all_calculated_for_qubaid_condition.php        |  25 ++++-
 question/format/aiken/format.php                   |   4 +
 .../type/multianswer/amd/build/feedback.min.js     | Bin 0 -> 943 bytes
 .../type/multianswer/amd/build/feedback.min.js.map | Bin 0 -> 2162 bytes
 question/type/multianswer/amd/src/feedback.js      |  53 +++++++++
 question/type/multianswer/renderer.php             |   7 +-
 report/insights/done.php                           |   2 +-
 report/log/index.php                               |   2 +-
 user/editadvanced.php                              |   3 +-
 user/emailupdate.php                               |   2 +-
 user/profile.php                                   |  12 +--
 version.php                                        |   4 +-
 113 files changed, 926 insertions(+), 399 deletions(-)
 create mode 100644 course/tests/behat/activity_resource_description_display.feature
 create mode 100644 grade/report/grader/tests/behat/locking.feature
 create mode 100644 question/type/multianswer/amd/build/feedback.min.js
 create mode 100644 question/type/multianswer/amd/build/feedback.min.js.map
 create mode 100644 question/type/multianswer/amd/src/feedback.js

When one is on the 'leading edge', best to be able to get fixes ASAP - IMHO!

'SoS', Ken


Viewing all articles
Browse latest Browse all 6815

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>