Drupal is one of the popular content management systems available today and hence the probability of the Drupal site getting hacked is also very high. While developing a Drupal website, you can do lots of things to ensure consistency and surpassing user experience. Being an excellent CMS, Drupal offers several benefits related to flexibility. The platform allows you to customize every minor thing in the site. But all these benefits would just take a flip if you forget to have consistent and regular backup of your site.
According to a research conducted last year, the attackers are gaining access to more than 30,000 websites each day and the count will be even more today. After hacking, most of the affected websites might end up losing their data. Hacking is definitely one of the major causes for data loss while botched updates, corrupted hard drives and server hiccups are the other causes. So in order to be on a safer side, you need to have an efficient backup plan for your Drupal site.
How to back up your Drupal site manually?
There are two main sections you need to backup in your Drupal site; the files and database. Backing up the files is pretty straightforward. You just have to perform 2 main steps. They are:
- Execute your FTP client so that you can access the hosting server.
- Once you get the access to server, download the Drupal directory and save it in a safe location. Using Cloud solutions like Dropbox provides additional safety for the directory.
To back up the entire database, you will have to use phpMyAdmin. Here are the steps:
- First step is to gain the access to phpMyAdmin from cPanel.
- Once you get the access to phpMyAdmin, you can select the database to back up by just clicking on it. All the tables found in the database will be opened.
- You will find an option called “Export” on the top. Just click on that.
- Then click on Custom which displays all the options. Make sure that you have selected all the tables.
- Under “Object creation options” you will find an option to configure all the existing tables to be replaced on database import. Mark the box with “Add drop table” statement.
- Then click on “Go” to save your database on to the desired location.
How to back up your Drupal site automatically?
- Manual backup is not just time consuming but also you need to have the presence of mind to back up without forgetting. Fortunately, the platform offers automatic backup through the use of modules.
- Backup and Migrate module is the leading module which is being used by more than 250,000 sites today. The module supports several backup destinations like Dropbox, FTP, Amazon S3, email, etc. It also allows you to schedule backups and to restore the databases.
Do you have any requirements on Drupal web development? Just get in touch with us! At Fortune Innovations Chicago, we provide our clients with both onsite and offshore web development. Our ingenious developers analyze your requirements thoroughly and provide you an ideal solution at an affordable cost.