Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Remote MySQL backup and download
- Date: Fri, 13 Mar 2009 19:41:26 +0900
- From: David Shanahan <david@example.com>
- Subject: Re: [tlug] Remote MySQL backup and download
- References: <49BA27E5.40408@articlass.org>
On Fri, Mar 13, 2009 at 6:31 PM, Dave M G <dave@example.com> wrote: > So... do I use SSH or something else to log in and then start a MySQL session? I don't quite understand how I would be executing commands from my batch shell in another, secondary, SSH command shell... If you add a command to the arguments for ssh they run on the remote machine and the output is piped back locally. Just try it. Start out with something simple. ssh user@example.com ls -l If you want to use a pipe in your command, use quotes otherwise your local shell will setup a local pipe ssh user@example.com "mysqldump dname | bzip2" >`date -I`.db.dump.bz2 The above compresses the data before ssh sends it back to you. You might want this.
- Follow-Ups:
- Re: [tlug] Remote MySQL backup and download
- From: Francois Cartegnie
- References:
- [tlug] Remote MySQL backup and download
- From: Dave M G
Home | Main Index | Thread Index
- Prev by Date: Re: Long-term Stability Distros (was Re: [tlug] Flash and Firexfox 2)
- Next by Date: Re: [tlug] Remote MySQL backup and download
- Previous by thread: [tlug] Remote MySQL backup and download
- Next by thread: Re: [tlug] Remote MySQL backup and download
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links