Loading...
Changes Saved.
Error Occurred!

KnowledgeBase

Maintaining BACKUPS of your script installation

You can and should always maintain updated backups of your site, your scripts, and your databases.
 
 
NOTE - It is NOT recommended to generate full backups of your entire site via the hosting control panel (cPanel). Only database backups should be done via your cPanel. Backups of your actual site folders and files should be done via FTP with FTP software. There are many reasons for this, which well address later in this article.
 
 
 
 
This is the recommended method:

STEP 1. BACKUP YOUR WEB SITE - Most users already have a copy of their web site on their own computer. However, if for some reason you have lost your web site files (for example, due to a computer problem) the best way to download them from the server is with FTP software. Connect to the server through your FTP account with FTP software and go directly into the public_html folder (which is where your web site files are stored) and download your web site folders / files to your PC. Once you have a full copy, then you only need to download files that have changed from time to time.
 
STEP 2.  BACKUP YOUR PHP SCRIPT (such as a forum, gallery, etc...) - As above, after you have installed a script on your account you should FTP in to the server and download a copy of the folder / files where the script resides. Once you have a full copy, then you only need to download files that have changed from time to time.
 
STEP 3. BACKUP YOUR DATABASES - Most PHP scripts make use of mySQL databases on the server and this is the most crucial part of the script. Databases are NOT backed up via FTP. Instead, in most cases there is a Database Backup feature right within the admin panel of the script, provided by the developer, and usually you can simply click to download a backup copy of it's database. If your script does not have a database backup download option you can download backups of your databases from within your hosting control panel using the phpMyAdmin export method. CLICK HERE FOR VIDEO TUTORIAL
 
WHY backups of your site folders and files should be done only via FTP with FTP software. There are many reasons for this, but just to name a couple:
 
- Generating a full backup from your cPanel can become extremely resource instensive on the server and take a very long time
- Generating a full backup from your cPanel will require twice the amount of disk space on the server that your files currently use, causing your backup to timeout and crash if you don't have enough free space
 
The only backups that you should generate from your cPanel (if necessary) are databases and aliases.

There are two reasons why you should maintain your OWN backups:

1. SH creates a fresh backup of your hosting account each night right on the server in a second hard drive, overwriting the backup from the night before. Therefore, we only have a backup of your account from the previous night.

2. Although we do provide this nightly backup service, we cannot guarantee (nor will any other host) that the data or backups will be 100% reliable. Despite the fact that we've never had a restore failure on an account, there is always the possibility that something might not work right when an account restore is performed. As written in our terms of service, we cannot be held liable for any loss of data or damages that result from data loss.

This might all sound a bit scary, but it's really just very typical precaution and procdure in webmastering / hosting, and it's easy to maintain your own backups on a regular basis. If you need advice or assistance regarding backups please contact us and we will help you.



Related Articles