How to Restore a Backup of Pagekit

Updated on Dec 10, 2015

To restore the backup of your Pagekit website, you will need two things - the files of the website and the database the website was working with.

To restore your Pagekit data you will need to:


Restore the Files

You need to move the backup of your Pagekit files to the location, where you wish to restore it. This can be done by using an FTP client or directly via the File Manager service within your cPanel account. Make sure that the directory you wish to restore your website is clean.


Restore the Database

In order to restore the database you will need a new, empty database to start with.

Create MySQL Database

For more information on how to create a MySQL database and username, please check our cPanel tutorial on How to create MySQL Database.

Then, you need to log into your cPanel account and navigate to the phpMyAdmin service.

Accessing the phpMyAdmin service in cPanel

Select the newly created database.

Selecting a newly created Database

Click on the Import button at the top menu.

Importing the original Database dump into the new Database

Select the backup file you have previously downloaded to yourpersonal computer and then hit the Go button to initiate the import.

Selecting the original Database dump file to import


By completing both of the previous steps, you now have a directory on your account, which contains all of the files and folders of your Pagekit website. You also have a database, which is a copy of your previous database used by your website. Now, it is time to configure them. You will need to edit the configuration file of the application and enter your new database details.

Configuration File

The configuration file for Pagekit is located in the root directory of the application and is named config.php. You can edit this file using your cPanel's File manager. For more information on this file visit out Configuration File tutorial.

Editing the config.php file to work with the new Database

You will need to edit the first few lines that define the database parameters with your new database's details. Once you are ready editing, click the Save Changes button located at the top right of the page and your website will be fully restored. Well done!

On this page...

    Pagekit Hosting

    • Free Pagekit Installation
    • 24/7 Pagekit Support
    • Free Domain Transfer
    • Hack-free Protection
    • Fast SSD Storage
    • Free Cloudflare CDN
    • Free Pagekit Transfer
    • Immediate Activation
    View More