LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-22-2008, 02:31 PM   #1
maiwurd
LQ Newbie
 
Registered: Aug 2008
Posts: 7

Rep: Reputation: 0
Question Step by step help to get samba working over internet.


I have a W2k3 server with a backup file generated with Symantec Backup Exec. It saves the bkup to a file on the server. I have a Centos 5 server providing our web site and email delivery for the company. It is a small firm (<500).

The Centos 5 server has a TB of storage so it is ideal for the backup files; and it is in a colo hosted by a huge data center.
I set up webmin and attempted to get samba set up and push the backups to the Centos server without success. Which leads me here.

I am primarily a Windows Sys Admin who is rapidly converting to Linux with every opportunity! YES!!!!!

Any step by step assistance is appreciated.
 
Old 08-22-2008, 02:59 PM   #2
CrazyToon
LQ Newbie
 
Registered: Jun 2003
Posts: 21

Rep: Reputation: 0
Post

Here are step by step instructions. You should setup firewall and lock down permissions as well to make sure you do not give the whole world access to everything on your server

Install samba on CentOS
 
Old 08-23-2008, 02:52 AM   #3
maiwurd
LQ Newbie
 
Registered: Aug 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Samba over the internet???

My Linux box is at a remote location. I access via the internet adn using smtp/imap.
On the windows box how do I access the samba shares?
 
Old 08-25-2008, 10:42 AM   #4
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,402
Blog Entries: 1

Rep: Reputation: 64
Quote:
Originally Posted by maiwurd View Post
I have a W2k3 server with a backup file generated with Symantec Backup Exec. It saves the bkup to a file on the server.
Which server ? You mean, on the SAME server ?

Quote:
Originally Posted by maiwurd View Post
I set up webmin and attempted to get samba set up and push the backups to the Centos server without success
Why specifically samba to get this done ?
Samba is not the best/secure way to transfer large volume of data across the internet.

I suggest a simple copy over ssh or better than that, rsync.
Start with a simple copy over ssh. After you have setup both computers to exchange files over ssh, you will be ready to enhance your remote backup using rsync over ssh.


cheers,
 
Old 08-25-2008, 04:34 PM   #5
maiwurd
LQ Newbie
 
Registered: Aug 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Cool Objective is to save the bkkup file on Centos 5

The bkup is generated on the W2k3 server with Symantec Backup Exec. I want to save the resulting bkup file on the Centos 5 server for colocation DRP.
Using rsynch is something I have not done. Hey this what makes Linus so much fun for me . . . learning new and better ways to get things done.

thx
 
Old 08-25-2008, 05:25 PM   #6
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,402
Blog Entries: 1

Rep: Reputation: 64
ok, so I understood right

You can use ssh and rsync on windows platform. They are not an exclusive *nix tool anymore.

but, if you really want to use samba, you can use smbclient to copy files from your Windows server to CentOS. Something like that:

(on CentOS)
Code:
smbclient //ip_of_win_server/bkp_share password -U username -W your_workgroup <<EOC
lcd /path/on_centos/to_save/backups
cd /path/on/windows/share/to/specific/folder/where/the/backups/live
get name_of_backup_file.extension_of_backup_file
EOC
On windows/firewall you need to open the 137/139 ports, and create a specific share where the backups are.
There is no need to setup a SAMBA server on CentOS to do that.

This setup is weak from the security point of view. The transfer it is not encrypted, neither opening that specific windows ports for the world is a wise thing to do, but, well, it works for sure. I use this on my internal network to transfer files from a W2K machine to the tape backup server.
 
Old 08-26-2008, 11:58 AM   #7
maiwurd
LQ Newbie
 
Registered: Aug 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks, I am leaning toward rsync.

I used Filezilla to do a transfer and with many GBs it is slooooow.
Also I want to only transfer the incremental changes after the full bkup of course.
I may be incorrect but rsync will do this is the understanding I have.
Your thoughts are appreciated.

Last edited by maiwurd; 08-26-2008 at 12:18 PM.
 
Old 09-01-2008, 08:15 PM   #8
maiwurd
LQ Newbie
 
Registered: Aug 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Post Current status. . .

I am using rsync to transfer data to the Centos srvr. It has been running for the last few days. There is approx. 30 GBs to transfer initially, after which incremental transfers should be quick.
 
  


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
Step-by-step instructions to set up SAMBA normk39 Linux - Newbie 7 11-23-2007 12:59 PM
step by step instruction for configure Internet Connection rsk_home Linux - Newbie 3 11-06-2007 12:23 PM
I need SAMBA step by step guid sadeqn Linux - Networking 1 08-01-2005 11:25 AM
Step by step guide to setting up the internet using Ubuntu. chazyd Linux - Networking 2 04-24-2005 02:48 PM
Step by step VNC over internet please... rasgward Linux - Newbie 4 11-02-2004 12:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:44 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration