Cron auto backup DB?

magicstruck44

New Member
Messages
25
Reaction score
0
Points
0
Hi all

Any of you use CRON jobs to auto backup your MySQL database and email it to yourself?
 

cybrax

Community Advocate
Community Support
Messages
764
Reaction score
27
Points
0
Yes and there are many complete php script examples on the web (praise be to Google it knows all)

Tip# not all webhosts grant the Cron account sufficient permisions to send Email

One workaround trick is to manually trigger the backup process in responce to user interaction with site,
so each time any user logs into a forum for instance a script checks to see how long since the database was last backed-up and acts accordingly.
 
Top