well, you'd want to come up with your specifics but it's pretty simple using 
ssh...
put this is your shell...

$ mysqldump db-name | mysql -h remote.box.com db-name

$ mysqldump db-name | ssh [EMAIL PROTECTED] mysql db-name

$ mysqldump db-name foo | ssh [EMAIL PROTECTED] mysql bar

hope this helps
bb


-----Original Message-----
From: Brown, Charles [mailto:[EMAIL PROTECTED]
Sent: Tue 3/27/2007 12:17 PM
To: mysql@lists.mysql.com
Subject: a Linux -csh script to refresh test with production
 

Hello all.

Does anyone out there (in mysql world) have a Linux -csh script to
refresh test with production data.

My developers would like their test database to be refreshed nightly
with production data. The production and test mysql servers do not run
in the same box.  They run on different boxes. Therefore there is some
ftp or scp required

Thanks

********************************************
This message is intended only for the use of the Addressee and
may contain information that is PRIVILEGED and CONFIDENTIAL.

If you are not the intended recipient, you are hereby notified
that any dissemination of this communication is strictly prohibited.

If you have received this communication in error, please erase
all copies of the message and its attachments and notify us
immediately.

Thank you.
********************************************

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to