Solved

xcopy

Posted on 2006-11-29
11
492 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 50 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
 
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
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now