---
title: How to Backup a Moodle Website
description: "To backup your Moodle Website, there are two ways you can proceed - Using softaculous (recommended) - Using file manager ## Using Softaculous 1.Login to cPanel and navigate to Softaculous App Installer ![](http://truehost.com/support/wp-content/uploads/2022/10/Screenshot-2022-10-19-at-12-24-18-cPanel-Tools.png) 2.Click **Installations** then click the **Backup Icon**…"
url: "https://truehost.com/support/knowledge-base/how-to-backup-a-moodle-website/"
updated: "2024-06-07"
---

# How to Backup a Moodle Website

To backup your Moodle Website, there are two ways you can proceed

- Using softaculous (recommended)
- Using file manager

## Using Softaculous

1.Login to cPanel and navigate to Softaculous App Installer

![](http://truehost.com/support/wp-content/uploads/2022/10/Screenshot-2022-10-19-at-12-24-18-cPanel-Tools.png)

2.Click **Installations** then click the **Backup Icon** next to your Moodle Installation. See below

![](https://truehost.com/support/wp-content/uploads/2022/10/Screenshot-2022-10-21-at-12-30-31-Softaculous-All-Installations-1024x260.png)

3.Allow sometime, depending on the size of your moodle site, for the backup to complete

![](https://truehost.com/support/wp-content/uploads/2022/10/Screenshot-2022-10-21-at-12-33-41-Softaculous-Backup-1024x213.png)

## Using file manager

You can also backup your moodle site using the file Manager. A complete backup of Moodle includes 3 things:

1. Moodle software (For example, everything in **public_html**)
2. Moodle uploaded files (For example, moodledata)
3. Moodle database (For example, your Postgres or MySQL database dump)

1.Login to cPanel and go to File Manager

![](http://truehost.com/support/wp-content/uploads/2022/10/Screenshot-2022-10-20-at-15-40-51-cPanel-Tools.png)

2.Navigate to the folder your moodle site was installed. If its the main site, this is the public_html folder. or a folder inside the **public_html** eg moodle30

3.**Right click** on the folder and select Compress

4.Repeat the step above for your data folder, by default this is called **moodledata**

You should then have 2 compressed (zip) files as follows

![](https://truehost.com/support/wp-content/uploads/2022/10/Screenshot-2022-10-21-at-12-39-50-cPanel-File-Manager-v3-1024x375.png)

5.Lastly, backup your database. Moodle uses either MySQL or PostgreSQL. The process of backing up either in cPanel is the same. Use the guide below

> [How to create MySQL backup in cPanel](https://truehost.com/support/knowledge-base/how-to-create-mysql-backup-in-cpanel/)

[“How to create MySQL backup in cPanel” — ](https://truehost.com/support/knowledge-base/how-to-create-mysql-backup-in-cpanel/embed/#?secret=HoM5bc39jH#?secret=TvQTFabO7z)
