January 01, 2014

Backup from cPanel in DropBox

Problem:
- How to automatic backup of my weblog
- How to automatic backup of my website
- How to automatic backup from my cPanel in DropBox
- How to automatic backup from my cPanel in Google Drive
- How to automatic backup from my cPanel in Sky Drive
- How to free automatic backup my cPanel in clouds

Solution: 
You can backup your files of host in two steps
1- Automatic/Scheduled backup database in host
2- Automatic/Scheduled transfer files and database backup in DropBox (or Google Drive)

Let's Go
1- Automatic Backup of Database
- Go to cPanel > Advanced > Cron jobs > Create a new weekly cron job
- use the following command:
mysqldump --opt -Q -u USERNAME -p'PASSWORD' --all-databases > /home/USERNAME/public_html/databases.sql

2- Automatic and schedule Transfer with Backup Box site
- Login in Backup Box site
- LEFT: select FTP and go to your host
- RIGHT: select DropBox
- CENTER:  choose "Transfer public_html as a folder" and select Monthly > Date and Time > Finalize

Take Enjoy :-)

No comments: