Website backups
A strong backup plan is critical for any successful website. A good backup plan will protect against hardware failure, allow you to transfer your website to another host, and allow you to recover from malicious hacking into your website.
When you create a backup plan, you should also test the restoration from this backup to make sure that the backup works correctly.
In this section, we will explore ways of performing backups regardless of the host that you are using. Your hosting provider may also offer a solution that will back up files and databases either one time, or on a recurring basis. If your host does provide backup capabilities, you should review them to see if they suit your needs completely, or if you want to augment them or replace them with the techniques in this section.
Manually backing up a site
In this section we learn how to back up our site's files, Drupal directory, and MySQL database.
Goal
Back up the website without using a custom backup module.
Steps
If...