Fast2Host Logo

Hosting on Linux (cPanel)

Backup MySQL database from cron

A very easy one: just run a cronjob and it will back up databases from any server!
Change what's in red.


curl --output /home/username/DB.gz

That's it!

DB is the mysql database name which is something like username_dbname

Now FTP to your linux account and in the default home folder is the backup.

Maintain peace of mind with 24/7 UK based support

Email any time or call 01480 26 00 00 014 80 26 00 00