If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

Drupal 7.x. How to restore a website from full backup

In this tutorial you will find out how to restore a full backup for your Drupal Site.

Drupal 7.x. How to restore a website from full backup

To back up the Drupal site, you may check the tutorial Drupal 7.x. How to make full website backup here.

There are 3 steps to restore the Drupal website from the full backup.

  1. First, restore the files.

    1. Log into your Host Control Panel . Go to File Manager :

      Drupal_How_to_restore_a_full_backup-1

      Select all the files, click Compress button to zip all the current files and download to your computer (you can skip this step):

      Drupal_How_to_restore_a_full_backup-2

      Go to Sites folder, change permission for default folder into 755, in default folder you also need to change permission for settings.php file into 644, so that you can delete all the files completely:

      Drupal_How_to_restore_a_full_backup-3

      Drupal_How_to_restore_a_full_backup-4

      Go back to the root directory, select all the files, and click Delete button:

      Drupal_How_to_restore_a_full_backup-5

    2. Click Upload button and upload the .zip file that we have backed up before. Then click Extract to unzip this file, so that you will have all the files back from the full backup:

      Drupal_How_to_restore_a_full_backup-6

    3. Go to sites folder to change permission for default folder into 755, open default folder to change permission of settings.php file into 644.

      Open settings.php file to remove all the content from this file. Then save it:

      Drupal_How_to_restore_a_full_backup-7

  2. Next, you should restore the database.

    1. Go to phpMyAdmin:

      Drupal_How_to_restore_a_full_backup-8

      Choose the right database of the website, select all the tables and then drop them:

      Drupal_How_to_restore_a_full_backup-9

    2. Click Import tab, Browse to import the .sql file that we had backed up before. Then click Go to start importing:

      Drupal_How_to_restore_a_full_backup-10

  3. Finally, we will connect the website to the restored database.

    Type the website URL in the browser address bar to see the installation page appearing:

    Drupal_How_to_restore_a_full_backup-11

    Continue all the steps you did to install the template:

    1. On the initial setup page you will be prompted to select the installation profile. Choose Demonstration site and click Save and Continue:

      Drupal_How_to_restore_a_full_backup-12

    2. Follow the instructions on the screen. Fill in the fields with your database name, username, password and hostname of the restored database:

      Drupal_How_to_restore_a_full_backup-13

    3. On the Choose snapshot step, select the snapshot as it is shown on the image below and click the Restore button:

      Drupal_How_to_restore_a_full_backup-14

Click Visit your site link to see that the website has been restored successfully.

Feel free to check the detailed video tutorial below:

Drupal 7.x. How to restore a website from full backup