Creating a Backup
Last updated
Last updated
It is important to regularly back up your website. In case something goes wrong with your website, you can easily revert back to an older version. Taking a backup only takes a few minutes, but can save you hours of re-making your website in the case of something unexpected happening with your website.
An FTP client is required so that you can save your website's files onto your computer or a hard drive. In this guide, FileZilla will be used. FileZilla is a free FTP client and is one of the most popular.
You can find download links to FileZilla and other free FTP clients in the CPanel.
FileZilla is third-party software not owned, operated, or affiliated with Gilect. We strongly recommend you review their Privacy Policy.
Every website has files which you need to back up. While these files can be accessed by our Online File Manager, it is only possible to transfer files in bulk using and FTP Client, such as FileZilla.
Launch your FTP Client of choice. FileZilla is being used in this example.
Copy and paste the FTP information from the client area into the FTP client, as demonstrated in the below example. The Port is optional. Press the "Quick Connect" button after you finish filling out the login information.
If you get an "Unknown Certificate" popup, press the "OK" button. There is a valid certificate installed.
Create a safe place on your drive to store your backed up files.
On the left pane of FileZilla, you can locate the location you want your website files to be saved to.
On the right pane of FileZilla, select the "htdocs" folder that you want to backup.
Each of your domains have an "htdocs" folder. Your default domain (the one you signed up with) will be located in:
/htdocs/
Any other (sub)domain (such as addon domains or subdomains) will have their own folder. They will be located in:
/domainname/htdocs/
Drag the folder to the left pane of FileZilla, where it shows the location selected on your drive. The folder will be copied to that location on your computer.
If you get disconnected or an error occurs, simply reconnect and try again.
Congratulations! You backed up your files. You can proceed with the next step, backing up the database
Dynamic sites, such as those created with a CMS (WordPress, Joomla, Drupal, etc.) also contain databases which need to be backed up. Databases are different from your website's files and is needed for a dynamic website to function.
Not all websites are dynamic, however. If your website is static, meaning it only contains files. If you used the Website Builder, then your website is static. There is no need to back up a database, because there isn't any.
If you are not sure if your website contains a database, or are not sure which database it is, you can check in Softaculous.
WordPress (and most other blogging CMSs) are dynamic.
Your databases can be accessed and downloaded via phpMyAdmin. You can access phpMyAdmin via the option in the CPanel.
Select the database which you wish to connect to.
After you connected to phpMyAdmin, press the "Export" button in the top navbar.
Confirm that all the details are correct, and press "Go" to begin downloading the database. Make sure you store the file in a safe place.
Your database is now backed up!
Congratulations, your entire website was backed up! To restore a backup it, simply drag the htdocs folder back into the webserver, and import the database.