Solved

Script or Software to Copy files from Remote Unix Server

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

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…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

739 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