xcopy

hi i have a customer who backs up using tape every night. they also have a spare server and would like to copy the data to that server at night as an extra backup. xcopy takes too long and is still running in the morning. is there any other way to do this??
mikeleahyAsked:
Who is Participating?
 
mikeleahyAuthor Commented:
excellent thanks
0
 
mikeleahyAuthor Commented:
hi

i have created a batch file for testing

robocopy c:\web c:\test /s /e

if i run it from the command prompt it runs in 2-3 seconds, if i kick off the batch file it goes on for ages and i just stop it

any ideas why
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
sirbountyCommented:
Not without looking at the batch...
0
 
mikeleahyAuthor Commented:
that is the bath line

robocopy c:\web c:\test /s /e
0
 
sirbountyCommented:
That's all that's in the batch?
Try adding the /log:C:\LogFile.txt
option to the end.
0
 
mikeleahyAuthor Commented:
im just doing a test like
0
 
sirbountyCommented:
If that's all that's in the batch, then you 'may' see an error on the console - if not, then using the log option will put the data into a file for examination (in case you have @echo off in your batch).
0
 
mikeleahyAuthor Commented:
doesnt work
0
 
mikeleahyAuthor Commented:
if not using batch files, is there any other way i can scheduly a robocopy
0
 
sirbountyCommented:
From a command line...

schtasks /create /ru USERNAME /rp PASSWORD /sc Daily /st 01:00:00 /tn RC_Copy /tr "cmd /c robocopy c:\source c:\target /s" <Enter>
0
All Courses

From novice to tech pro — start learning today.