Fli
05-30-2015, 01:51 PM
How to backup websites hosted on server with cPanel hosting control panel automatically into an external location?
a) install an backup addon/plugin into your CMS
usually website files do not change often, what changes often is a mysql database. So you may consider backing up files manually from time to time, but mysql database to be backed up often and automatically. Some CMS like Wordpress, Joomla supports plugins which allows automatic backup of mysql database. Google (https://www.google.com): wordpress autobackup mysql; joomla automatic backups ; etc.
Use only plugins that allows sending backups via email or other way forward file to external location.
b) use bash script to send backups to your Linux server/VPS
If you are having own Linux VPS (http://instantcpanelhosting.com/cart.php?gid=4), you may backup & upload your cPanel website data automatically to the VPS using bash scripts. It requires some basic Linux knowledge. Here is how to do it (http://internetlifeforum.com/programming-scripting/2557-script-backup-website-files-mysql-database-website-subfolder/#post3830).
c) ask hosting provider to setup backups forwarding to you
Hosting provider may forward backups to an FTP account, Linux server (via SSH) or via Email as an attachment (email providers usually limit attachment size and several megabyte emails are not delivered). Backups forwardning might be an paid service.
Do you know any other ways to setup automatic cPanel backups to an external location?
a) install an backup addon/plugin into your CMS
usually website files do not change often, what changes often is a mysql database. So you may consider backing up files manually from time to time, but mysql database to be backed up often and automatically. Some CMS like Wordpress, Joomla supports plugins which allows automatic backup of mysql database. Google (https://www.google.com): wordpress autobackup mysql; joomla automatic backups ; etc.
Use only plugins that allows sending backups via email or other way forward file to external location.
b) use bash script to send backups to your Linux server/VPS
If you are having own Linux VPS (http://instantcpanelhosting.com/cart.php?gid=4), you may backup & upload your cPanel website data automatically to the VPS using bash scripts. It requires some basic Linux knowledge. Here is how to do it (http://internetlifeforum.com/programming-scripting/2557-script-backup-website-files-mysql-database-website-subfolder/#post3830).
c) ask hosting provider to setup backups forwarding to you
Hosting provider may forward backups to an FTP account, Linux server (via SSH) or via Email as an attachment (email providers usually limit attachment size and several megabyte emails are not delivered). Backups forwardning might be an paid service.
Do you know any other ways to setup automatic cPanel backups to an external location?