How to Manually Backup your Site

From Free Hosting Wiki
(Difference between revisions)
Jump to: navigation, search
[checked revision][checked revision]
(added Category:KB)
(removed Category:KB)
Line 52: Line 52:
 
[[How to Automatically Backup your Database]]
 
[[How to Automatically Backup your Database]]
  
[[Category:KB]]
 
 
[[Category:Tutorials]]
 
[[Category:Tutorials]]

Revision as of 23:41, 16 January 2012

In this tutorial, you will learn how to create manual backups of your entire website, including your files and your databases.

Backing up your site, especially your databases, is an absolute must. It can save your hours of frustration in case something were to happen, such as a hard drive corruption, database corruption, or a rollback.


If you rather make automatic backups of your database, refer to How to Automatically Backup your Database.

This tutorial is designed for cPanel, the popular control panel that all free hosting users at x10hosting have access to.

Contents

cPanel Backup Function (Premium hosting only)

Head to your cPanel and browse to Backups which is located in the Files box.

If you want to download a full backup of everything, choose the Generate a Full Web Site Backup button. Note that this process may take a while.

If you prefer to have files and databases separate, scroll down the Partial Backups. For files, simply click on the Home Directory button. For databases, click on the database name you wish to download a gzipped backup of.

Manual Backup of Files

Head to your cPanel and browse to File Manager which is located in the Files box.

Choose to browse to the Home Directory.

Choose Select All in the small menu.

After everything is selected, click on the Compress button at the large menu at the top

Choose a name for the compressed file and the compression type (Gzip is usually recommended) and click Compress.

When this process is done, you will find your compressed file in the Home Directory. Simply double click on it to download it.

This is your files backup.

To restore this backup, upload it back and extract the files.

Manual Backup of Databases

Head to your cPanel and browse to phpMyAdmin which is located in the Databases box.

Select the database you want to backup from the left sidebar.

Browse to the Export tab.

Leave all options on default. They are usually best for regular situations.

Scroll down the Save as File and make sure the box is checked.

Then choose gzipped for Compression and select a name for the database. If you want the format DATE DATABASES-NAME then enter the following (Case Sensitive): %m-%d-%Y - __DB__

Click Go and that's your database backup.

To restore a backup, use the Import tab.

Related links

How to Automatically Backup your Database

Personal tools
Namespaces

Variants
Actions