where is the course backup folder in moodle located?

by Susana Kozey 3 min read

To find the backup file for a course, go to the front page of that course, click Administration->Files, and look for a folder named backupdata. The backup file for the course should be found in that folder. If you don't see a backupdata folder, or if the folder is empty, then backups are not being made.Nov 28, 2006

Full Answer

What is a course backup in Moodle?

In earlier versions of Moodle, a way of rolling a course forward without past student activity Creating a blank activity, save just that activity and then restore it to the course or another course one or more times. Default settings for course backups can be set by a site administrator in 'General backup defaults' in the Site administration.

How do I backup my moodledata folder?

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. From the command line CD to the Moodle \admin\cli folder and run this command: php backup.php --courseid=25 --destination=\moodledata\backup

How do I backup a course?

To backup a course Go into the course. Click the Backup link either in the gear menu or the Administration block (depending upon the theme). Initial settings - Select activities, blocks, filters and other items as required then click the Next button. Schema settings - Select/deselect specific items to include in backup, then click the Next button.

How do I save a course in Moodle?

A course can be saved with some or all of its parts by using the course backup. Typically, the site administrator will set a schedule of automated course backups for the whole site. A teacher can create a backup or download an existing backup for safe keeping, or for use on another Moodle site.

How do I access my course backup on Moodle?

Once you have confirmed your backup setting are correct, click the “perform backup” button. You will then be taken to a page which confirms that your backup was successful. Here you can click the “continue” button to be taken to where you can get a copy of the backup file to download it and save it offline.

Does Moodle have backups?

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.

How do I download a backup course in Moodle?

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.

How do I backup and restore a course in Moodle?

Restoring a course backupGo to 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...•

How do I setup a backup in Moodle?

To set the backup schedule:Go to Settings > 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.More items...

What does site backup and course backup mean?

A course can be saved with some or all of its parts by using the course backup. Typically, the site administrator will set a schedule of automated course backups for the whole site. A teacher can create a backup or download an existing backup for safe keeping, or for use on another Moodle site.

How do I export a course from Moodle?

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.

How do I unzip a Mbz file?

ZIP files, you can extract the contents in the archives by renaming the . mbz file extension to . zip. Then, extract the contents using a Zip-decompression utility, such as Corel WinZip or Apple Archive Utility.

How do I backup my entire Moodle?

First sign into your Moodle administration panel:Once you are logged in you should click on the Site home option on the left:Then, in Administration under the Front page setting drop-down menu, you have to choose the Backup option:There, you will see the 5-stage backup process.More items...

What is backup class?

When a student misses one class due to health problem, or any other issue, and then he/she wants teacher to give him/her extra time so that they could learn what they have missed this application format will apply.

What is the difference between import and restore in Moodle?

Restore begins in the original course--the course to be copied. A backup is "pushed" into a target new or existing course. Import begins in the target new or existing course--the course to be copied into. A backup of another course is then "pulled" into that course from the original course.

Re: Location of Backup Files

To find the backup file for a course, go to the front page of that course, click Administration->Files, and look for a folder named backupdata. The backup file for the course should be found in that folder.

Re: Location of Backup Files

When you log onto the server (using ssh or ftp ), you will find the course files under the moodledata directory. Under moodledata, there will be a numbered directory for each of your courses. The backup file for course 2 will be in moodledata/2/backupdata, and so-on.

Re: Location of Backup Files

I finally figured out how to download a backup (zip) file to my local machine.

Re: Location of Backup Files

If you have administrator privileges (you didn't make this clear), then go to the Administration block of the front page of your site and click the Restore link. This will take you into the backupdata folder of course number 1 (the front page course). Upload your zip file, then click the Restore link to the right of the file name.

Re: Location of Backup Files

guys, i'm trying to re-located the path of my backup data to another server, example, the original path was in c:\moodlebackup , i want to change it into another server,is it possible ?? thanks... i really need your help...

Anonymizing user information

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".

Asynchronous course backups

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 .

Tips and tricks

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.

Creative uses

The backup and restore processes can offer the teacher and administrators many creative solutions.

General backup defaults

Default settings for course backups can be set by a site administrator in 'General backup defaults' in the Site administration.

Error: Trying to restore user 'admin' from backup file will cause conflict

Before proceeding, it would be advisable to have a second admin account just in case something goes wrong.

Do filenames include the short name of the course?

The filenames do include the shortname of the course ... depending upon things that could be handy to know ... it also includes a date/time stamp in the name. That too is handy to know. However, one has to use the DB to see the location of those backups ... and who made them.

Is setting up a specific folder in which to create backups better?

" As you say, setting up a specific folder in which to create the backups sounds like a much better system, as that way the backup files are in an identifiable location and they also have identifiable/helpful filenames. "

Course Backup versus User Backup Area (file location?)

This past February we changed the automatic backup to go into a specified directory. So I know where those backups are! However, when I go to Backup under the Course Administration, I have a backup under "Course backup area" as well as some in the "User Backup Area". Where are these files kept so we can delete them?

Re: Course Backup versus User Backup Area (file location?)

No tool in core code nor plugin that I've found that will 'delete them all'.

Re: Course Backup versus User Backup Area (file location?)

Just as a side note, I understand that there is a bit of a push on for doing more things in bulk. As courses grow in number, there is going to be an increase in demand for disk space. This may not have been a big issue in the past, but it is not going to go away. OK, disk space is cheap, but we can't hold on to everything.

Where is the backup stored?

When I have restored one course v1.9 to v2.5, where is the backup stored?

Re: Where is the backup stored?

Is this what you mean? You want to find out where your files are stored in your file system?

Re: Where is the backup stored?

I am restoring the v1.9 courses in the new v2.5. When the system ask me for the backup, I examine in mi pc and I upload the file. Finally, when I have finished I'd like to delete the uploaded file, but I don't know where is. My question is: how to delete this uploaded backup file?

image

Backing Up A Course

Image
To backup a course 1. Go into the course. 2. Click the Backup link either in the gear menu or the Administration block (depending upon the theme). 3. Initial settings - Select activities, blocks, filters and other items as required then click the Next button. Users with appropriate permissions, such as administrators and man…
See more on docs.moodle.org

Anonymizing User Information

  • 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".
See more on docs.moodle.org

Asynchronous Course Backups

  • 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.
See more on docs.moodle.org

Tips and Tricks

  • 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 retu...
See more on docs.moodle.org

Creative Uses

  • The backup and restore processes can offer the teacher and administrators many creative solutions. 1. Duplicating courses or specific activities in one course to another course (similar to Import) 2. Updating a production Moodle site course, with material from a localhost site course 3. Transferring a course to a new Moodle site. 4. In earlier versions of Moodle, a way of rolling a co…
See more on docs.moodle.org

General Backup Defaults

  • Default settings for course backups can be set by a site administrator in 'General backup defaults' in the Site administration. Selected settings may be locked, so that they cannot be changed when creating a course backup. By selecting a time in the "Keep logs for.." dropdown, it is possible to specify how long backup logs information is kept before being deleted. As this information may …
See more on docs.moodle.org

Course Backup Stops Above 90%, Not Showing Any Errors

  • This has been reported to be caused by: 1. a non-standard course_format. Try replacing the course format. 2. not enough server RAM. Adding more RAM to your server is usually the first performance recomendation.
See more on docs.moodle.org

Course Backup Capabilities

Error: Trying to Restore User 'admin' from Backup File Will Cause Conflict

  1. Before proceeding, it would be advisable to have a second admin account just in case something goes wrong.
  2. Check that the admin accounts on each server have different unique usernames and email addresses and then try again to backup up the course with user data and restore it.
  3. Note that the admin account from the imported file may loose the password and become un…
  1. Before proceeding, it would be advisable to have a second admin account just in case something goes wrong.
  2. Check that the admin accounts on each server have different unique usernames and email addresses and then try again to backup up the course with user data and restore it.
  3. Note that the admin account from the imported file may loose the password and become unusable;
  4. You are advised to update/reset the 'imported' main 'admin's account's password before logging out, as this will most likely be the main 'admin' account for the site, and you would get into serious...

See Also

  1. Course restore
  2. Backup of user data
  3. Activity backup
  4. Administrators can use MOOSHto bulk backup and restore courses from CLI
See more on docs.moodle.org