here are some options that you can do.  On a Xp machine you can setup a 
batch file that looks something like this

{Path to the mysqldump.exe} -h localhost -u root -p{password} -ce 
-add-drop-table {database name} {path\name.dump to the dump file}

repeating the line for every database that you want to backup this way.

 From fox you can run the batch !{batch file} then zip then ftp.

to schedule the backup create a scheduled task and point it to the same 
batch file.  we had something like this running on a windows 2003 server 
backing up a mySQL server.  this will lock the tables as it backs up the 
data but that is a small price to pay for a clean backup of the data.

Hope this helps.  If you have any other questions you can email me off 
line.

MB Software Solutions General Account wrote:
> Ed Leafe wrote:
>> On Oct 19, 2007, at 1:19 PM, MB Software Solutions General Account  
>> wrote:
>>
>>   
>>> I've got a couple clients who have a VFP9 app that uses a MySQL5
>>> database as the backend in their shop.
>>>
>>> What advice would you give for creating a backup strategy so that the
>>> database is regularly backed up to an offsite location to prevent
>>> catastrophic loss of data due to fire/robbery/etc. ?
>>>     
>>      I've used the mysqldump utility on a cron job, with the output files  
>> being archived in the backups. 
> 
> This sounds preferable.  Is there much to setting it up?  I mean, how 
> are you kicking off the mysqldump command?  I know of cron jobs, but I 
> haven't done one yet myself.  Also, this is a M$ Win XP machine.
> 
>> You can archive the MySQL data files  
>> directly, but you have to shut down the server while you're copying  
>> them.
>>   
> I don't like that option.  But thanks nonetheless for presenting it.
> 
> 
> 
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to