LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-20-2006, 04:02 PM   #1
paraiso
Member
 
Registered: Apr 2005
Distribution: Fedora Core 4
Posts: 88

Rep: Reputation: 15
Question backup linux files to NT server


Hello,

I'd like to know if there is a way to back up folders located on a linux server to a NT server? what could be the possibilities available ? I want to tar and transfer the files to my NT server. Is there any free/opensource software that could enable me to do that ? I wish could found a solution which allows me from the NT server to do all those backup operations.

Thanks in advance for your advices and suggestions
 
Old 06-20-2006, 10:39 PM   #2
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Just use samba to mount any NT shares. So long as you have an account on the NT machine and can authenticate, you can move files back and forth transparently.
 
Old 06-21-2006, 12:48 AM   #3
rohitsarin18
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Rep: Reputation: 0
Hi,

You could use rsynch protocol to do it.
write a script which tars and backs up your files on to Linux itself. Include rsynch in the script itself to backup and send files to the NT server.

Let me know how you get on...

i can help u with the command for rsynch if this idea appeals to you.

Thanks,

Rohit
 
Old 06-21-2006, 03:07 AM   #4
paraiso
Member
 
Registered: Apr 2005
Distribution: Fedora Core 4
Posts: 88

Original Poster
Rep: Reputation: 15
Thanks for your replies, rohitsarin18 could you please tell me a bit more about the rsynch protocol? It means with the use of this protocol I won't need to use Samba ? Do you have examples of Bash scripts where rsynch is included?

Thanks
 
Old 06-23-2006, 02:11 AM   #5
rohitsarin18
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Rep: Reputation: 0
Rsynch

Hi,

Rsynch can be used both on windows and Unix. It is available for download online.

Following are the commands you can use

1. Sending files from one machine to another
a. Login to the server and go to the directory where the folder to be backed up is kept.
b Type the following command by filing in values for < >.
/usr/local/bin/rsync --rsh='ssh -p 22' -av <Enter Your Folder to be backed up> <usernameof the destination server>@<IP address of the destination server>:<Destination directory>

E.g. /usr/local/bin/rsync --rsh='ssh -p 2122' -av xyz admin@201.92.103.111:/opt1/abc

Above command will copy folder xyz from host machine to the location /opt1/abc on the target machine.

2. Receiving files using rsynch
a. Login to the destination machine and go to the directory where the folder to be backed up will be kept.
b Type the following command by filing in values for < >.
/usr/local/bin/rsync --rsh='ssh -p 2122' -av adm@201.92.103.111:/opt/xyz .

Above command will bring the folder xyz from the directory on the target machine to the local directory of the destination machine. Please do not ignore "." at the end.

Please make sure that you mention the complete path of rsynch as mentioned above. You can incorporate above command in your script.

Do let me know how you get along.

Thanks,

Rohit
 
  


Reply



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
Backup files to ftp server KristianThrane Linux - Software 1 05-13-2006 05:01 PM
can I backup linux files??<linuxnewb learnlinux Linux - Newbie 2 08-29-2004 09:51 PM
Uncompressing MS-Backup files in Linux Mathieu Linux - Enterprise 0 08-02-2004 03:57 PM
Using Linux Redhat 9 to Backup Windows Server Files linuxbuck Linux - Software 1 03-07-2004 08:48 PM
SCRIPT: backup defined files/dirs to FTP-server markus1982 Linux - Software 0 05-25-2003 06:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:21 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
Open Source Consulting | Domain Registration