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.
The best way to backup your website files is by downloading them using a desktop FTP client.
- Open an FTP connection to your account (more info).
- Find the
htdocsfolder of the website you’re trying to back up.
- Download the
htdocsfolder 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.
You can download database backups through phpMyAdmin.
- Login to the control panel of your account.
- Click the phpMyAdmin button.
- Click the Connect Now button next to the database you would like to download.
- Go to the Export tab.
- Click the Start button.
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.
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.