Vault - Site migration

Administration tool ::: tool_vault
Maintained by Marina Glancy
Migrate the whole Moodle site to a new location or to a different database
Latest release:
16 sites
107 downloads
10 fans
Current versions available: 1
Vault allows you to make a full backup of the site, push it to the cloud and then restore on the other Moodle site.

See also https://lmsvault.io/

Features:

  • Vault will export and import database structure, schema modifications, tables content and sequences.
  • Vault can restore not only into a different DB version but also into a different DB type (i.e. from mysql to postgres or vice versa);
  • Vault plugin does not need to have access to mysqldump or pgdump, database will be exported using Moodle DML.
  • Vault will export and import all files, regardless of the file system (local disk, S3, etc), the file system on the restored site can be different from the backup site;
  • Vault will export and import additional folders in the dataroot.
  • After restore Vault will perform some necessary post-restore actions, for example, purge caches, kill all sessions, optionally uninstall missing plugins etc.
  • Vault does not back up or restore Moodle code or add-on plugins code.
  • Vault does not back up or restore its own tables.
  • Other plugins can also be excluded during backup/restore (with some limitations).
  • You may choose to set passphrase during backup which will be used to encrypt uploaded files. Vault API never has access to your passphrase, it is only used to sign the requests to AWS S3.

Requirements:

  • The site where you restore also has to have Moodle installed, it can be a fresh installation;
  • Plugin tool_vault has to be installed on both sites - where you backup and where you restore;
  • The site where you are restoring has to have the same or higher Moodle version than the backup site;
  • Supported databases - postgresmysql and mariadb. Other database types are not yet supported;
  • You need to have enough space in your temp folder on the backed up site and enough space to store downloaded files on the site where you plan to restore.

Screenshots

Screenshot #0
Screenshot #1

Contributors

Marina Glancy (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Plugins bot
    Sun, 17 Mar 2024, 6:00 PM
    Approval issue created: CONTRIB-9522
  • Davor Budimir
    Thu, 28 Mar 2024, 2:11 AM
    Thank you for this amazing plugin. I can't wait for "premium" plan for larger Moodle installations (100GB+)
  • Marina Glancy
    Mon, 8 Apr 2024, 6:21 PM
    It may take a while to make the plugin ready for the commercial use. As mentioned in https://lmsvault.io/ , you can send an email and ask to be an early tester and we'll give you unrestricted access
  • Mohammad Nabil
    Thu, 25 Apr 2024, 5:44 PM
    i recently used this plugin as upgrade tool ( moodle 4.3 , postgres database )
    1- install fresh moodle 4.4 on a subdomain
    2- install plugin on my 4.3 and the new 4.4
    3- make a backup from 4.3
    4 -restore into 4.4 ,it work without any problem , just ibstall missing plugins before continue
    5 - move old 4.3 to temp directory , move the new 4.4 to the main domain
    thank you for this amazing plugin
Please login to post comments