Backup Joomla Manually

Backing up Files

When backing up files manually, you can always use an FTP client to transfer the files and folders to your local storage disk. However, given the multiple core files that comes with in addition to your media content (i.e. videos, photos, extensions, etc.), the file may become bigger and thus prolong the transfer process.

The most efficient way of doing this is using the File Manager tool found on the cPanel. Here’s how to go about it:

  • Access the main folder of the installation.
  • In the main folder, select all the files and press the Compress button located on top of the page.
  • Next, click on the Compress File(s) button to prompt File Manager to create an archive of all folders and files you wish to back up.
  • Using an FTP client or a regular browser, download the backup file and save it on your hard drive.

Your files are now safe and you can recover them in case of any errors.

Next, let’s look at how you can manually backup your database.

Backing up Joomla Database

There are two main ways of doing this. One, you can the SSH console or utilize the phpMyAdmin feature found on the cPanel. Regardless of the option you choose to backup your database, you should have the following information by your side: MySQL database name, its username and password.

Note that this information can be easily obtained from the configuration.php file in root directory.

Using SSH to Backup Database

  • First of all, access your account.
  • Next, navigate to the site folder.
  • Once there, use the mysqldump command: mysql -uuser_t -ppasword user_tut > db-backup.sql as well as the information you obtained from the configuration.php to create a backup for you database.
  • Lastly, use your browser to download your database`s backup and save it locally. To obtain the download link, navigate your browser to: yoursite.com/db-backup.sql

Using phpMyAdmin Feature to Backup Database

  • Open your cPanel account.
  • Open the phpMyAdmin feature located in the databases section. Here, you will see a list of all the databases available.
  • Select the database you would like to backup and click on the Export button found on top of the page.
  • Leave the options in their default settings and click on the Go button to enable phpMyAdmin to generate a backup of your database.
  • Download the archive and store it on your local hard drive.