Website HostingDomain RegistrationsWebsite ScriptsWebsite TemplatesWeb Hosting AffiliateClient SupportContact Us
Flux Services, Inc.

  17 May 2008 
Support Center Home

 Is it possible to make a cron to backup my database at specific times?
Solution Yes, this can be very useful for forum/message board sites with large databases. In your control panel under cron jobs use the following command:

mysqldump --user=YOURDBUSERNAME --password=YOURDBPASSWORD --quick --add-drop-table --add-locks --extended-insert --lock-tables --all DATABASENAME | gzip > /home/username/path/to/backup/folder/databasename-`date -I`.gz



Article Details
Article ID: 204
Created On: 30 Aug 2005 11:13 AM

 This answer was helpful  This answer was not helpful


 Back
 Client Login  
Billing Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Submit a Ticket | Knowledgebase | News | Downloads
Language:




All pages Copyright © 2002-2008 by Flux Services, Inc. All rights reserved.
All trademarks used are properties of their respective owners.
Refund Policy  Privacy Statement  Service Agreement