How to Manually Backup your Site

From Free Hosting Wiki
(Difference between revisions)
Jump to: navigation, search
[unchecked revision][checked revision]
(Created page with "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, i...")
 
m (cPanel Backup Function (Premium hosting only))
 
(6 intermediate revisions by 3 users not shown)
Line 4: Line 4:
  
  
If you rather make automatic backups of your database, refer to [How_to_Automatically_Backup_your_Database|How to Automatically Backup your Database].
+
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.
 
This tutorial is designed for cPanel, the popular control panel that all free hosting users at x10hosting have access to.
  
 
+
== cPanel Backup Function ([[How to Order Paid Hosting|Premium hosting]] only) ==
 
+
{{premium}}
== cPanel Backup Function ==
+
 
Head to your cPanel and browse to '''Backups''' which is located in the '''Files''' box.
 
Head to your cPanel and browse to '''Backups''' which is located in the '''Files''' box.
  
Line 19: Line 17:
  
 
== Manual Backup of Files ==
 
== Manual Backup of Files ==
 
 
Head to your cPanel and browse to '''File Manager''' which is located in the '''Files''' box.
 
Head to your cPanel and browse to '''File Manager''' which is located in the '''Files''' box.
 
  
 
Choose to browse to the Home Directory.
 
Choose to browse to the Home Directory.
 
  
 
Choose '''Select All''' in the small menu.
 
Choose '''Select All''' in the small menu.
  
 
+
After everything is selected, click on the '''Compress''' button at the large menu at the top
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.
 
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.
 
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.
 
This is your files backup.
 
  
 
To restore this backup, upload it back and extract the files.
 
To restore this backup, upload it back and extract the files.
 
 
  
 
== Manual Backup of Databases ==
 
== Manual Backup of Databases ==
 
 
Head to your cPanel and browse to '''phpMyAdmin''' which is located in the '''Databases''' box.
 
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.
 
Select the database you want to backup from the left sidebar.
 
  
 
Browse to the '''Export''' tab.
 
Browse to the '''Export''' tab.
 
  
 
Leave all options on default. They are usually best for regular situations.
 
Leave all options on default. They are usually best for regular situations.
Line 60: Line 44:
 
Scroll down the '''Save as File''' and make sure the box is checked.
 
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__'''
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.
 
Click Go and that's your database backup.
 
  
 
To restore a backup, use the '''Import''' tab.
 
To restore a backup, use the '''Import''' tab.
 
  
 
== Related links ==
 
== Related links ==
 
 
[[How to Automatically Backup your Database]]
 
[[How to Automatically Backup your Database]]
  
 
[[Category:Tutorials]]
 
[[Category:Tutorials]]

Latest revision as of 02:04, 24 February 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

[edit] cPanel Backup Function (Premium hosting only)

The following content applies to our Premium package and as such may not be relevant for Free Hosting.

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.

[edit] 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.

[edit] 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.

[edit] Related links

How to Automatically Backup your Database

Personal tools
Namespaces

Variants
Actions