Making and storing a backup should be an essential process for any one who has a website. Whether it's a small personal site or a worldwide business site, having a backup is one of those things that you may forget about until it's too late.
This guide will help you create a backup of your website and any connecting databases which you can then transfer to a cd, USB or external hard drive for safe keeping.
- To make the backup you will need to first connect to your hosting using FTP. In this example I will be using Filezilla which is available free for PC users.
- In the Quick connect bar at the top, enter upload.lcn.com in the Host field.
- In the Username field enter your FTP username.
- In the Password field enter your FTP password.
- The Port can be left blank, which will default to 21.
- You now need to navigate to your content on the server itself. In the remote site section, enter /www.yourdomain.com/web (replace yourdomain.com with your own domain) and hit enter on your keyboard.
- Your contents will now be displayed and you can now copy this content from your Remote site (the server) to the Local site (your computer). Simply drag each file and folder from the right side of Filezilla to the left side, in a folder on your pc.
- You can check that the backup was successful by checking that each file and folder exist on both sides of Filezilla.
Backing up your web content
Note: If you are unsure on any of the details above, simply log in to your account, click the hosting icon, choose manage for the hosting and then scroll to the FTP details and you can check them here.
- You would first need to locate the database username and password. If you are not sure on either of these, simply connect via FTP using the details above and locate your websites configuration file as they will be stored in here.
Backing up your database
If you are using a web app such as Joomla or Wordpress then your website will also be linked to a database. You would need to back this up too as this is not held in the same place as the content.
- If you are using Wordpress, these can be found in the wp-config.php file
- If you are using Joomla, these can be found in the configuration.php file
- If you are using OpenCart, these can be found in the config.php file
This be accessed by adding /phpmyadmin to your domain name in any internet browser.
For example www.lcnsupport.co.uk/phpmyadmin
Whilst it might seem a daunting task, it's something that could save you a lot of worry and downtime should something happen to your website. When you perform the backup is up to yourself, but if you are updating your website regularly, it's best to do this when any major updates are made to ensure you have the latest backup.