How to backup your website

Good website administration requires making backups of your account regularly and storing them somewhere safe yourself. You also need to download backups in order to migrate website to other hosting accounts.

InfinityFree does not create or store any backups of free hosting accounts. It’s your responsibility to regularly create backups, and to store them somewhere safely.

Backup your website files

The best way to backup your website files is by downloading them using a desktop FTP client.

  1. Open an FTP connection to your account (more info).
  2. Find the htdocs folder of the website you’re trying to back up.
  3. Download the htdocs folder to your computer. In FileZilla, this is as easy as dragging the htdocs directory from the pane on the right to the left.

If you have a large website, it may take a long time for the download to complete. This is normal. Just start the transfer and let it run in the background. If some of the transfers fail, simply retry them until all files have been transferred successfully.

Backup your databases

You can download database backups through phpMyAdmin.

  1. Login to the control panel of your account.
  2. Click the phpMyAdmin button.
  3. Click the Connect Now button next to the database you would like to download.
  4. Go to the Export tab.
  5. Click the Start button.

Note about generating ZIP files on the server

Some file managers have the option to create and extract ZIP files of your website “on the server”.

However, note that the file managers use FTP, and FTP does not support managing archives on the target server. This means the file manager creates or extracts the zip file on the file manager server, similar to how you can create or extract archives on your own computer.

Additionally, web based file managers are not good at dealing with large archives, and may break while handling the archives.

Finally, please note that there is a file size limit of 10 MB on free hosting, so you may not be able to package your entire website on your hosting account.

Note about backup scripts

Some CMS have a built-in backup options, or have plugins which can make backups. We recommend against using such tools.

While backup plugins look easy to use, they often involve running extremely complex PHP code to generate the backups. These backup scripts frequently break down because of file size limits or PHP execution time limits, leading to incomplete or corrupt backups. They also generate a high server load when creating or restoring backups, which may cause other problems for your website.

And even if the backup scripts completes successfully, you may run into similar issues when restoring the backup, which may result in you having a backup you can’t restore anywhere.

This is why you should not use backup tools and plugins, and always create backups with FTP and phpMyAdmin.

3 Likes

Is there a video explaining the entire process? From downloading the backup copy to uploading to the new hosting

There is a video on using FileZilla in that guide, but I don’t think there is one for the entire process though. Maybe I’ll make on in a few weeks / months if I find the time and motivation :joy:

1 Like

InfinityFree doesn’t have video tutorials for anything, including this.

Also, in my opinion, the most difficult part of the process is finding and updating the configuration of the website to use the new database settings and domain, and that part is highly specific to the website software you’re using, so there isn’t really a way to have a generic step-by-step guide for it.

2 Likes

A post was split to a new topic: WordPress Issue

By what’s Filezilla is showing I’m averaging download speed of ~2.8KiB/s (1.8 to 60), I wonder if that’s as expected.

This just means that your Internet is slow?

3 Likes

FileZilla shows the overall speed over the entire backup, basically “data size / download time”.

However, this is usually much slower than actual data transfer speed. The problem is that you are not downloading one big file, but many small files Setting up the download of each of these small files requires FileZilla to go back and forth to the FTP server a few times, which takes some time due to latency. And FileZilla also factors that time into the average download speed.

So the biggest factor to the download speed is not the maximum throughput of your internet connection, but simply where in the world you are. Given that the FTP server is in the UK, people in Europe will see much higher speeds than people on other continents. And the further away you are, the slower the transfer will be.

6 Likes

.

Thanks for your response. But I dont even have the opportunity to run it at slow transfer 24/7 because I keep getting suspensed for 24hours for hitting CPU limits everyday while I have not even made a single backup while FileZilla is set to skip over all duplicates.
For more information, I’m in Australia, my minimum download speed test is well over 100Mbps, I understand about many small size file things but I wonder if Filezilla could do many of them at the same time.

It can actually! FileZilla can do up to 10 concurrent transfers, but by default will do only two. So you can speed up the transfer 5X by cranking up the concurrent transfers. You can find it under Edit → Settings → Transfers.

7 Likes