On Tue, 2 Apr 2002, Mark Stringham wrote: > > What would the script look like if I'm on Win2k ?
Good luck!! But seriously; there is a $300 software package out there (can't remember name) that will give your billy-boy OS some unix shell-like capabilities, including TAR. It was featured in like a January (or December) "Network Magazine" article. If your interested in knowing what this software package is, e-mail me and I'll look and get the name (and URL) to you. -RG > > Mark > -----Original Message----- > From: Rodney Broom <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> > Date: Tuesday, April 02, 2002 12:22 PM > Subject: Re: backup databases > > > >From: David McInnis <[EMAIL PROTECTED]> > > > >> Could you share your script for doing the date thing with the rest of > >> us? That sounds useful. > > > >> > From: Jonathan Hilgeman [mailto:[EMAIL PROTECTED]] > >> > mysqldump -uUsername -pPassword --all-databases > tmp.sql && tar -cf > >> > MySQL-Backup-DATE.tar.gz -z tmp.sql && rm -f tmp.sql > >> > I use a script (to determine DATE)... > > > > > >How about: > > > > mysqldump -uUsername -pPassword --all-databases > tmp.sql && \ > > tar -cf MySQL-Backup-`date +%Y-%m-%d`.tar.gz -z tmp.sql && \ > > rm -f tmp.sql > > > >Try this for an example that doesn't change anything: > > > > echo MySQL-Backup-`date +%Y-%m-%d`.tar.gz > > > >--- > >Rodney Broom > >Programmer: Desert.Net > > > >sql > > > > > > > >--------------------------------------------------------------------- > >Before posting, please check: > > http://www.mysql.com/manual.php (the manual) > > http://lists.mysql.com/ (the list archive) > > > >To request this thread, e-mail <[EMAIL PROTECTED]> > >To unsubscribe, e-mail > <[EMAIL PROTECTED]> > >Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > > > > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > > --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php