How to Backup Your Site: Difference between revisions

From HAA Best Practices Wiki
Jump to navigationJump to search
(Created page with '==Why Back Up?== No matter where you are hosting your data sooner or later, something will go wrong. Most inexpensive hosting plans do not include backup; and even if your's do…')
 
No edit summary
Line 15: Line 15:
==How to Backup==
==How to Backup==


The following instructions
The following instructions assume that you are hosting your site on a Linux server and have access to cPanel for the site.  If not, check with your system administrator for information on how to back up.  (Unless you have installed the template yourself, you can almost certainly use these instructions.)


# Log into cPanel.  If you don't know how to do this, check with the system administator or the person who installed the template.
# Back up your database
## In the 'Databases' section of cPanel click on phpMyAdmin;
## Click on 'Export' in the center column;
## Click on the name of your database in the 'Export' box.  It will probably be named hrtempla_hrclass##, where ## is your class year.  Also in the 'Export' box, Make sure that the 'SQL' radio button is selected;
## Check the 'Save as file' box near the bottom of the page.  Also select 'zipped' as a compression method.
## You can enter a file name in the 'File name template field.


[[Master Template for Class Web Sites|Return to main Master Template page]]
[[Master Template for Class Web Sites|Return to main Master Template page]]

Revision as of 16:25, 17 August 2009

Why Back Up?

No matter where you are hosting your data sooner or later, something will go wrong. Most inexpensive hosting plans do not include backup; and even if your's does, you should still have your own copy of the data. It's really the only way to be safe.

Where is My Data?

The Web Template site holds most of the data in a MySql database. A few configuration settings are also in two files that you can back up separately. The settings in the files don't change very often, so you needn't worry about backing them up as often as the database.

The files that contain data are:

configuration.php in the root directory of your site. It contains the basic information such as the name of the site, the name of the database and where to access it, and information on how the site can send email.

ue_config.php in the .\administrator\components\com_comprofiler directory of your site. It contains configuration information for Community Builder such as the text of the email messages used during registration.

How to Backup

The following instructions assume that you are hosting your site on a Linux server and have access to cPanel for the site. If not, check with your system administrator for information on how to back up. (Unless you have installed the template yourself, you can almost certainly use these instructions.)

  1. Log into cPanel. If you don't know how to do this, check with the system administator or the person who installed the template.
  1. Back up your database
    1. In the 'Databases' section of cPanel click on phpMyAdmin;
    1. Click on 'Export' in the center column;
    1. Click on the name of your database in the 'Export' box. It will probably be named hrtempla_hrclass##, where ## is your class year. Also in the 'Export' box, Make sure that the 'SQL' radio button is selected;
    1. Check the 'Save as file' box near the bottom of the page. Also select 'zipped' as a compression method.
    1. You can enter a file name in the 'File name template field.

Return to main Master Template page