Web hosting unlimited bandwidth - 318 CHAPTER 10 SECURING AND MAINTAINING PHPBB
318 CHAPTER 10 SECURING AND MAINTAINING PHPBB selected the compression, especially if you have a slower connection. The trade-off is that the backup will take a little longer to get started. Click Start Backup, and be patient, as it can take a few minutes to get the backup fully downloaded to your computer. Once you ve made a backup, restoring it is quite straightforward, as Figure 10-21 illustrates. This screen appears when you click the Restore Database link under General Admin in the Administration panel. From here, simply locate the compressed or uncompressed backup file on your computer, and then click Start Restore. phpBB uploads and, if necessary, decompresses the backup and restores it to the database. Be patient, as this process can take a few minutes. Figure 10-21. Restoring a backup Caution If your database is quite large, the restore script may run afoul of your host s PHP script timeout. If you click Start Restore and nothing happens after five minutes, it s quite possible the script has terminated due to the timeout period, which is designed to stop runaway scripts. You can try breaking up the file (if it is compressed, use WinZip or WinRAR on Windows to decompress it first) and uploading separate text files. Contact your host provider if you have questions about its PHP timeout policies. Using Template Caching When the styling system made its debut in phpBB 2.0, there was a great deal of concern over increased server load due to the templates. Time has shown that phpBB s template engine is a solid performer under load, but the phpBB Group provides two options for caching templates: one for using individual files and the other to save template information to the database. These solutions will help decrease the strain on your server under periods of extreme duress. Caution The phpBB Group has tested the caching systems, but as always, your mileage may vary. Back up the template.php file located in the /includes subdirectory under your phpBB path before proceeding, in case something goes wrong. Additionally, you can choose only one system or the other, not both. Flat-File Template Caching If you are going to use template caching, I recommend using the flat-file method, as it does not require further use of the database. Boards under duress already stress the database, so it s good to try to offload from the database when you can.
From our experience, we are can tell you that you can find a reliable and cheap webhost service at Java Web Hosting services.