ccklion.blogg.se

Users folder backup
Users folder backup













  1. #USERS FOLDER BACKUP ZIP#
  2. #USERS FOLDER BACKUP WINDOWS#

The backup and restore processes can offer the teacher and administrators many creative solutions. 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. mbz backup file for courseid=25 will be stored in the backup subfolder in the Moodledata ($CFG->dataroot) folder. Where '-courseid' is the id of the course that you want to backup. Php backup.php -courseid=25 -destination=\\moodledata\backup From the command line CD to the Moodle \admin\cli folder and run this command: If you have your Moodledata folder setup on a separate data server you can specify a UNC path to your backup folder on that data server.

#USERS FOLDER BACKUP WINDOWS#

On Windows you will use cmd.exe to run the /admin/cli/backup.php script. Sudo -u www-data /usr/bin/php admin/cli/backup.php -courseid=2 -destination=/moodle/backup/ If not set the backup will be stored within the course backup file area.) destination=STRING (Path where to store backup file. courseshortname=STRING (Course shortname for backup.)

users folder backup

courseid=INTEGER (Course ID for backup.) Site administrators can backup selected courses using a CLI script. To achieve this, you need to enable asynchronous backups in Site Administration / Courses / Backups / Asynchronous backup/restore. Note: With large courses it is helpful to be able to continue working while a course backup is being made. For example "Max Manager" might become "anonfirstname4 anonlastname4". If this box is checked in the backup initial settings, Moodle will substitute aliases for real names, substituting email addresses and so forth. Tip: If you are satisfied with the default settings and don't wish to go through all the backup screens, you can simply click 'Jump to final step' to perform the backup.Īnonymize user information is a backup feature which "protects user identities" by making each user anonymous. Backup file names are of the form backup-moodle2-course-coursename-date-hour.mbz, ending in -nu.mbz when backed up with no users and -an.mbz with anonymized names.

#USERS FOLDER BACKUP ZIP#

zip files) is then saved in the course backup area.

  • Confirmation and review - Check that everything is as required, using the Previous button if necessary, otherwise click the 'Perform backup' buttonīack up screen with option to select activity typesĪ backup file (with distinctive.
  • users folder backup

    If desired, select specific types of activity to be backed up by clicking the link 'Show type options'.Schema settings - Select/deselect specific items to include in backup, then click the Next button.Users with appropriate permissions, such as administrators and managers, can choose whether to include users, anonymize user information, or include user role assignments, groups, groupings, user files, comments, user completion details, course logs and grade history in the backup. Initial settings - Select activities, blocks, filters and other items as required then click the Next button.Click the Backup link either in the gear menu or the Administration block (depending upon the theme).10 Error: Trying to restore user 'admin' from backup file will cause conflict.8 Course backup stops above 90%, not showing any errors.















    Users folder backup