Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-12-2005, 10:36 AM   #1
LQ Newbie
Registered: Jul 2005
Posts: 19

Rep: Reputation: 0
Linux to windows file copy...

In a nutshell what I am trying to is compress a directory on a daily basis and then copy that file to a windows file server (off site).

Currently I have a Linux server running Samba that is sharing data. I have a great script someone helped me with to tar up the dir:

tar cjf `date +%Y%m%d`.tar.bz2 /usr/local/share

after that file is tarred I need to copy it over my network to an offsite server

scp requires telnet/ssh on my windows server right? I dont really want to put that on the windows server.

Should i just smbmount the windows share on the linux box and then copy the tar file to it? or is there a better way?
Old 07-12-2005, 10:41 AM   #2
Senior Member
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
The idea of mounting the windows share through Samba and copying the file is probably easiest to be honest. I have our proxies at work doing just that once a week. That way, any backup solution picks up your files without problems and you're not worrying about installing anything that could be used to compromise your Windows server (there's enough already!). You're not having to learn anything new such as if you were using scp either. Only other way I could think of would be FTP, which again, you wouldn't really want running on a Windows server. Go for mounting the share with Samba


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
SCP: Copy file from remote linux server onto a windows machine? Tony Empire Linux - Newbie 21 09-22-2015 10:18 PM
Smbclient copy from Linux to windows depam Linux - Software 4 01-02-2010 04:01 PM
SCP Copy from Linux to Windows? mhague Linux - Newbie 8 11-03-2004 01:56 PM
What is the code to copy a file from my windows partition to my linux partition? THEBIGFISH Linux - Newbie 3 03-15-2004 10:14 PM
can i copy windows contents into linux gurpreetpall Linux - General 5 03-20-2002 03:23 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:32 PM.

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