Drupal - Site Backup


Advertisements

In this chapter, we will study about Site Backup in Drupal. It helps in backing up the files and the database file.

Backup Files in Drupal

Backup Database in Drupal

Backup Files in Drupal

To get the backup files of Drupal, you need to install FileZilla Client on your system.

Following are the simple steps for file backup in Drupal −

Step 1 − Open the FileZilla Client as shown in the following screen.

Drupal Site Backup

Step 2 − Enter the Host, Username, Password and Port as you have used to login to your cPanel.

Drupal Site Backup

After filling all the fields, click Quickconnect button.

Step 3 − You will get all files and folder of your Drupal site on the right side as shown in the following screen.

Drupal Site Backup

Step 4 − Select all the files and folders and right click the mouse, click the Download option.

Drupal Site Backup

After downloading the Drupal files from cPanel, it will get saved on your system.

Backup Database in Drupal

Following are the simple steps for database backup in Drupal −

Step 1 − Type the path http://localhost/phpmyadmin in browser. You will get the following screen.

Drupal Site Backup

Step 2 − Click the database name drupal, which you have created for Drupal.

Drupal Site Backup

Step 3 − After clicking on database drupal, it will open the following page, click Export tab.

Drupal Site Backup

Step 4 − Next, you will find two methods to export the database i.e. Quick and Custom. Select any one of the methods and click the Go button.

Drupal Site Backup

After exporting the database file, it will get saved on your system.

Advertisements