Solved

Script or Software to Copy files from Remote Unix Server

Posted on 2006-07-24
4
196 Views
Last Modified: 2010-04-18
I have a Unix server (i don't administer) which has Samba shares that Windows Workstations access. I need to copy all the data from one share to my Windows 2003 Server every night. I would like to run a script or a software from my Windows 2003 server which will do this and give me a log.

Any ideas
0
Comment
Question by:inf2300
  • 3
4 Comments
 
LVL 26

Expert Comment

by:Pber
ID: 17167861
Use Robocopy with the /V option.  Robocopy comes with the Resource

http://www.microsoft.com/downloads/details.aspx?FamilyID=9D467A69-57FF-4AE7-96EE-B18C4790CFFD&displaylang=en

Do an robocopy /? for command line options.

You could also do an: Xcopy sourcefile destination>c:\mylog.log
this will redirect the screen output to a log file.
0
 

Author Comment

by:inf2300
ID: 17168111
can i use robocopy with a UNC path as a source?
0
 
LVL 26

Expert Comment

by:Pber
ID: 17168116
You bet.  
0
 
LVL 26

Accepted Solution

by:
Pber earned 500 total points
ID: 17168215
Robocopy \\samba_server\share \\windows_server\share /log:c:\yourlogfile.log

The /mir option is good for what you are trying to do...
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
Learn about cloud computing and its benefits for small business owners.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question