Article

How to back up your website?

« Go Back

Information

 
TitleHow to back up your website?
Description
 
As a website owner Melbourne IT recommends you always keep your own backups. It’s always good to have something you can fall back on if there is an emergency. A few examples, let’s say you make a change to your site and everything breaks? Simply revert back to the backup copy you have, or if the worst happens and your website is hacked, etc.
In this article we will take a look at backing up a basic HTML website & then look at backing up a database driven website, specifically a WordPress website as it is a popular choice of CMS for our customers.

Backing up a basic static website.

Firstly you’ll need an FTP client. We cover FTP in another article, you can refer to it here (How do I upload and download files via FTP?), however let’s just think of FTP as a way to connect to your webhosting plan.You’ll need to login using ftp.yourdomain.com and your FTP username and password. After you have connected to Melbourne IT’s server you will see a list of files that you have hosted on our server. You can simply select them all, right click and download a copy to your machine.
 
FTP Image

We recommend you do regular backups especially if your website data is dynamic. Getting into the habit of doing weekly or monthly backups is good practise. If your website is your main source of income or important to your business, protect yourself by ensuring you have a copy of everything.
A good way to back them up is to put them into a folder or even archive them naming the with the date of the backup. For even more security you can place these files in various locations such as an online cloud storage solution (iCloud, One Drive, Dropbox, Google Drive), or the good old USB or external hard drive.
 
 Site backup 1

That’s all there is to it. We’ll cover how to restore your backed up website in another article.

Backing up a WordPress website.

If you have a WordPress your website runs uses a combination of static pages and a database. You can simply follow the steps in our article above covering how to back up a basic static website and then follow the instructions below. Just like we used to FileZilla to connect to our webserver we’ll use another client to connect to our database. We are going to use phpMyAdmin which is a web client installed on all Melbourne IT Linux based plans. In your Cloud hosting control panel. Under the Cloud hosting tab click on Database. Simply scroll down and click ‘Administer’ on the database you wish to backup.
 
 Ftp Image
 
Once you are inside of phpMyAdmin you will see a list of tables in your database. Click on the Export tab.
 
Databases 

Here under the export tab you can now export your database. Exporting it as a .SQL file is fine as you can reimport it as a .SQL also in the future.
Now if you’ve backed up your static pages and database, you have a full copy of your WordPress site.

Backing up another CMS or database driven website.

Backing up another CMS such as Joomla, Magento, Drupal and others is the same process or very similar as the WordPress web site. Simply back up your static website using an FTP client & then connect to phpMyAdmin and backup your MySQL database.
 
 
Attachment 
Attachment 
Feedback

Was this article helpful?

   
Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255