|
-
Oct 6th, 2002, 08:08 PM
#1
Thread Starter
Frenzied Member
:Edited: Database Backup - EMail an attachment?
I am running on a win 2k pro server, and (unfortuneately) the closest i have to "Cron-Jobs" is to set my browser to launch to a specific URL @ a certain time.
So what i want to know...
Does any one know of a php script, that will connect to my MySQL server (same machine) make a copy of my Db (back slashes to enclose tables, Add Drop Table if it exsists, etc)
to a .sql file, and then email me the SQL file, when the script is called VIA:
http://my-domain.com/private/backup....e=*MyDatabase*
It will be on the same HTTP host etc,, and always send to my email address,,
IF any one has a script that can do this, then COOL , if not, How the heck would i go about it?
Cuz my Friend, (Totally sad for him) lost like 36 hours work on his site, cuz his DB corrupted on him,
and i dont want the same to happen to me :@
Well any hows,
If you know of a php script to do this, i can write a quick application in VB to navigate for it to send all my db's at the same time, and maybe on my other system (cuz i have a MySQL server running on two servers here )
And lol, you would think if their in ur own home, it would be easier to back up,
well u jst dont want to have the hassel huh,,
BTW: if u need my specs:
Apache 1.3.26
MySQL Release: mysql-3.23.31
PHP: 2.0.2 (or might be 2.2 lol - the latest out ne howz )
Thanks
Last edited by wpearsall; Oct 15th, 2002 at 08:55 PM.
Wayne
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|