How To Backup Data from LMS Data?

How To Backup Data from LMS Data?

How To Backup Data from LMS Data?

An LMS backup is performed, when you want to recover lost data. Backup is also performed, when you migrate the data from an older version of the LMS to a new version. So, how do you perform a backup of the data from your LMS? Well, if you are left scratching your head, it’s time to take a look at how it is done.

While developing an LMS, we create two folders, “LMS name” and “LMS data name”, where all related files will be stored. Now, when creating a backup, we need to zip the files in both the folders and dump into a new folder.

Let’s see how to dump MySql data

Step 1: Click on Start -> Run and type cmd in Run

Step 2: Go to the drive where xampp is installed. For example

>E: (If it is in E drive)

Step 2

Step 3: Type dir to list out the files present in a drive.

Step 3

Step 4: type cd xampp, and then press enter key

Step 4

Step 5: Go for MySql folder inside xampp by typing

                 >cd MySql

Step 5

Step 6: Enter into bin folder inside MySql by typing

                 >cd bin

Step 6

Step 7: We have to run a command in bin to take a backup

MySqldump –u username –p database name > backupname.sql

Step 7

Step 8: When we press enter key, it will ask for a password, enter the password which was created at the time of creating a database.

Step 8

Step 9: Type cd .. to go to previous folder

Step 9

Step 10: Type start bin

Step 10

After this command, we can see that a .sql file is downloaded in our system. The above file downloaded is a backup file for Moodle LMS database.

This is how you can take the backup from your LMS, I hope this blog was helpful to you.

View Presentation on How to Get Rid of LMS Administration Headaches