Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

xcopy

Posted on 2006-11-29
11
Medium Priority
?
501 Views
Last Modified: 2012-06-27
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??
0
Comment
Question by:mikeleahy
  • 6
  • 5
11 Comments
 
LVL 67

Accepted Solution

by:
sirbounty earned 200 total points
ID: 18036586
0
 

Author Comment

by:mikeleahy
ID: 18036736
excellent thanks
0
 

Author Comment

by:mikeleahy
ID: 18036896
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 67

Expert Comment

by:sirbounty
ID: 18036957
Not without looking at the batch...
0
 

Author Comment

by:mikeleahy
ID: 18036992
that is the bath line

robocopy c:\web c:\test /s /e
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18037025
That's all that's in the batch?
Try adding the /log:C:\LogFile.txt
option to the end.
0
 

Author Comment

by:mikeleahy
ID: 18037063
im just doing a test like
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18037078
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
 

Author Comment

by:mikeleahy
ID: 18037088
doesnt work
0
 

Author Comment

by:mikeleahy
ID: 18037206
if not using batch files, is there any other way i can scheduly a robocopy
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18037755
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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
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.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

926 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