Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Script or Software to Copy files from Remote Unix Server

Posted on 2006-07-24
4
Medium Priority
?
202 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

636 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