cPanel automated backups

Download the following PHP script and extract to your "home" directory (not public_html).

Edit the script with your cPanel username and password, and optionally a remote FTP username and password.

Create a cron job to run on a regular schedule like so -

00 01 * * 1 php -q /home/myhomedir/backup.php
(runs every sunday night at 1AM)

cPanel PHP Script
  • 4479 Users Found This Useful
Was this answer helpful?

Related Articles

Switching PHP Versions

By default, GriffinHosting supports PHP 5.2 on its cPanel hosting servers. In order to switch to...