Backing up an entire website with PHP
As you are using Linux, use this in a PHP file:

&lt;?php system('zip -r backup *'); ?&gt;


This will create a ZIP of all files/directories exists in the directory.