Because autobackups was set to 'Course Backup File Area', the file is stored in /moodledata/filedir/ by it's contenthash. Take the 3397 file... called backup-moodle2-course-4-themetest-20181121-1225.mbz in meta data (the DB) is physicially in /moodledata/filedir/c7/f2/ and it's name is really c7f218e13d0aff494e90bad606151c9a19996130
Nov 21, 2018 · Because autobackups was set to 'Course Backup File Area', the file is stored in /moodledata/filedir/ by it's contenthash. Take the 3397 file ... called backup-moodle2-course-4-themetest-20181121-1225.mbz in meta data (the DB) is physicially in /moodledata/filedir/c7/f2/ and it's name is really c7f218e13d0aff494e90bad606151c9a19996130
Aug 19, 2021 · php backup.php --courseid=25 --destination=\\moodledata\backup. where '--courseid' is the id of the course that you want to backup. The .mbz backup file for courseid=25 will be stored in the backup subfolder in the Moodledata ($CFG->dataroot) folder.
Mar 12, 2020 · From the command line CD to the Moodle \admin\cli folder and run this command: php backup.php --courseid=25 --destination=\\moodledata\backup where '--courseid' is the id of the course that you want to backup. The .mbz backup file for courseid=25 will be stored in the backup subfolder in the Moodledata ($CFG->dataroot) folder. Tips and tricks
Aug 10, 2021 · In Site administration > Courses > Backups > General backup defaults, there is a setting for "Include logs." By default, this is off. If you enable this, then the logs from the user activities can be saved as the option "Include course logs" will now appear on the backup menu of items to include in the backup.
Re: And WHERE do the moodle backup files go?Select a course from courses.Click Backup.Set what is to be backed up.Make the backup.Click Continue.IMMEDIATELY download the backup.When the download advice appears at the bottom of the Moodle window, right click it and select show in Finder.More items...•Oct 13, 2019
Where can I find my backup files?Open (My) Computer/This PC.Open the Backup Plus drive.Open the Toolkit folder.Open the Backup folder.Open the folder that is named after the computer that was backed up.Open the C folder.Open the Users folder.Open the User folder.
A site backup allows a site administrator to save everything associated with a moodle site. These backups can be restored to bring a site back to the point in time when the backup was made.Apr 16, 2021
Restoring a course backupGo to Settings > Front page settings > Restore or Settings > Course administration > Restore.Upload the backup file or choose a file in the course backup area or user private backup area and click Restore.Confirm - Check that everything is as required then click the Continue button.More items...•Jul 5, 2012
By default, File History backs up important folders in your user folder—stuff like Desktop, Documents, Downloads, Music, Pictures, Videos, and parts of the AppData folder. You can exclude folders you don't want backed up and add folders from elsewhere on your PC that you do want backed up.Aug 11, 2017
Right-click the Windows icon, choose Settings > Update & Security > Backup. Step 2. Under Back up using Windows File History. Click More Options to open Windows 10 Backup Options.Feb 17, 2022
The moodledata directory is initially created with an initial install of a Moodle site. Site administrators can see the actual moodledata directory name and location in the config. php file.Aug 26, 2011
/To set the backup schedule:Go to Administration > Site administration > Courses > Backups > Automated backup setup.Set backup_auto_active to enabled.Select the days of the week to run the backup.Set the execution time for the backup process. ... Set the "Save to..." path.Apr 15, 2020
Downloading a backup fileGo to your course site in Moodle.Find the Administration block: Click Restore.Go to the User private backup area.Find your backup file. (The most recently created file will be at the top of the list.) ... Click Download to copy the backup to your hard drive.
Exporting Content From Moodle From within a course, from the course Administration menu, choose Backup. Select whether to export as a Common Cartridge or a native Moodle file. Follow the succession of screens, to complete the process.
To access an archived course, click on the link within the Kiosk. To view all courses, click "Show all X courses" where X is the number of hidden courses. Any gray links indicate courses that are hidden from student view.
Anonymize user information is a backup feature which "protects user identities" by making each user anonymous. If this box is checked in the backup initial settings, Moodle will substitute aliases for real names, substituting @doesntexist.com email addresses and so forth. For example "Max Manager" might become "anonfirstname4 anonlastname4".
Note: With large courses it is helpful to be able to continue working while a course backup is being made. To achieve this, you need to enable asynchronous backups in Site Administration / Courses / Backups / Asynchronous backup/restore .
Lose content after a restore in Moodle 2.0 ? Do you see topic headings that say "Orphaned activities"? Solution: Go to course settings and increase the number of topic sections and things will return to normal.
The backup and restore processes can offer the teacher and administrators many creative solutions.
Default settings for course backups can be set by a site administrator in 'General backup defaults' in the Site administration.
Before proceeding, it would be advisable to have a second admin account just in case something goes wrong.
Site backups are recommended in order to have all data saved with the best confidence and the shortest recovery time.
This is an intentional design decision. Because of the way files are stored in Moodle 2.x, there is no need to include the files in the backup if you are planning to restore them to the same Moodle site. Leaving them out saves huge amounts of disk space and makes the backup procedure much faster.
By selecting all the options when setting up the backup you can include almost all the data in the course. However you should be aware of the fact that some things are not backed up:
In Site administration > Courses > Backups > General backup defaults, there is a setting for "Include logs." By default, this is off.
In Site administration > Courses > Backups > General backup defaults, there is a setting for "Include histories." By default, this is off.
See Backup via CLI in Course backup and Restore via CLI in Course restore (new in 3.10 onwards).
This part of the backup (or restore) procedure tries to delete old info, used in previous executions, performing the following tasks:
Access to files is governed the same way as the items that they attached to, which is what people expect. All files are now controlled by the settings in the Moodle interface, including roles and permissions.
If a forum post with attached files (eg images) is imported into another course, then the files move with it. Anyone in the new course will also see the files. This makes activities more portable and re-usable.
It is now fast and easy to re-use files across Moodle. Using the file picker, a recently-used file may easily be chosen, or a file from any course a user has access to.
The world is turning towards better management of files and less "dumping" of files into disks. There are many repository solutions out there that focus on better management of files, with versioning, workflow, metadata and other features.
Metacourse - If you are backing up the content of a metacourse, you may enable this option so that relations between the courses will be exported and the restore process will try to rebuild them in the destination server.
Users with the capability moodle/backup:userinfo (by default only admins) have the following additional backup options:
The backup and restore processes can offer the teacher and administrators many creative solutions.