LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-18-2011, 11:42 AM   #1
Zafermalik
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Rep: Reputation: Disabled
data copy from mysql to samba server


Can anyone help me how i can copy data from mysql server to local system or samba server. I want to know the command.

Thanks,
Zafar
 
Old 07-18-2011, 12:02 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
what does that mean?? How would you copy data from a database to a file system? do you just want to look at mysqldump??
 
Old 07-18-2011, 12:03 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,412

Rep: Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111
Quote:
Originally Posted by Zafermalik View Post
Can anyone help me how i can copy data from mysql server to local system or samba server. I want to know the command.
There isn't one. MySQL is a database engine. Samba is a network sharing protocol.

You can export data from MySQL using the mysqldump command, and COPY it to a Samba share, for use with another database. You COULD edit your MySQL config and move the database file(s) to a Samba share (but that would NOT be a good thing...very poor performance).

Your question is vague. Provide more details, tell us what your goal is, and perhaps we can help.
 
Old 07-18-2011, 12:09 PM   #4
Zafermalik
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
what does that mean?? How would you copy data from a database to a file system? do you just want to look at mysqldump??
I have dumped data through mysql dump in linux mysql system and now want to copy/move this .sql backup file from mysql server to my local system. Please help me through which command i can do it.
 
Old 07-18-2011, 12:14 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
I would download winscp and connect to the server that way and pull the file out, not push it.
 
Old 07-18-2011, 05:06 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,412

Rep: Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111
Quote:
Originally Posted by Zafermalik View Post
I have dumped data through mysql dump in linux mysql system and now want to copy/move this .sql backup file from mysql server to my local system. Please help me through which command i can do it.
That's like asking "how high is up?". You don't say what you've got available on the Windows system, if you want to script this and/or automate it, or if you want to do it manually. Again, with no details, you can get no answers.

If it was me, I'd share a folder on the Windows box, and use the "net" command in Linux to attach to it (read the man page on the net command). A simple script to attach, copy the file, and detach would be trivial.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to copy data to remote server using ncftp command ckiran04 Linux - Server 5 07-17-2011 09:41 AM
copy support-files/mysql.server, how do I tommytomato Fedora 2 11-13-2009 11:58 PM
copy xfs data fromr one serveur to other server cormanstnl Linux - Server 2 02-05-2008 06:09 AM
copy data from Linux server to another PC B-Boy Linux - Newbie 1 01-21-2008 01:17 AM
How to copy mysql db's from hardisk to new server? nbier Linux - Software 4 09-01-2004 04:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration