Solved

Script or Software to Copy files from Remote Unix Server

Posted on 2006-07-24
4
197 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 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

756 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