Moodle plugins directory: Vault - Site migration | Moodle.org
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 - postgres, mysql 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.
Contributors
Marina Glancy (Lead maintainer)
Please login to view contributors details and/or to contact them
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