We help IT Professionals succeed at work.

how to move data off of linux box

fessiambre
fessiambre asked
on
Medium Priority
220 Views
Last Modified: 2010-03-18
hi experts I have a linux box running redhat 9.0 with the IP of 192.168.0.and a new 2003 SBS server on 192.168.16.2 I am moving the users off of the linux box and putting them on the SBS server I need to move all the home folders to the SBS. The linux box is already a samba box and the computers on the network have access to it I cannot connect to it from the windows server it sees it but no connection and when I try to connect to the windows server from the linux box the authentication box pops up but will not connect to browse the shares on the server2003. What is the best and quickest way to get the files over to the windows box thanks.
Comment
Watch Question

Artysystem administrator
Top Expert 2007

Commented:
Run FTP server  on Linux and get all files via FTP from SBS.
SBS is not recommended for >70-90 users, so you should have no more than that number  of home dirs.

Author

Commented:
thanks I will try that tommorow. It is only 10 users but thanks for the heads up anyway
you may want toi run winscp or sftp, if ftp fails
you can mount the windows shared folder on the linux machine and then you can all the users home dir to that mount , below is the command to mount the windows share on the linux machine .

mount -t smbfs -o username=SBS_username,password=foobar //SBS_servername/SBS_share  /where/you/want/to/mount/it

Author

Commented:
so the command would be:
mount -t smbfs -o username=administrator,password=$aRt459$ //server/linuxshare /what exactly goes here the linux share point /home?
ok do one thing
first create a directory on your linux machine  "mkdir /home/winshare" and
then use this command below

mount -t smbfs -o username=administrator,password=pass //jiten/wwwroot /home/winshare

where username=windows username
           password=windows password
           //jiten/wwwroot  = //windows_server_name/windows_share_name
           /home/winshare = linux mount point

what happens here is that you will be mounting the windows server shared folder on to the linux machine "/home/winshare"
and now you can copy all the data from linux machine into the "/home/winshare" folder in this way you will be copying all the data to the windows server.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
thanks I will try this and get back to you.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.