Home | Support | Contact us | +61 3 8683 9782

 
Support Center » Knowledgebase » How can I get a daily backup of my database emailed to me
 How can I get a daily backup of my database emailed to me
Solution

How can I schedule a daily backup of my database to be emailed to me?

  1. Log onto your control panel and select the domain you wish to backup databases for.
  2. Click on "Scheduled Tasks" Icon > System User
  3. Click "Schedule a Task" Icon
  4. To run a task at 1.01am every day enter the following information.
Enabled: Check this box
Minute: 1
Hour: 1
Day of the Month: *
Day of the Week: *

Command:/usr/bin/mysqldump --opt -hMySQL-V4-001.web24.net.au -uUSERNAME -pPASSWORD DATABASENAME |gzip |uuencode db_backup.sql.gz |mail -s "Database backup" youremail@domain.com.au

Substitute the appropriate values for USERNAME PASSWORD DATABASE NAME and youremail@domain.co.au **EXACTLY** as shown above.



Article Details
Article ID: 338
Created On: 21 Jul 2008 05:09 AM

 This answer was helpful  This answer was not helpful

 Back
 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Register | Submit a Ticket | Knowledgebase | News
Language:

Help Desk Software By Kayako SupportSuite v3.60.04