PHPMatters Help You Better Hosting Your PHP-based Sites
How to Backup Drupal Manually -  Gurantee a High Security Level for Drupal

How to Backup Drupal Manually – Gurantee a High Security Level for Drupal

As Drupal does an awesome job in website building for the powerful features, user-friendly installation & admin interface, thousands of themes and plugins, and others, more and more people prefer to use it for their websites. Then, after building a website with Drupal, you have some problems to work with, such as updating Drupal to the latest version and optimizing Drupal sites for better SEO.

However, the most urgent issue is about how to backup Drupal. If your website is hacked without a backup file for the latest changes, you may need to start your website from scratch. Therefore, we introduce how to backup Drupal to help you backup your files and database of your Drupal site efficiently.

Preparations

Before backing up your Drupal website, you need to install some tools to help you do your business with ease. FileZilla and phpMyAdmin are the two wonderful options to meet your needs. As they are open and free, you can easily get them from the Internet.

FTP Clients – FileZilla

FileZillaThere are various powerful FTP clients for you to choose, including FileZilla, SmartFTP, CuteFTP and more. The tool used in this article is FileZilla which is a free and amazing tool to help you download and upload the files for your website. No matter which system is used for your computer, it can run smoothly.

phpMyAdmin

phpMyAdminWhen backing up Drupal, you may use this functional and user-friendly tool named phpMyAdmin to help you manage the MySQL database which is essential for Drupal site. Actually, it is unnecessary for you to look for this tool on the Internet for most of the hosting providers offer it for free such as BlueHost .

Get to Start

Step 1 – Backup Your Files

Either the core files or the non-core files which is essential for the Drupal website. When you plan to backup Drupal, the first thing you need to consider is to download all of the
files.

To handle this step, you need an FTP client called FileZilla, which we have mentioned in the preparation part. You can open the tool FileZilla and find the folder named “drupal” in the installation directory.

After the folder is selected, you can right-click to open a menu, download the folder, and save it into your local directory. It is really easy for you to backup them, but you should make sure that the whole files are selected without missing.

Backup Your Files

Step 2 – Backup Your Database

When you are installing Drupal, you are asked to create your database for your website to store the data including the posts, images, sounds, and other content of your website. Therefore, backing up the database is also necessary to help you prevent the loss of your data.

Starting this step needs you to login your account of cPanel and find the icon named “phpMyAdmin” in the Datebase part. After clicking it, new window is opened, and then you can click the item “Datebases” to open the list of databases.

Backup Your Database

Choose the database which is used by your Drupal website. If you do not know which is the right one in the list, you can search the file called “settings.php” to find the accurate information. After selecting the database, you should click it to open a new menu. Next, click the item “Export” to open a new page, which allows you to choose quick export or custom export. Then by clicking the button “go”, you can backup the database automatically.

Export Database

Step 3 – Store Your Backup

In order to find the things you have backed up easily, you need to create a folder to keep the files and database in it. The name of the older should contain the date of the backup plan to make sure that you can quickly find out which is the latest backup files.

In addition, you need to save the backup files into multiple local storages instead of only in the web server. In this case, if you meet with the trouble that your web server cannot work, you can find the backup files in other storages.